When I use Material decoration on X, Firefox (without Kwin titlebar) uses it but it does not work on wayland, it uses the Breeze style.
I've just found that somehow window_decorations.css is not used. When I append that file into ~/.config/gtk-3.0/gtk.css it works again.
Maybe relates to https://invent.kde.org/plasma/kde-gtk-config/-/merge_requests/17
Or the gdk wayland backend does not read the module list from settings.ini? https://github.com/swaywm/sway/wiki/GTK-3-settings-on-Wayland
(In reply to trmdi from comment #3) > Or the gdk wayland backend does not read the module list from settings.ini? > https://github.com/swaywm/sway/wiki/GTK-3-settings-on-Wayland I can confirm this. In wayland gtk modules are not loaded. If I set the GTK_MODULES environment variable, they will be loaded. But I don't know how to fix this bug in a right way...
previously reported as bug 437082
*** This bug has been marked as a duplicate of bug 437082 ***