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

Appearance page makes application unresponsive when Breeze cursor theme is installed #752

Open
edfloreshz opened this issue Nov 3, 2024 · 1 comment

Comments

@edfloreshz
Copy link
Contributor

The application becomes unresponsive for a few seconds when accessing the Appearance page for the first time after opening the app when breeze-cursor-theme is installed.

Steps to reproduce

  1. Install breeze-cursor-theme.
  2. Open cosmic-settings
  3. Access Desktop > Appearance

This may not be exclusive to Breeze, haven't tested other themes.

@leb-kuchen
Copy link

leb-kuchen commented Dec 8, 2024

screenshot-2024-12-07-05-30-52

if let Ok(handles) =
tokio::task::spawn_blocking(|| preview_handles(theme, valid_dirs)).await
{
icon_themes.insert(IconTheme { id, name }, handles);
}

This seems to scale terribly with the amount of themes installed. But I still wonder why it performs so terribly,cause it is supposed to be non-blocking.
Also it runs every time and not just when the toolkit dialog is opened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants