Bug 488294 - Panel Status and Notification icons are still highlighted after the cursor moves out of its boundary
Summary: Panel Status and Notification icons are still highlighted after the cursor mo...
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (show other bugs)
Version: 6.0.5
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-10 10:14 UTC by FishBoneEK
Modified: 2024-06-30 16:04 UTC (History)
3 users (show)

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


Attachments
Screenshot (19.05 KB, image/png)
2024-06-10 10:14 UTC, FishBoneEK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FishBoneEK 2024-06-10 10:14:33 UTC
Created attachment 170318 [details]
Screenshot

SUMMARY
Please see the attached screenshot first. Ignore the dark icons: they are incorrectly used icons and unrelated to this issue.
Notice the icon/button Display Configuration is highlighted, but my cursor isn't hovering over it.

STEPS TO REPRODUCE
1. Open Status and Notification
2. Move your cursor over an icon/button
3. Then move your cursor out of it

OBSERVED RESULT
The icon/button is highlighted

EXPECTED RESULT
It shouldn't be highlighted after the cursor moves away from it

ADDITIONAL INFORMATION
Using Xorg
Comment 1 Nate Graham 2024-06-10 17:05:20 UTC
Can reproduce on Wayland too. The highlight effect disappears when the cursor moves out of the popup, but not when it moves off of the specific item.
Comment 2 Nate Graham 2024-06-30 15:45:49 UTC
Took a look into the code, and this is intentional. The highlight effect isn't just for hover; it also communicate which item has keyboard focus. If we hide it or removed it while you're not hovering over any items, then keyboard navigability would be impaired.

The fact that it disappears when moving out of the popup is non-standard though. I'll remove that.
Comment 3 Bug Janitor Service 2024-06-30 15:47:13 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4489
Comment 4 Nate Graham 2024-06-30 16:04:17 UTC
Git commit c68c9de30289402e27862bd93381ca9f648c7ae3 by Nate Graham.
Committed on 30/06/2024 at 15:45.
Pushed by ngraham into branch 'master'.

applets/systemtray: don't remove item highlight when unhovering grid

We don't do this elsewhere for lists and grids that have a menu-style
persistent highlight, like Kickoff.

M  +0    -3    applets/systemtray/package/contents/ui/HiddenItemsView.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/c68c9de30289402e27862bd93381ca9f648c7ae3