Gradience icon indicating copy to clipboard operation
Gradience copied to clipboard

feat: Async downloads of presets in the Explore tab

Open Kozova1 opened this issue 2 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

What happened?

Downloading a preset seems to freeze the entire UI until it finishes downloading.

To Reproduce

  1. Open Gradience
  2. Open the Preset manager
  3. Open the Explore tab
  4. Click "Download" on some of the presets
  5. Try to scroll / hover over a button / etc. and see that the UI is frozen until the download finishes

Expected behavior

I'd expect the UI to not freeze when a theme is being downloaded.

Screenshots

No response

OS

Fedora Linux 37 (Workstation Edition)

DE/WM version

GNOME 43.2

Version

0.4.0

Installation method

Flatpak from Flathub

Enabled system extensions (GNOME specific)

blur-my-shell@aunetx
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

Additional context

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

Kozova1 avatar Feb 25 '23 10:02 Kozova1

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

github-actions[bot] avatar Feb 25 '23 10:02 github-actions[bot]

Known issue. We just didn't yet made functions for fetching and downloading presets asynchronous internally (function for fetching presets is async externally, which isn't perfect, but doesn't cause your issue). Something to definitely work on for 0.8.0 release. Thanks for the report.

tfuxu avatar Feb 25 '23 13:02 tfuxu