Bug 422010 - regression: GTK theme doesn't apply to flatpak apps since Plasma 5.18.5
Summary: regression: GTK theme doesn't apply to flatpak apps since Plasma 5.18.5
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_style (show other bugs)
Version: 5.18.5
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-24 12:50 UTC by Peter Eszlari
Modified: 2020-05-25 16:13 UTC (History)
1 user (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 Peter Eszlari 2020-05-24 12:50:13 UTC
After Plasma got updated from 5.18.4 to 5.18.5 in Kubuntu 20.04, flatpak apps don't honor the host theme anymore. I also tested this under KDE Neon User edition. xsettingsd is running.
Comment 1 Mikhail Zolotukhin 2020-05-24 17:55:57 UTC
Cannot reproduce on Kubuntu 20.04, but xsettingsd (which is responsible for flatpak apps on X11) can be buggy sometimes. I suggest you to restart it a couple of times or to set the theme back and forth a couple of times.
Comment 2 Peter Eszlari 2020-05-24 18:31:03 UTC
Restarting xsettingsd or changing the theme does indeed make it apply the theme to flatpak apps, but after a logout the effect is gone and you have to redo it everytime. I wouldn't consider this " WORKSFORME", and it wasn't like this in 5.18.4.
Comment 3 Mikhail Zolotukhin 2020-05-24 18:39:44 UTC
Still cannot reproduce. There were no changes in GTK intergation codebase in 5.18.5. What GTK theme are you applying?
Comment 4 Peter Eszlari 2020-05-24 20:18:21 UTC
I'm switching between Breeze and Breeze-Dark.

How quick I login again, seems to play a role. When I fix the flatpak theme (by switching back and forth between Breeze and Breeze-Dark), then logout and I wait some seconds before the next login, I can get it to save the settings for flatpak apps for the next three logins (it always stops remembering after that). After a quick re-login, it never works correctly (the theme doesn't get applied to flatpak apps).
Comment 5 Mikhail Zolotukhin 2020-05-24 20:51:38 UTC
In the next version of Plasma (5.19) there is no option of Breeze-Dark scheme in the list any longer, since the Breeze grabs its colors from the color scheme. Can you reproduce the issues with other themes?
Comment 6 Peter Eszlari 2020-05-25 10:48:23 UTC
I was using "Global Theme" for switching between Breeze and  Breeze-Dark.

But using "Application Style > GNOME/GTK Application Style" to switch between e.g. "Breeze" and "Emacs" has the same effect: flatpak apps have the correct theme till the next login.
Comment 7 Mikhail Zolotukhin 2020-05-25 13:23:25 UTC
Can you confirm, that that only happens with Emacs and Breeze-Dark GTK themes? Are any other themes causing this issues?
Comment 8 Peter Eszlari 2020-05-25 16:09:30 UTC
I can't reproduce this on another installation of Kubuntu 20.04, so closing this. Must be some very obscure interaction on that other system.



> In the next version of Plasma (5.19) there is no option of Breeze-Dark scheme in the list any longer,

Going to "Application Style > GNOME/GTK Application Style" and setting Breeze-Dark explicitly there, was the only why I could get Flatpak apps to apply the dark theme. Have you tested this?
Comment 9 Mikhail Zolotukhin 2020-05-25 16:13:17 UTC
> Going to "Application Style > GNOME/GTK Application Style" and setting
> Breeze-Dark explicitly there, was the only why I could get Flatpak apps to
> apply the dark theme. Have you tested this?

Flakpak apps indeed do not folow the system color scheme. Feel free to open a separate bug for that.