Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

bug: theme not getting applied to some apps, including Gradience itself #744

Closed
2 tasks done
IvoryJam opened this issue Mar 25, 2023 · 12 comments
Closed
2 tasks done
Labels
bug/resolved type/bug Something isn't working

Comments

@IvoryJam
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

After some flatpak updates, Gradience no longer themes itself as well as other apps like com.mattjakeman.ExtensionManager and de.haeckerfelix.Fragments.

It's not all flatpak apps though, firefox and clapper follow the theme just fine

To Reproduce

  1. Open Gradience

Expected behavior

To theme all applications

Screenshots

image

OS

Fedora Linux 37 (Workstation Edition)

DE/WM version

GNOME 43.3, Mutter

Version

0.4.1

Installation method

Flatpak from Flathub

Enabled system extensions (GNOME specific)

AlphabeticalAppGrid@stuarthayhurst
blur-my-shell@aunetx
[email protected]
[email protected]
[email protected]
io.github.mreditor.gnome-shell-extensions.scroll-panel
just-perfection-desktop@just-perfection
[email protected]
rounded-window-corners@yilozt

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@IvoryJam IvoryJam added the type/bug Something isn't working label Mar 25, 2023
@github-actions
Copy link
Contributor

Welcome on Gradience. 🥳 We really appreciate your contribution. The core team will review your issue as soon as possible. You can also join the Matrix room: https://matrix.to/#/#Gradience-space:envs.net or the Discord server: https://discord.com/invite/4njFDtfGEZ

@IvoryJam
Copy link
Author

I am also using adw-gtk3 installed via the copr repo

@tfuxu
Copy link
Member

tfuxu commented Mar 25, 2023

Why does so many people have this issue...
Could you please post here your ~/.local/share/flatpak/overrides file?

@daudix
Copy link
Member

daudix commented Mar 25, 2023

also, do you use any gtk4 themes? Gradience, Extension Manager and Fragments look broken

@daudix daudix added the status/more-info-needed Further information is requested label Mar 25, 2023
@IvoryJam
Copy link
Author

There is only 1 file in there "global" here are the contents

➜ ~ cat ~/.local/share/flatpak/overrides/global 
[Context]
filesystems=xdg-config/gtk-4.0;xdg-config/gtk-3.0;

I do not use any gtk4 themes, here's a screenshot from tweaks as confirmation

image

@tfuxu
Copy link
Member

tfuxu commented Mar 25, 2023

Do you maybe have a /var/lib/flatpak/overrides folder?

@IvoryJam
Copy link
Author

I sure do

➜ ~ cd /var/lib/flatpak/overrides/
➜ overrides ls
global  org.telegram.desktop
➜ overrides cat global 
[Context]
filesystems=/home/IvoryJam/.themes;/home/IvoryJam/.icons;/home/IvoryJam/.local/share/themes;/home/IvoryJam/.local/share/icons;

[Environment]
GTK_THEME=adw-gtk3
➜ overrides cat org.telegram.desktop 
[Environment]
XCURSOR_SIZE=24

@tfuxu
Copy link
Member

tfuxu commented Mar 25, 2023

Remove value from GTK_THEME and set unset-environment=GTK_THEME; in Context group, this is how I have it on my system and adw-gtk3 works just fine with Flatpak apps.

@IvoryJam
Copy link
Author

That fixed it

@tfuxu tfuxu closed this as completed Mar 25, 2023
@tfuxu
Copy link
Member

tfuxu commented Mar 25, 2023

One more thing to add to Troubleshooting section

@daudix
Copy link
Member

daudix commented Mar 25, 2023

I will start writing troubleshooting docs section!

@tfuxu tfuxu added bug/resolved and removed status/more-info-needed Further information is requested labels Mar 25, 2023
@failafail8
Copy link

with your help on matrix, even a neophyte like me was able to solve this same problem. thanks a lot! looking forward to using the application :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug/resolved type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants