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

editor.cursorSurroundingLines interacts unexpectedly with mouse clicks #80997

Closed
akbyrd opened this issue Sep 16, 2019 · 5 comments
Closed

editor.cursorSurroundingLines interacts unexpectedly with mouse clicks #80997

akbyrd opened this issue Sep 16, 2019 · 5 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@akbyrd
Copy link
Contributor

akbyrd commented Sep 16, 2019

If I click within the 'surrounding lines' region the editor scrolls begins scrolling unexpectedly. It thinks I'm trying to select text and everytime it moves the cursor within the desired range it selects some more text, moves, the cursor to the end of the selection, and repeats the process.

I can't click in the 'surrounding lines' region without highlighting several lines of text and scrolling further than I intended.

Expected:

  1. When clicking within the 'surrounding lines' region it should not be treated as a selection event unless I drag my mouse while the left button is down.

  2. When selecting text with the mouse the editor.cursorSurroundingLines should not be active. Let selection go to the edge of the screen. Then when the mouse button is released do the extra scrolling based on this setting. Selecting text with the keyboard does not need to be changed.

Dumb

@ababak
Copy link

ababak commented Sep 17, 2019

That's definitely a very annoying bug. There is another issue on this matter: #79935

@gjsjohnmurray
Copy link
Contributor

/duplicate of #79934 most likely, assuming @akbyrd isn't using the Insider build where that is already fixed.

@vscodebot vscodebot bot added the *duplicate Issue identified as a duplicate of another issue(s) label Sep 23, 2019
@vscodebot
Copy link

vscodebot bot commented Sep 23, 2019

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!

@vscodebot vscodebot bot closed this as completed Sep 23, 2019
@akbyrd
Copy link
Contributor Author

akbyrd commented Sep 23, 2019

@gjsjohnmurray Not an insiders build. 1.38 release.

@gjsjohnmurray
Copy link
Contributor

@akbyrd in which case there's a good chance your issue is already fixed. I suggest you retest when 1.39 is out (see #80591).

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

4 participants