Bug 452212

Summary: When using a color scheme with Header colors like Breeze Light, focusing a window by clicking on its KHamburgerMenu ToolButton fails to repaint the newly-focused window's toolbar background with the correct active color until menu is closed
Product: [Frameworks and Libraries] frameworks-kconfigwidgets Reporter: Oliver Beard <olib141>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: dolphin-bugs-null, felixernst, nate
Priority: NOR    
Version First Reported In: 5.92.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: A video showing the bug.

Description Oliver Beard 2022-04-03 06:34:57 UTC
Created attachment 147921 [details]
A video showing the bug.

SUMMARY
Pressing the menu button in Dolphin does not repaint the window to show focus in Wayland. For example, if Dolphin is open, unfocused, and the menu button is clicked, the titlebar darkens to show the window is focused. The application area is not updated to show this.

The video demonstrates this issue. Also note how the menu button itself stays selected when the menu is not closed by pressing the button again. This can also be observed in System Settings and Info Center, and is also only seen on Wayland.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
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:28:15 UTC
Can reproduce.
Comment 2 Oliver Beard 2026-02-16 15:57:30 UTC
The nature of the bug has now changed: the titlebar is correctly repainted after the menu is closed, but whilst the menu is open, the header colours show as unfocused.