Bug 405771

Summary: Color from Windows is not updated correctly
Product: [Unmaintained] lattedock Reporter: trmdi
Component: applicationAssignee: 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:

Description trmdi 2019-03-23 06:04:11 UTC
STEPS TO REPRODUCE
1. Set Color From Window = Touching, and make a window touch a Latte view.
2. Change the window's titlebar color to colorscheme (C1) -> Latte does not change the color to (C1)
3. Change the window's titlebar color to colorscheme (C2) -> Latte changes the color to (C1) set in the previous step.
4. Repeat the step 3 with colorscheme (C3) -> now it uses (C2)
Comment 1 Michail Vourlakos 2019-03-23 08:34:43 UTC
If you click on the desktop and then afterwards the window that changed its colorscheme is it showing the color scheme properly?
Comment 3 trmdi 2019-03-23 10:01:04 UTC
(In reply to Michail Vourlakos from comment #1)
> If you click on the desktop and then afterwards the window that changed its
> colorscheme is it showing the color scheme properly?

This is still valid (it means the bug is still existing)
Comment 4 Michail Vourlakos 2019-03-23 10:03:46 UTC
it works perfectly in my system now...

1. you need to be sure that you updated the kwin script properly.. you can check out at ~/.local/share/kwin/scripts/lattewindowcolors/contents/code/main.js

that the referenced commit is present

2. you need to restart you kwin manager in order to load the new script
Comment 5 trmdi 2019-03-23 10:15:27 UTC
Ahh, that's my bad. It works perfectly now. Thank you! :D