Bug 482582 - Wayland GTK applications ignore theme settings
Summary: Wayland GTK applications ignore theme settings
Status: RESOLVED FIXED
Alias: None
Product: Breeze
Classification: Plasma
Component: gtk theme (show other bugs)
Version: 6.0.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-06 20:48 UTC by daf
Modified: 2024-03-07 23:23 UTC (History)
4 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 daf 2024-03-06 20:48:14 UTC
SUMMARY

Wayland native GTK applications ignore any GTK theme settings (colors, window theme, cursor). Changing to X11 make gtk applications respect theme again

STEPS TO REPRODUCE
1. Start a Wayland session
2. Open a GTK application


OBSERVED RESULT

GTK application uses default gnome theme and decorations

EXPECTED RESULT

GTK application respects theme set in plasma settings

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.8-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X570 AORUS ELITE
System Version: -CF

ADDITIONAL INFORMATION
Comment 1 Nicolas Fella 2024-03-07 10:56:55 UTC
Is kde-gtk-config and xdg-desktop-portal-gtk installed?
Comment 2 Nate Graham 2024-03-07 17:17:44 UTC
Which apps specifically?
Comment 3 daf 2024-03-07 22:57:23 UTC
@Nicolas Fella

yes on kde-gtk-config
no on xdg-desktop-portal-gtk

Wouldn't xdg-desktop-portal-gtk only be needed in non plasma desktops?

@Nate Graham

Confirmed on Mozilla Firefox 123.0.1 and Input Remapper 2.0.1
Comment 4 daf 2024-03-07 23:23:38 UTC
installing xdg-desktop-portal-gtk seems to have fixed the theme miss-match, apologies for the false report