-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Staging changes in source control moves cursor-focus (it's back) #120162
Comments
(Experimental duplicate detection) |
I know this has been an issue many times before, and I suspect that this time it is the result of a remediation where it just takes "a random" commit-message input field and focuses it, which might work for projects with only one repo, but if one has multiple repositories, it sure doesn't work properly. |
I have noticed this also, its really annoying. |
I have almost the same exact issue. There are several repos in my list and if I perform any action with git (fetch, pull, add, etc) it usually takes a couple seconds for git to finish and the UI to return to idle. During this non-idle time, anything I type in any of the fields for any repo will be randomly moved around so that my sentence is in many places in bits and pieces. When I open the git shell to investigate, there are no issues. I have reinstalled/upgraded vscode, git, and disabled all extensions. Issue remains. Started a couple weeks ago maybe. Furthermore, the current branch displayed for any of my repos starts changing. Most of my repos have the same branch schema, but a few of them are unique and I see them popping up under other repos. It's almost like the repos (from vscode POV) are swapping identities. In the GIF below, the branch name does not exist under the 2nd repo, but there it is. It also happens when I start vscode and the repos load. EDIT: I solved my issue: |
I was also getting this behavior and it was because I had some out-of-date edit to mention that for me it was also happening ALL THE TIME as I was trying to type into my commit message which made it really annoying; it wasn't only when I was staging my changes like the issue title says. |
I met a similar issue when I finish a commit and set focus to command window, and the focus is always set back to the git commit message text box, this is quite annoying. |
I no longer use git submodules, so I can't attest to whether this problem still exists. |
Issue Type: Bug
2021-03-30.11-02-39.mp4
VS Code version: Code 1.54.3 (2b9aebd, 2021-03-15T10:55:45.459Z)
OS version: Windows_NT x64 10.0.19042
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (17)
A/B Experiments
The text was updated successfully, but these errors were encountered: