-
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
Cursor jump and scroll when switching between splits -- and highlights intervening code #85308
Comments
/needsMoreInfo Can you reproduce the problem when you have all extensions disabled? |
Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue. Happy Coding! |
Update: I've working with extensions disabled today, and I am not experiencing the problem. However, the problem is intermittent, so I can't be sure that extensions-disabled is "proof" that it's an extension-related problem. Any suggestions for how I can provide more information or systematic testing are welcome. |
@ultraGentle thanks for following-up. The VIM issues you are referring to have already been fixed in the VS Code VIM extension, so they are not related. Can you include the extensions you are using ( |
Extensions below. Another hypothesis is that the "jump" could be related to the setting "Cursor: surrounding lines," which I have set to "10." Some small evidence for this is that the number of lines erroneously selected is always roughly 10 or fewer -- never more than a full screen's worth, certainly. That said, as requested: Installed extensions (not all of these are enabled, but I didn't see a way to filter for that): |
Just to follow up, this cursor-jump behavior sounds similar to #70306. As suggested in that thread, I have have attempted disabling user settings related to "global find clipboard," to see if this is the same bug, or a different one. |
@ultraGentle let me know if disabling global find clipboard works for you. |
It has not happened since I disabled "global find clipboard." |
This issue was triggered by sharing find query in multiple find widgets and automatic search. |
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines. Happy Coding! |
The set up: vertical split, same file in both panes, but different positions in file.
The problem: clicking† in a pane switch focus panes sometimes‡ causes the cursor to jump, and sometimes selects the code in between the original cursor position and the jumped-to position.
† switching focused split via keyboard shortcut never causes this problem
‡ maybe 10% of the time, and in half of those the selection issue also occurs
I doubt the "10%" is random; there must be something concrete causing it to happen (like maybe something is selected in the un-focused pane), but all I've discovered so far is that it's only tied to click-switching.
When did it start? At least a month ago.
Related issues: searching for this issue revealed sort-of-maybe-related issues in conjunction with VSCode Vim, but I'm not using that, or the Vim extension. I'll list them here, just in case:
VSCodeVim/Vim#2688
VSCodeVim/Vim#3455
https://www.reddit.com/r/vscode/comments/8tv41k/independent_cursors_with_split_panes_on_the_same/
I wish I could give 100% reproducible steps... any suggestions for how to test this issue more systematically are welcome!
OS X 10.13.6
VSCode Version: 1.40.1
Commit: 8795a98
Date: 2019-11-13T16:47:44.719Z
Electron: 6.1.2
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 17.7.0
The text was updated successfully, but these errors were encountered: