Bug 432135

Summary: Window decorations faster unfocused when unfocused a window
Product: [Plasma] Breeze Reporter: Mojahed Yavazi <mojahedai7>
Component: window decorationAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bharadwaj.raju777, kwin-bugs-null, nate, nortexoid
Priority: HI    
Version: 5.20.90   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: window unfocuse

Description Mojahed Yavazi 2021-01-26 06:11:03 UTC
Created attachment 135197 [details]
window unfocuse

SUMMARY
When unfocused a window, Window decoarations unfocused faster than menubar.

STEPS TO REPRODUCE
1. open a window
2. unfocused the window

OBSERVED RESULT
Window decorations unfocused faster than menubar.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.21.80
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.10-1
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6500 CPU @ 3.20GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530
Comment 1 Nate Graham 2021-01-26 18:28:17 UTC
Yeah this is a known issue. :(
Comment 2 Michael D 2021-02-26 20:43:03 UTC
Having "Apply effects to inactive windows" unchecked for the color scheme Breeze Light seems to do nothing. Why? Being able to disable color effects to inactive windows would at least provide a workaround for this bug, plus some people (such as myself) prefer no color effects to be applied to inactive windows.
Comment 3 Nate Graham 2021-02-27 01:57:37 UTC
That's because it's not implemented as an inactive window effect.

If you prefer no color differences between focus active and inactive windows, you can change the color scheme's active and inactive header colors to be the exact same. Same as setting the active and inactive titlebar colors to be the same with a color scheme that doesn't have Header colors, like old Breeze.

*** This bug has been marked as a duplicate of bug 433569 ***
Comment 4 Michael D 2021-02-27 14:28:33 UTC
Ah, great. Thanks!
Comment 5 Michael D 2021-02-27 20:20:37 UTC
When I had a look just now for the active/inactive header color settings I couldn't find them. Under "color set" -> "header" there are the normal and alternate background colors but they don't affect the active/inactive change under discussion. What am I missing?
Comment 6 Nate Graham 2021-03-01 23:20:39 UTC
Hmm, they should. But that would be a separate issue. :)
Comment 7 Michael D 2021-03-02 08:02:36 UTC
It sort of works. I saved a copy of Breeze Light and changed the normal/alternate header colors which at first worked. Then with some fiddling of colors, unfocused windows started showing the original Breeze Light alternate header color that nowhere to be found in the GUI and was not what I had set. (I also changed window alternate.) Then it stopped showing the titlebar color I had set and was instead using the window background color. I suppose I should file a separate report about this.

Question: My current color scheme has a different color set for normal/alternate header, but it seems not to do anything. Is there something special about Breeze Light that's not exposed in the GUI?
Comment 8 Michael D 2021-03-02 08:06:29 UTC
I suppose the sections [Colors:Header] and [Colors:Header][Inactive] are new to Breeze Light. Why aren't those added to older schemes when you change the header settings in the GUI?
Comment 9 Michael D 2021-03-02 09:35:21 UTC
Sorry, nevermind! They are added but they don't have any effect.
Comment 10 Nate Graham 2021-03-02 22:09:14 UTC
In Plasma 5.21, when a color scheme has Header colors in it, its Active/Inactive Titlebar Background colors are ignored, and the Header colors are used to create a unified look for the window's entire header area. So for your older custom color scheme, you would adjust the Active/Inactive Titlebar background colors, not the header colors.