Bug 482582

Summary: Wayland GTK applications ignore theme settings
Product: [Plasma] Breeze Reporter: daf <daf.public>
Component: gtk themeAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: agrinev98, nate, nicolas.fella, uhhadd
Priority: NOR Keywords: qt6
Version First Reported In: 6.0.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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