Zren / plasma-applet-win7showdesktop

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

Port to Plasma 6 #24

Closed David-JonesDVN closed 3 months ago

David-JonesDVN commented 5 months ago

Ported the plasmoid to Plasma 6 by basing it on the latest version of org.kde.plasma.showdesktop. Unfortunately this does mean the vast majority of main.qml has been changed. If this is unwanted, I can try to fix the plasmoid through a general modification of the original main.qml, though my initial attempt at doing so was not so successful. I have decided to not replace the .desktop file with a .json so as to not break the build script and version checking logic. However I did add the needed fields for Plasma 6 to the .desktop file, which will generate a valid .json file through the build script.

Known issues: The configuration screen is a bit weird. Some things it will save just by changing the values while some others require the user to apply the changes. I think it'd be better if all changes required the user to manually apply them. If this is not intended, I'll try to provide a fix. Rarely, bringing back the minimized windows will result in one of them being completely invisible. I don't know why this happens, as it is not consistent. The plasmoid does not stick to the far edges of the panel, despite CanFillArea being set in the plasmoid's ConstraintHints. AppletVersion.qml is broken.

leoneivaw commented 4 months ago

wow thanks

Please merge

Zren commented 3 months ago

Just confirming that this is what your PR is suppose to look like?

%Y-%M-%D___%H-%m-%S

David-JonesDVN commented 3 months ago

Yes. I've not been able to make it stick to the far edge of the panel. It still responds to mouse hover/clicks as if it is, though.