Bug 490555 - With System Tray popup on or near left screen edge, hidden item tooltip will flicker when hovered
Summary: With System Tray popup on or near left screen edge, hidden item tooltip will ...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (other bugs)
Version First Reported In: 6.1.3
Platform: Manjaro Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 465754 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-07-20 12:22 UTC by Matt Hooper
Modified: 2024-08-25 22:28 UTC (History)
3 users (show)

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


Attachments
Image showing the nessecary setup for looping condition (130.48 KB, image/png)
2024-07-20 12:22 UTC, Matt Hooper
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Hooper 2024-07-20 12:22:57 UTC
Created attachment 171821 [details]
Image showing the nessecary setup for looping condition

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
Hover over menu will loop on and off for hidden tray icons when taskbar alignment is 'left' and width is 'fit content'. Image showing this setup is attached

STEPS TO REPRODUCE
1. For the taskbar Panel Settings, set alignment to 'left' and width to 'fit content' such that the system tray is close-ish to the left of the screen.
2. In the system tray, expand the hidden icons and hover the mouse cursor over a leftmost icon.
3. Once a hover over menu appears, move the mouse to be over both the icon and the menu. In some cases the hover over menu will cover the entire icon.

OBSERVED RESULT
The hover over menu will flash on and off repeatedly.

EXPECTED RESULT
The hover over menu will remain constantly on.

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: 6.6.40 Manjaro
(available in About System)
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Platform: Wayland

ADDITIONAL INFORMATION
N/A
Comment 1 Nate Graham 2024-07-27 03:35:38 UTC
I can reproduce this! Very silly.
Comment 2 Nate Graham 2024-08-23 02:42:32 UTC
*** Bug 465754 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2024-08-23 21:09:02 UTC
I figured out what causes this and will fix it soon.
Comment 4 Bug Janitor Service 2024-08-23 21:40:10 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4641
Comment 5 Nate Graham 2024-08-25 22:01:48 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 470650
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 6 Nate Graham 2024-08-25 22:28:52 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 470650
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