SUMMARY When I install a GTK3 application via Flatpak (for example, Lutris or GNOME Boxes), the application ignores the GTK3 theme configured in KDE System Settings (Breeze by default) and instead uses Adwaita. This issue only happens under KDE Plasma. The same Flatpak apps respect the configured GTK3 theme when running under other desktop environments such as GNOME and Xfce. STEPS TO REPRODUCE 1. Open KDE Plasma desktop (default settings, Breeze theme selected). 2. Install a GTK3 app via Flatpak, e.g.: flatpak install flathub net.lutris.Lutris 3. Launch the application. 4. Observe the application’s theme. OBSERVED RESULT The application uses Adwaita theme instead of Breeze. EXPECTED RESULT The application should respect the GTK3 theme configured in KDE System Settings (Breeze). SOFTWARE/OS VERSIONS KDE Plasma Version: 6.4.5 KDE Frameworks Version: 6.18.0 Qt Version: 6.9.2 ADDITIONAL INFORMATION I’m aware that Flatpak uses sandboxing, which affects how theming works. However, I noticed that the Breeze theme is installed as a Flatpak dependency, yet GTK3 apps still don't use it.
Works fine for me. Could you post a screenshot?
Created attachment 185182 [details] Screenshot of Lutris using Adwaita theme
Which items would you expect to look different?
Colors, icons and buttons in the header bar look different. Minimize and maximize buttons are missing.
Created attachment 185184 [details] What Lutris should look like
Yeah. Works fine for me. Can you reproduce this on a new installation and/or user?
(In reply to Harald Sitter from comment #6) > Yeah. Works fine for me. Can you reproduce this on a new installation and/or > user? Yes, I can reproduce this on a fresh user account with default settings.
I'm not sure if it's related to this issue, but I noticed that plasma-xdg-desktop-portal-kde.service is not running. [user@hostname ~]$ systemctl status --user plasma-xdg-desktop-portal-kde.service ○ plasma-xdg-desktop-portal-kde.service - Xdg Desktop Portal For KDE Loaded: loaded (/usr/lib/systemd/user/plasma-xdg-desktop-portal-kde.service; static) Active: inactive (dead) Sep 24 12:08:37 hostname systemd[778]: Starting Xdg Desktop Portal For KDE... Sep 24 12:08:37 hostname systemd[778]: Started Xdg Desktop Portal For KDE. Sep 24 12:08:48 hostname xdg-desktop-portal-kde[1152]: qt.dbus.integration: QDBusConnection: couldn't handle call to CreateMonitor, no slot matched Sep 24 12:08:48 hostname xdg-desktop-portal-kde[1152]: qt.dbus.integration: QDBusConnection: couldn't handle call to CreateMonitor, no slot matched Sep 24 12:08:48 hostname xdg-desktop-portal-kde[1152]: qt.dbus.integration: Could not find slot InhibitPortal::CreateMonitor Sep 24 12:09:39 hostname systemd[778]: Stopping Xdg Desktop Portal For KDE... Sep 24 12:09:39 hostname systemd[778]: Stopped Xdg Desktop Portal For KDE.
Unfortunately, I don't know what causes this issue or how to reproduce it. Since I'm not using KDE anymore, I'm closing this.