Bug 456645

Summary: They lost their tooltips!
Product: [Plasma] plasmashell Reporter: Nate Graham <nate>
Component: Show Desktop/Minimize AllAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kde, me, notmart
Priority: NOR Keywords: regression
Version: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nate Graham 2022-07-12 17:03:20 UTC
This affects the Show Desktop widget, which sets that here: https://invent.kde.org/plasma/plasma-desktop/-/blob/master/applets/showdesktop/package/contents/ui/main.qml#L27

As a result, it shows no tooltip on hover.

Changing it to Plasmoid.preferredRepresentation: Plasmoid.compactRepresentation fixes this, but that's not what we want for the applet since that makes it show a popup when clicked, which is not what we want.
Comment 1 ratijas 2022-07-12 18:03:14 UTC
Yep. I knew I broke it with that change. What I didn't knew (or rather haven't investigated yet) is that it is related to Plasmoid.preferredRepresentation value.
Comment 2 ratijas 2022-08-18 18:12:47 UTC
I believe that this can be closed as INTENTIONAL, because we obviously don't want to show tooltips for full representations by default.
Comment 3 Bug Janitor Service 2022-08-18 18:13:26 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1103
Comment 4 Nate Graham 2022-08-18 20:30:59 UTC
Ok yeah. Moving it around.
Comment 5 Nate Graham 2022-08-18 20:33:18 UTC
Git commit ff9c8fe65dd1ca674ba3ddb79996165038d8a44f by Nate Graham, on behalf of ivan tkachenko.
Committed on 18/08/2022 at 20:33.
Pushed by ngraham into branch 'master'.

applets/{showdesktop,minimizeall}: Restore plasmoid tooltip

"Inspired by" the Icon applet implementation.

M  +8    -0    applets/showdesktop/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/commit/ff9c8fe65dd1ca674ba3ddb79996165038d8a44f