Bug 456645 - They lost their tooltips!
Summary: They lost their tooltips!
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Show Desktop/Minimize All (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-07-12 17:03 UTC by Nate Graham
Modified: 2022-08-18 20:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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