Bug 450805

Summary: On X11, right-clicking the titlebar of QT apps causes the window's colors to change to their 'inactive' state
Product: [Plasma] Breeze Reporter: Stefan Zurucker <s.zb>
Component: QStyleAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: minor CC: nate, noahadvs
Priority: NOR    
Version First Reported In: 5.24.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Active window of Dolphin before right-click
Active window of Dolphin with right-click on titlebar

Description Stefan Zurucker 2022-02-24 14:49:27 UTC
Created attachment 147097 [details]
Active window of Dolphin before right-click

STEPS TO REPRODUCE
1. Open an application, e.g. Dolphin
2. Right-click the titlebar
3. Observe titlebar + header area colors

OBSERVED RESULT
The header area and other window elements (e.g. highlight color) changes, as if the window became 'inactive'. The titlebar keeps its 'active' color values.

EXPECTED RESULT
Header areas (and other application elements) should not change their color to the 'inactive' variant when the titlebar is being right-clicked. This does not occur on Wayland and seems to be the intended (and more consistent) behavior.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.24
KDE Plasma Version: 5.24.1
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-37-generic (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
Graphics Processor: AMD RENOIR
Comment 1 Stefan Zurucker 2022-02-24 14:49:58 UTC
Created attachment 147098 [details]
Active window of Dolphin with right-click on titlebar
Comment 2 Nate Graham 2022-03-20 14:21:56 UTC
Unfortunately this is a thing from the X server that is not really fixable. The reason why it doesn't happen on Wayland is because it's possible to fix on Wayland. :)