-
Notifications
You must be signed in to change notification settings - Fork 28.8k
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
status bar git sync icon no spin. #23975
Comments
Not only does it not spin, it also does not show how many commits you are about to pull in and push up as soon as you click on it. Instead, it instantly changes to show only a non-spinning sync icon. |
😭 Sad to find it becomes feature request and moved into backlog. We just want it back!! |
@bingzheyuan Better than just closed. ;) |
Really sad, it became a feature-request instead of a bug. |
You can upvote this issue: #10455 |
@joaomoreno Why is this a feature request if the feature already existed in the previous version of vscode? Shouldn't it be considered a regression? |
Could you please explain why this must be disabled in new version ? |
If you read #10455 you'll discover that it's because extensions are limited to use a fixed palette of icons. The animated icon isn't one of them. Git is now an extension, by the way. |
You say that, but if I am not mistaken - after clicking on the icon - it also used to:
Currently though, as soon as you click on the icon, it turns into a state where it looks as if nothing is happening at all. There is more at play here than the fact the icon is not rotating. Additionally, is the animation not a straight forward CSS rotate? I fail to see what it has to do with icon themes. That issue you referenced is 6 months old. The animation broke last week. |
Git used to be a core component of Code until last month. Core components have the advantage of using a lot of features, including rotating images through DOM access. As part of the the work that produced an SCM API, which enables many more SCM providers in Code, Git moved to an extension. It now has the same API as any other Code extension. This means it doesn't have access to the DOM. In order to get a rotating icon, we either need to open an incredibly specific rotating icon API, or we think a bit more about this and conclude that #10455 will be a great solution for this problem while enabling others to benefit from it. Since #10455 is planned for April, I'll just snowplow this one along. |
Alright, that makes more sense. Thanks for clarifying! |
Went with the quick n dirty approach. It spins now! |
@joaomoreno thank you ! |
cool, updated today and spin back 👍 |
Steps to Reproduce:
1.edit something and click the status bar git sync icon. it no spin.
2.when I use previous version vscode 1.10.2. click it has spin.
The text was updated successfully, but these errors were encountered: