Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GTK Flatpak Apps no longer apply themes after update ? #46311

Closed
SpidFightFR opened this issue Sep 28, 2023 · 2 comments
Closed

GTK Flatpak Apps no longer apply themes after update ? #46311

SpidFightFR opened this issue Sep 28, 2023 · 2 comments
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed

Comments

@SpidFightFR
Copy link
Contributor

Is this a new report?

Yes

System Info

Void 6.5.5_1 x86_64 AuthenticAMD uptodate rrmFFFFFFFF

Package(s) Affected

flatpak-1.15.4_2 flatpak-kcm-5.27.8_1 xdg-desktop-portal-gtk-1.14.1_2

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

Given we grand read access to ~/.themes and ~/.icons, and that we enable a specific env var, the selected theme in the env var should be applied (it was up until recently).

Actual behaviour

Recently, it stopped working, out of the blue, without any reasons.

I believe it started happening since flatpak-kcm update, but i might be wrong.
QT apps do work as intended tho, so perhaps it is linked to the xdg gtk portal too?

Steps to reproduce

  1. sudo xbps-install -Su
  2. Update flatpak-kcm
  3. Theme no longer works on gtk apps :(
@SpidFightFR SpidFightFR added bug Something isn't working needs-testing Testing a PR or reproducing an issue needed labels Sep 28, 2023
@mayhair
Copy link

mayhair commented Oct 2, 2023

See #46317 (comment) for a workaround.

@SpidFightFR
Copy link
Contributor Author

Thank you, @mayhair ! 🙏

Indeed this solved the issue for me.
If that can help someone, here is my config for Plasma: (this should be located in ~/.config/xdg-desktop-portal/ - for newcomers, to avoid more searching)

kde-portals.conf
[preferred]
# use xdg-desktop-portal-gtk for every portal interface
default=gtk
# except for the xdg-desktop-portal-wlr supplied interfaces
org.freedesktop.impl.portal.Screencast=kde
org.freedesktop.impl.portal.Screenshot=kde
#uses KDE file dialog instead of the gtk file dialog
org.freedesktop.impl.portal.FileChooser=kde

On a sidenote, this would be much appreciated from the xdg desktop portals team to let us truly know when such a major change comes up instead of doing it the shady way. 😜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed
Projects
None yet
Development

No branches or pull requests

2 participants