Bug 470650 - With very wide System Tray popup on horizontal panel, tooltip can overlap the applet icons
Summary: With very wide System Tray popup on horizontal panel, tooltip can overlap the...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (show other bugs)
Version: 5.27.5
Platform: Neon Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-05 02:40 UTC by esperluette08
Modified: 2024-08-25 22:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.1.5
Sentry Crash Report:


Attachments
Tooltip on the left of the screen, hiding the hovered applet icon (360.56 KB, image/png)
2023-06-05 02:40 UTC, esperluette08
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esperluette08 2023-06-05 02:40:26 UTC
Created attachment 159467 [details]
Tooltip on the left of the screen, hiding the hovered applet icon

SUMMARY
When the applets menu is wider enough, the applets icons in the menu are hidden below the tooltip (see screenshot). 


STEPS TO REPRODUCE
1. Open the applets menu
2. Resize horizontally until the left margin is less than ~200px
3. Hover applet icons on the left (first on the grid)

OBSERVED RESULT
The tooltip appears above the applet icon, hiding the icon.

EXPECTED RESULT
With enough space on right of the hovered icon, the tooltip should be placed on right of the icon, instead of exclusively on the left, as currently displayed.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon Live (20230504-0714), Manjaro 23.0.0
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Graphics: X11 on Neon, Wayland on Manjaro
Comment 1 Bug Janitor Service 2024-08-23 21:40:09 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4641
Comment 2 Nate Graham 2024-08-25 22:01:40 UTC
Git commit 7f832e82eb02c5a5a28e728659cca30639bf5106 by Nate Graham.
Committed on 25/08/2024 at 21:39.
Pushed by ngraham into branch 'master'.

applets/systemtray: stop overriding delegates' tooltip locations

In Plasma 5, this was done to work around some positioning bugs in
PlasmaCore.ToolTipArea. However these have since been fixed, and
overriding the position now causes new bugs, such as the tooltip
appearing under the mouse pointer and appearing and disappearing in a
loop, which is quite hilarious.

Removing this code causes the tooltip to appear below the delegate,
which is fine.
Related: bug 490555
FIXED-IN: 6.1.5

M  +0    -12   applets/systemtray/package/contents/ui/items/AbstractItem.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/7f832e82eb02c5a5a28e728659cca30639bf5106
Comment 3 Nate Graham 2024-08-25 22:29:00 UTC
Git commit 8fd6b5ae1e00d796b9970a07c097c6a1223df231 by Nate Graham.
Committed on 25/08/2024 at 22:11.
Pushed by ngraham into branch 'Plasma/6.1'.

applets/systemtray: stop overriding delegates' tooltip locations

In Plasma 5, this was done to work around some positioning bugs in
PlasmaCore.ToolTipArea. However these have since been fixed, and
overriding the position now causes new bugs, such as the tooltip
appearing under the mouse pointer and appearing and disappearing in a
loop, which is quite hilarious.

Removing this code causes the tooltip to appear below the delegate,
which is fine.
Related: bug 490555
FIXED-IN: 6.1.5
(cherry picked from commit 7f832e82eb02c5a5a28e728659cca30639bf5106)

M  +0    -12   applets/systemtray/package/contents/ui/items/AbstractItem.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/8fd6b5ae1e00d796b9970a07c097c6a1223df231