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

bug: Flatpaked Gradience writes to internal config directory #710

Closed
2 tasks done
ghost opened this issue Jan 29, 2023 · 4 comments
Closed
2 tasks done

bug: Flatpaked Gradience writes to internal config directory #710

ghost opened this issue Jan 29, 2023 · 4 comments
Labels
area/flatpak Everything related to Flatpak type/bug Something isn't working

Comments

@ghost
Copy link

ghost commented Jan 29, 2023

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

When Gradience is installed via Flatpak and used to theme Libadwaita apps, it adds a global override to allow all apps to read ~/.config/gtk-4.0, but writes the CSS to ~/var/app/com.github.GradienceTeam.Gradience/config/gtk-4.0/.

Because of this, no themes are applied to Libadwaita apps.

Screenshots

internal config dir content

OS

Pop!_OS 22.04 LTS

Version

0.3.3

Installation method

Flatpak from Flathub

Additional context

As a workaround, I copied the files to the correct directory manually.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ghost ghost added the type/bug Something isn't working label Jan 29, 2023
@LyesSaadi
Copy link
Member

Huh... Weird... I can't reproduce on my side. It doesn't write anything to ~/.var/app/com.github.GradienceTeam.Gradience/config/gtk-4.0/ as well in my case.

Can you maybe try to reboot the session ? Maybe is there something wonky with flatpak ?

@tfuxu
Copy link
Member

tfuxu commented Jan 29, 2023

I also can't reproduce this bug.
Screenshot from 2023-01-29 17-58-47
You should check if a xdg-config/gtk-4.0 (not ~/.config/gtk-4.0, as Flatpak may interpret this in some twisted way) path is allowed in your global Flatpak permissions.

@tfuxu tfuxu added status/more-info-needed Further information is requested area/flatpak Everything related to Flatpak labels Jan 29, 2023
@ghost
Copy link
Author

ghost commented Jan 29, 2023

You should check if a xdg-config/gtk-4.0 path is allowed in your global Flatpak permissions.

image

I can also no longer reproduce this. Maybe this is something that can only happen in some weird edge case during the initial setup.

@tfuxu tfuxu removed the status/more-info-needed Further information is requested label Jan 29, 2023
@tfuxu
Copy link
Member

tfuxu commented Jan 29, 2023

I can also no longer reproduce this. Maybe this is something that can only happen in some weird edge case during the initial setup.

Since this is no longer reproducible by any of us, I'm closing this issue, but if you find something interesting about it, please send you findings here. I'll also look into this when I'll be reworking preset internals.

@tfuxu tfuxu closed this as not planned Won't fix, can't repro, duplicate, stale Jan 29, 2023
@tfuxu tfuxu added this to Gradience Feb 3, 2023
@github-project-automation github-project-automation bot moved this to Todo in Gradience Feb 3, 2023
@daudix daudix moved this from Todo to Done in Gradience May 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/flatpak Everything related to Flatpak type/bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants