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

disable theme change animation on startup #25305

Open
ivanionut opened this issue Feb 21, 2025 · 3 comments
Open

disable theme change animation on startup #25305

ivanionut opened this issue Feb 21, 2025 · 3 comments

Comments

@ivanionut
Copy link

Summary

Hi everyone,
is there any way to disable this ugly effect when I open Zed? (the theme change)

zed.mp4

thanks

Zed Version and System Specs

Zed: v0.174.6 (Zed)
OS: macOS 15.3.1
Memory: 18 GiB
Architecture: aarch64

@maxdeviant
Copy link
Member

This isn’t actually an animation, it’s the result of the theme not being loaded immediately: #10173

Would you mind sharing the list of extensions you currently have installed?

@ivanionut
Copy link
Author

@maxdeviant

extensions:

- HTML 0.1.5
- Cappuccin 0.2.20
- TOML O.1.3
- Git Firefly vo.0.3
- SQL 1.1.2
- Tokyo Night Themes 0.5.0
- XML 0.0.8
- LOG O.0.6
- SCSS 0.0.4
- Emmet 0.0.3
- CSV 0.0.2
- Zedokai v1.2.1
- env v0.0.1
- Smooth Theme 1.0.0
- Rainbow CSV 0.0.3
- Night Owl Theme 0.0.3
- Kanagawa Themes 0.1.1
- Cappuccin Blur 0.1.25
- Nginx 0.0.1
- Cappuccin Icons 1.17.4 
- Cappuccin Theme (Blue Blur+) 0.1.1
- Symbols 0.1.0

maxdeviant added a commit that referenced this issue 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
Copy link
Member

In #25368 we now prioritize loading the active theme and icon theme, which should address this.

This change will be going out to Zed Preview next Wednesday.

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