https://bugs.kde.org/show_bug.cgi?id=421745

--- Comment #49 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit d49e02cf4bb1052e8b3c593c389d0a563abe00f8 by Fushan Wen.
Committed on 10/04/2023 at 00:51.
Pushed by fusionfuture into branch 'master'.

kded: add explicit waiting time before setting colors

modulesChanged signal will take some time to reach a GTK3 app, so wait a
moment before "colorreload-gtk-module" is finally loaded into GTK3 apps.
This makes sure color schemes in GTK3 apps are updated as expected.

This may not be a problem after
https://gitlab.gnome.org/GNOME/gtk/-/commit/a40126e1f91a0cc8c45203d9ff229f65952eb541
is merged, but if the module list does not contain the expected module,
users will still notice color schemes are not changed in GTK3 apps for
the first time users change the system color scheme.


(cherry picked from commit 90b423429dde264117c729d5455e581ebb09a109)

M  +16   -16   kded/config_editor/custom_css.cpp
M  +8    -0    kded/config_editor/custom_css.h
M  +7    -2    kded/gtkconfig.cpp

https://invent.kde.org/plasma/kde-gtk-config/commit/d49e02cf4bb1052e8b3c593c389d0a563abe00f8

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to