Bug 401431

Summary: Color of applet-window-buttons is not painted correctly
Product: [Unmaintained] lattedock Reporter: trmdi
Component: containmentAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Video

Comment 1 Michail Vourlakos 2018-12-09 00:00:20 UTC
is this still valid in your system?
Comment 2 trmdi 2018-12-09 04:25:59 UTC
Yes, it's still like that. Tried with your layout and the default Breeze look&feel.
Comment 3 trmdi 2018-12-09 04:28:58 UTC
When the bug happens, if I change the focus to an unmaximized window, the color will be right. If I maximize then unmaximize that window, the color will be wrong.
Comment 4 trmdi 2018-12-09 04:32:15 UTC
When I change the focus to an unmaximized window, the color will be right like I said above, but if I hover the mouse on that button, the color becomes wrong again.
Comment 5 trmdi 2018-12-09 04:39:28 UTC
Created attachment 116796 [details]
Video
Comment 6 Michail Vourlakos 2018-12-09 17:00:51 UTC
Git commit 74238dba6ffb895968bbc94dcb168d9eb69857da by Michail Vourlakos.
Committed on 09/12/2018 at 16:56.
Pushed by mvourlakos into branch 'master'.

improve color schemes handling for default values

--when color schemes from themes are used there are
cases that the WM records do not correspond to the
colors that the plasma theme will use. In such cases
the color scheme file that is passed to applets can
create colors inconsistencies. For this reason we
update the default color scheme in order for its
WM values to be consistent with the plasma theme.
For the record plasma theme is using Colors:View
group for its main colors.

M  +90   -47   app/plasmathemeextended.cpp
M  +6    -3    app/plasmathemeextended.h

https://commits.kde.org/latte-dock/74238dba6ffb895968bbc94dcb168d9eb69857da