Bug 418016 - GTK3 Wayland apps don't take on theme set in System Settings
Summary: GTK3 Wayland apps don't take on theme set in System Settings
Status: RESOLVED DUPLICATE of bug 417768
Alias: None
Product: Breeze
Classification: Plasma
Component: gtk theme (show other bugs)
Version: 5.18.1
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Janet Blackquill
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-22 01:15 UTC by Benjamin Smith
Modified: 2020-03-10 23:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Gnome Calculator running side-by-side in Wayland and Xwayland modes (87.66 KB, image/png)
2020-02-22 01:15 UTC, Benjamin Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Smith 2020-02-22 01:15:07 UTC
Created attachment 126282 [details]
Gnome Calculator running side-by-side in Wayland and Xwayland modes

SUMMARY
GTK3 Apps in a Wayland session don't take on the Application Style assigned to them in System Settings > Application Style > Configure Gnome/GTK Application Style.  Instead, they take on a generic theme with pixelated fonts.  If I force them to run in Xwayland, the theme is correct.

STEPS TO REPRODUCE
1. Set a GTK theme in KDE System Settings.
2. Launch a GTK3 app in Wayland mode

OBSERVED RESULT
The app has a generic theme with pixelated fonts.

EXPECTED RESULT
The app matches the system theme.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.5.5-1-MANJARO
(available in About System)
KDE Plasma Version: 5.18.0, 5.18.1
KDE Frameworks Version: 5.67
Qt Version: 5.14.1

ADDITIONAL INFORMATION

This is a regression starting with Plasma 5.18. GTK apps correctly took on the configured theme in Plasma 5.17.x.
Comment 1 Benjamin Smith 2020-02-22 01:19:50 UTC
Upon further searching, it seems this bug only surfaces with environment variable GTK_USE_PORTAL=1 set.  It is probably still a plasma bug.
Comment 2 Benjamin Smith 2020-02-22 01:38:46 UTC

*** This bug has been marked as a duplicate of bug 417441 ***
Comment 3 Nate Graham 2020-03-10 23:00:15 UTC

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