Bug 437082 - gtk3 csd apps do not respect third-party window decoration theme on Wayland
Summary: gtk3 csd apps do not respect third-party window decoration theme on Wayland
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_style (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL: https://gitlab.gnome.org/GNOME/gtk/-/...
Keywords: wayland-only
: 438898 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-05-14 12:07 UTC by Patrick Silva
Modified: 2023-11-17 16:44 UTC (History)
7 users (show)

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 Patrick Silva 2021-05-14 12:07:27 UTC
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
Comment 1 Alois Wohlschlager 2021-05-15 09:02:19 UTC
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
Comment 2 Mikhail Zolotukhin 2021-05-19 05:21:36 UTC
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
Comment 3 Nate Graham 2021-05-19 15:41:02 UTC
:(
Comment 4 trmdi 2021-06-20 13:23:49 UTC
> 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...
Comment 5 Nate Graham 2021-07-28 20:19:52 UTC
*** Bug 438898 has been marked as a duplicate of this bug. ***