Bug 438898 - Window decoration is not applied to gtk apps on wayland
Summary: Window decoration is not applied to gtk apps on wayland
Status: RESOLVED DUPLICATE of bug 437082
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_style (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2021-06-19 04:25 UTC by trmdi
Modified: 2021-07-28 20:19 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description trmdi 2021-06-19 04:25:47 UTC
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.
Comment 1 trmdi 2021-06-19 15:46:05 UTC
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.
Comment 2 trmdi 2021-06-19 15:53:31 UTC
Maybe relates to https://invent.kde.org/plasma/kde-gtk-config/-/merge_requests/17
Comment 3 trmdi 2021-06-19 18:08:19 UTC
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
Comment 4 trmdi 2021-06-20 02:49:30 UTC
(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...
Comment 5 Patrick Silva 2021-06-20 12:57:27 UTC
previously reported as bug 437082
Comment 6 Nate Graham 2021-07-28 20:19:52 UTC

*** This bug has been marked as a duplicate of bug 437082 ***