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

Eagerly load the active theme and icon theme #25368

Merged
merged 2 commits into from
Feb 21, 2025
Merged

Conversation

maxdeviant
Copy link
Member

@maxdeviant maxdeviant commented Feb 21, 2025

This PR adds eager loading of the active theme and icon theme set in the user settings.

Previously for themes and icon themes that were provided by extensions, we would have to wait until extensions were loaded before we could apply the themes.

In some cases this could lead to a visible delay during which time the user would see the default themes, and then switch to their desired themes once extensions had loaded.

To avoid this, we now take a fast path of loading the active themes directly from the filesystem so that we can load them as soon as possible.

Closes #10173 and #25305.

Release Notes:

  • Added eager loading of the active theme and icon theme. This should address some reports of seeing the default themes briefly on startup.

@maxdeviant maxdeviant self-assigned this Feb 21, 2025
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 21, 2025
@maxdeviant maxdeviant enabled auto-merge (squash) February 21, 2025 23:56
@maxdeviant maxdeviant merged commit ec56755 into main Feb 21, 2025
13 checks passed
@maxdeviant maxdeviant deleted the marshall/fast-load-themes branch February 21, 2025 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Active theme extension loading priority
1 participant