Giter Club home page Giter Club logo

plasma-applet-win7showdesktop's People

Contributors

vistaus avatar zren avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

plasma-applet-win7showdesktop's Issues

Issues when toggling MinimizeAll twice to unminimize all

2020-11-10___11-46-58

Hmm, for me the "minimize all" option will switch to Desktop 2 from Desktop 5 as it probably contained the last window that was unminimized. It could also be switching to the first window raised too (it could ignore the other windows being raised within 100ms).

This bug is probably also in effect with the default widget as the code is the same:

It's possible that we could sort the minimized windows by desktop, leaving the windows on the current desktop for last.

Latte dock with big indicator paddings values bug

Under some high paddings value (for example i use 42%) there's visual bug.

image

When you press show desktop - it keeps hover color forever, with lower padding values it doesn't happen.

Tested on Manjaro KDE with Latte Dock v0.9.4 and Win7 Show desktop v9

not working under FreeBsd

Hello,

I'm testing you plasmoid under FreeBsd, and getting next error (v2 and v7)


[vic@dell ~/.local/share/plasma/plasmoids]$ plasmoidviewer --applet org.kde.plasma.win7showdesktop
QML debugging is enabled. Only use this in a safe environment.
libGL error: failed to open drm device: Відмова у доступі
libGL error: failed to load driver: i965
qt.svg: <input>:342: Could not resolve property: linearGradient5167
qml: View QML loaded
org.kde.plasmaquick: Applet preload policy set to 1
file:///usr/local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:61:5: Unable to assign [undefined] to int
file:///usr/local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:52:5: Unable to assign [undefined] to int
Toolbox not loading, toolbox package is either invalid or disabled.
qml: New Containment: ContainmentInterface(0x80654d500)
file:///home/vic/.local/share/plasma/plasmoids/org.kde.plasma.win7showdesktop/contents/ui/main.qml:121: TypeError: Property 'showDesktop' of object ShowDesktop(0x80f6644e0) is not a function

Can you advice what could be wrong?

Get this applet into stock Plasma

Getting this applet into stock Plasma would imho have four benefits:

  1. It would make life easier for current users of this applet upon reinstalls.
  2. It would increase the discoverability of this applet through the Plasma alternatives offered upon right-clicking the original applet.
  3. For VDG it would solve the issue of the "show desktop icon" living in the systray despite not really being an indicator.
  4. For marketing it might be useful as this is basically the only missing feature preventing the Plasma panel from being feature-complete compared to the Win7 Superbar.

Restore on second click

Just like in Windows 7, have an option that allows for all windows to be minimized and then restored in the same location when clicked a second time.

"Move cursor" icon stays visible

I use latte dock, but there is an icon that won't go away as shown in the screenshot.
The "Win7 Show Desktop" is the most right applet beside the clock.

grafik

Hover feature

Love the applet, it's almost perfect. The only other thing I'd love is settings to configure on hover. I want to replicate the Windows 7 show desktop button where I can over to peek and click to show/minimize so adding another section with hover allowing people to change it just like with click would be amazing. Also allow to configure the time in milliseconds until the hover action is taken.

Make the button more noticeable

2019-10-01___08-57-28

  • Allow user to customize colors, and use buttonBackgroundColor.
  • Only draw left "border" in a horizontal panel, and top "border" in a vertical panel. We don't need the other 4 borders. This should look better for most use cases.

First mouse scroll input does nothing

Configured with mouse wheel command, mouse wheel, run commands, scroll up:
qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut "Switch One Desktop Up"

and scroll down:
qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut "Switch One Desktop Down"

From terminal the command works and also from the widget but the first input get eaten and does nothing.
Example of a sequence of inputs while the mouse is hovering over the widget:

  • first scroll up: nothing happens (not correct)
  • second scroll up: desktop goes up by 1 (correct)
  • third scroll up: desktop goes up by 1 again (correct)
  • first scroll down: nothing happens (not correct)
  • second scroll down: desktop goes down by 1 (correct)
  • third scroll down: desktop goes down by 1 again (correct)

Scrolling the mouse wheel on other widgets works from the first input (ex: brightness on battery and volume on volume)

Does not minimize windows upon click

When switching the settings to Minimize All Windows upon click, it does not work. Not even when enabling the Minimize All Kwin script. A workaround is to instead let the Win7 button run the custom command qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "MinimizeAll" upon click (You need to have the Kwin script enabled for this)

Spanish Translation

#: ../contents/ui/config/ConfigGeneral.qml
msgid "Peek"
msgstr "Previsualizar"

#: ../contents/ui/config/ConfigGeneral.qml
msgid "Show desktop on hover:"
msgstr "Mostrar escritorio al pasar el mouse:"

#: ../contents/ui/config/ConfigGeneral.qml
msgid "Enable"
msgstr "Activar"

#: ../contents/ui/config/ConfigGeneral.qml
msgid "Peek threshold:"
msgstr "Límite de visualización"

#: ../contents/ui/config/ConfigGeneral.qml
msgid "ms"
msgstr "ms"

#: ../contents/ui/lib/AppletVersion.qml
msgid "<b>Version:</b> %1"
msgstr "<b>Versión:</b> %1"

#: ../contents/ui/main.qml
msgid "Toggle Lock Widgets (Plasma 5.18)"
msgstr "Alternar widgets bloqueados (Plasma 5.18)"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.