Zren / plasma-applet-win7showdesktop

https://store.kde.org/p/2151247/
25 stars 7 forks source link

Latte dock with big indicator paddings values bug #8

Open keybreak opened 4 years ago

keybreak commented 4 years ago

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

Zren commented 4 years ago

You'll need to edit these constants:

https://github.com/Zren/plasma-applet-win7showdesktop/blob/master/package/contents/ui/main.qml#L157

I've hardcoded it for the default panel, and it works. I'm not sure there's an easy way to determine those values for latte. I'd probably add a couple of spinboxes in the config and let the user adjust them. Edit:

~/.local/share/plasma/plasmoids/org.kde.plasma.win7showdesktop/contents/ui/main.qml

then restart the latte-dock process to test.

keybreak commented 4 years ago

I'd probably add a couple of spinboxes in the config and let the user adjust them.

Makes sense, thx for fix though :)