STEPS TO REPRODUCE 1. start Wayland session 2. apply a third-party window decoration theme in Window Decorations KCM (I applied Breezemite installed from KDE Store) 3. open a gtk3 csd app (Gnome Disks, for example) OBSERVED RESULT gtk3 csd app used in the step 3 does not respect the window decoration theme applied in the step 2. EXPECTED RESULT gtk3 csd apps should respect third-party window decoration theme on Wayland, like on X11. SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.22.80 KDE Frameworks Version: 5.83.0 Qt Version: 5.15.2 Graphics Platform: Wayland
This issue is due to GTK ignoring the gtk-modules directive in settings.ini when running on Wayland. Unfortunately, bugs like [1] need to be sorted out before. [1] https://bugs.kde.org/show_bug.cgi?id=428322
If GTK ignores modules string there is nothing we can do about it. GTK devs do not want us to modify the css theme on the go, so I am pessimistic about our support of theme consistency on wayland and flatpak. See also: https://gitlab.gnome.org/GNOME/gtk/-/issues/3409
:(
> If GTK ignores modules string there is nothing we can do about it. It only ignores setting.ini. We can still set it in other places e.g using systemd environment.d generator to set GTK3_MODULES...
*** Bug 438898 has been marked as a duplicate of this bug. ***