-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Split documents (e.g. diffs) with focus on left switches to the right on focus loss #22403
Comments
I feel like this one has gotten worse (or at least I'm noticing it more). I don't remember if quickpicks used to also cause the focus change, but they do now. This causes issues for GitLens. If I have a diff open with revision A on the left and B on the right. While focused in the left (Revision A), if open the command palette to say An aside, but I wasted quite a lot of time trying to track down a "bug" because I failed to notice this behavior. :( |
Again, I feel like this is even worse now -- commands in the In GitLens if I want to turn on the blame in the left side, the button in the |
We no longer react on blur events so I think we can close this issue. @eamodio can you try with latest insider builds if this reproduces still? |
@bpasero it looks like the core issue is fixed! Though I did notice that the Uri provided to |
@eamodio that sounds like a different bug you should report then. |
Steps to Reproduce:
onDidChangeActiveTextEditor
event) is the right side (but still don't have focus which is fine)You can notice this behavior much more easily with an extension like GitLens which provides "active line" annotations (you'll see them switch from the left side to the right) and statusbar updates. In GitLens specifically this causes an issue when a statusbar item is updated because of line selections on the left, and then you attempt to click on the statusbar item (to perform an action), but it fails, because the active editor switches out from under the click.
I've also noticed, when looking into this, that the line information in the statusbar isn't updated to reflect the line/column/selection of the left side -- only the right.
The text was updated successfully, but these errors were encountered: