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

Releasing mouse button outside window does not stop selecting text on Linux #43404

Closed
EFanZh opened this issue Feb 11, 2018 · 4 comments
Closed
Assignees
Labels
info-needed Issue requires more information from poster linux Issues with VS Code on Linux

Comments

@EFanZh
Copy link
Contributor

EFanZh commented Feb 11, 2018

  • VSCode Version: 1.20.0
  • OS Version: Arch Linux 64-bit

Steps to reproduce:

  • Make sure you are using Visual Studio Code for Linux.
  • Press your left mouse button to begin selecting text.
  • Move your mouse cursor outside the window.
  • Release the mouse button.
  • Move your mouse cursor inside the window.

You should notice that although you have released your mouse button, the text selection still follows your mouse cursor.

@alexdima
Copy link
Member

I could not reproduce on Ubuntu 16.04.4 LTS , it might be something specific to Arch Linux

@alexdima alexdima added the linux Issues with VS Code on Linux label Feb 28, 2018
@EFanZh
Copy link
Contributor Author

EFanZh commented Mar 1, 2018

I was using Synergy to control my Linux PC from a Windows PC.

Here is what I have tried:

  • I cannot reproduce if
    • I was using the Linux PC’s mouse to control Visual Studio Code on the same Linux PC, or
    • I was using the Windows PC’s mouse to control Visual Studio Code on the same Windows PC, or
    • I was using the Linux PC’s mouse to control Visual Studio Code on the Windows PC through Synergy, or
    • I was using the Windows PC’s mouse to control gedit on the Linux PC through Synergy, or
    • I was using the Windows PC’s mouse to control KWrite on the Linux PC through Synergy.
  • I can reproduce only if
    • I was using Windows PC’s mouse to control Visual Studio Code on the Linux PC through Synergy.

Maybe it is a Synergy problem since using a mouse to control Visual Studio Code on the PC that the mouse directly connects to works just fine.

But maybe it is a Visual Studio Code problem since under the same condition, gedit and KWrite do not have the same problem.

@alexdima
Copy link
Member

alexdima commented Mar 1, 2018

@EFanZh VSCode is built with Electron, which is built on top of Chromium. We have 100% the same source code running in all situations, so I don't believe it is a problem in our sources.

Perhaps you can reproduce the issue on Chromium when opening https://microsoft.github.io/monaco-editor/ . If that is the case maybe you can search for or create a new issue at https://bugs.chromium.org/p/chromium/issues/ and link to it here.

@alexdima alexdima added the info-needed Issue requires more information from poster label Mar 1, 2018
@vscodebot vscodebot bot closed this as completed Mar 8, 2018
@vscodebot
Copy link

vscodebot bot commented Mar 8, 2018

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster linux Issues with VS Code on Linux
Projects
None yet
Development

No branches or pull requests

3 participants