GradienceTeam / Gradience

Change the look of Adwaita, with ease
https://gradienceteam.github.io
GNU General Public License v3.0
1.3k stars 47 forks source link

bug: Flatpak is missing data for gnome shell 45 theming #831

Closed KennyDevT closed 7 months ago

KennyDevT commented 10 months ago

Is there an existing issue for this?

What happened?

I opened gradience flatpak through the terminal clicked apply shell theming and it showed me this.

Traceback (most recent call last): File "/app/lib/python3.10/site-packages/gradience/frontend/widgets/shell_theming_group.py", line 113, in on_apply_button_clicked user_themes_available = is_shell_ext_installed(ShellTheme().THEME_EXT_NAME) File "/app/lib/python3.10/site-packages/gradience/backend/theming/shell.py", line 59, in init self._detect_shell_version() File "/app/lib/python3.10/site-packages/gradience/backend/theming/shell.py", line 278, in _detect_shell_version raise UnsupportedShellVersion( gradience.backend.exceptions.UnsupportedShellVersion: GNOME Shell version 45 is not supported. (Supported versions: 42, 43, 44)

But it works fine in in the aur version.

To Reproduce

  1. Add Flathub beta.
  2. Install Gradience beta 0.8.0-beta1
  3. Activate Shell Engine
  4. Apply Shell Engine

Expected behavior

Shell Theming should apply.

Screenshots

No response

OS

Arch Linux

DE/WM version

GNOME 45.1

Version

0.8.0-beta1

Installation method

Flatpak from Github Actions

Enabled system extensions (GNOME specific)

clipboard-indicator@tudmotu.com blur-my-shell@aunetx just-perfection-desktop@just-perfection dash-to-dock@micxgx.gmail.com overviewbackground@github.com.orbitcorrection ding@rastersoft.com extension-list@tu.berry drive-menu@gnome-shell-extensions.gcampax.github.com user-theme@gnome-shell-extensions.gcampax.github.com appindicatorsupport@rgcjonas.gmail.com

Additional context

No response

Code of Conduct

github-actions[bot] commented 10 months ago

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

KennyDevT commented 10 months ago

After compiling from sources it still doesn't work but i managed to get it work from copying the files (Gnome 45 shell theming files) from the .cache of Gnome builder

KennyDevT commented 10 months ago

Did This sudo cp -r /home/USER/.var/app/org.gnome.Builder/cache/gnome-builder/projects/Gradience/flatpak/staging/x86_64-main/files/share/gradience/shell/45 /var/lib/flatpak/app/com.github.GradienceTeam.Gradience.Devel/current/e435cceae9f3b6db824a2fd37c980f08b8ef97908c4b584ab68a9ffbcb980f46/files/share/gradience/shell

Then This sudo cp -r /home/USER/.var/app/org.gnome.Builder/cache/gnome-builder/projects/Gradience/flatpak/staging/x86_64-main/files/share/gradience/shell/templates/45 /var/lib/flatpak/app/com.github.GradienceTeam.Gradience.Devel/current/e435cceae9f3b6db824a2fd37c980f08b8ef97908c4b584ab68a9ffbcb980f46/files/share/gradience/shell/templates

Akergez commented 9 months ago

any progress there?

Arcitec commented 7 months ago

@daudix You can close this ticket. The nightly Flatpak builds have worked perfectly for weeks, probably even months. :)

Everyone: Keep in mind that the User Shell theme will be installed in ~/.local/share/themes/gradience-shell/gnome-shell. You can use Flatseal to verify that Gradience has write permission to all the paths it needs:

The Gradience Flatpak app manifest sets these up by default, but just verify that yours aren't ending in :ro (read only). If you've set up read-only (:ro) access globally, like that, then it would get inherited by Gradience. If so, edit the filesystem permissions for Gradience and remove :ro.