Bug 405771 - Color from Windows is not updated correctly
Summary: Color from Windows is not updated correctly
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-23 06:04 UTC by trmdi
Modified: 2019-03-23 10:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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