Bug 452213

Summary: On Wayland, ToolButton border remains visible when a spawned menu is closed by focusing a different window
Product: [Plasma] Breeze Reporter: Oliver Beard <olib141>
Component: QStyleAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: bugseforuns, nate, noahadvs, uhhadd
Priority: NOR    
Version First Reported In: 5.24.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: A video showing the bug.

Description Oliver Beard 2022-04-03 06:48:45 UTC
Created attachment 147922 [details]
A video showing the bug.

SUMMARY
When closing a menu opened by pressing a menu button, by clicking off the menu (and not by clicking the button itself), the button does not lose its hover/click border. The button also shows a tooltip after closing, only in System Settings and Info Center but not Dolphin. **This bug is only seen when using Wayland, and not X11.*

I am not sure where this bug should be filed so it is tentatively under Breeze/general, please move if necessary.

STEPS TO REPRODUCE
1. Click the button.
2. Close the opened menu by a means other than clicking the button.

OBSERVED RESULT
The button has a hover/click border.

EXPECTED RESULT
The button has no hover/click border.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Comment 1 Nate Graham 2022-04-04 21:24:05 UTC
This is indeed a Breeze QStyle bug. I vaguely remember the Kvantum maintainer encountering it in his QStyle and working around it at some point.
Comment 2 Patrick Silva 2022-10-29 19:17:38 UTC
Cannot reproduce on neon unstable.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.6
Graphics Platform: Wayland