| Summary: | Standalone applet should have a tooltip | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Andrey <butirsky> |
| Component: | Keyboard Layout widget | Assignee: | Andrey <butirsky> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | butirsky, nate, noahadvs, notmart, null, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/-/commit/c69679343b9dd60745432dff23c8af693e21f847 | Version Fixed/Implemented In: | 6.0 |
| Sentry Crash Report: | |||
|
Description
Andrey
2020-11-29 23:07:39 UTC
This is an issue with the code in the applet itself, not PlasmaComponents. No longer relevant with the latest version of the code, which seems to use PlasmaCore.ToolTipArea correctly. Hmm, I don't see it was changed: https://invent.kde.org/plasma/plasma-desktop/-/blob/master/applets/keyboardlayout/contents/ui/main.qml#L16 Oh I see, it works properly in the System Tray because the System Tray itself adds a tooltip automatically. But the standalone applet still suffers from this problem. You'll need to manually add a PlasmaCore.ToolTipArea. Thanks for the Tip :) One might even say that it was a tool tip (I'll be here all night, folks) Git commit c69679343b9dd60745432dff23c8af693e21f847 by Nate Graham. Committed on 20/09/2023 at 22:46. Pushed by ngraham into branch 'master'. applets/keyboardlayout: give standalone version a tooltip When in the System Tray, this applet gets a tooltip drawn for it automatically by the System Tray contaninment. But when it's a standalone widget, it needs to do this itself, since it doesn't use the default CompactRepresentation which provides one automatically. FIXED-IN: 6.0 M +7 -0 applets/keyboardlayout/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/c69679343b9dd60745432dff23c8af693e21f847 |