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

When selection clipboard is disabled, the middle button pastes if released outside editor #83282

Closed
alexdima opened this issue Oct 25, 2019 · 5 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug linux Issues with VS Code on Linux verified Verification succeeded
Milestone

Comments

@alexdima
Copy link
Member

Extracted from @AndBroPLAYipp in #64856 (comment)


Updated to insider build;
The middle mouse button paste is disabled which is awesome.
BUT; If you move the mouse, while holding middle mouse, any were outside the document you will instantly paste were your line cursor is located.
This include; top document path and tabs, left tab panel, integrated terminal. and outside the document.

@alexdima alexdima self-assigned this Oct 25, 2019
@alexdima alexdima added the linux Issues with VS Code on Linux label Oct 25, 2019
@alexdima alexdima added this to the October 2019 milestone Oct 30, 2019
@alexdima
Copy link
Member Author

To verify, set editor.selectionClipboard: false and drag from the editor and release outside VS Code. It should not paste the selection clipboard.

@alexdima alexdima added the bug Issue identified by VS Code Team member as probable bug label Oct 30, 2019
@joaomoreno
Copy link
Member

@alexandrudima Dragging the editor's selection to the outside of VS Code doesn't work for me in Linux regardless of that setting's value. Am I missing something?

@alexdima
Copy link
Member Author

@joaomoreno I've just pushed this, so the insiders build might not contain the fix. The steps are to disable selection clipboard, then press middle mouse button inside the editor, drag the mouse to outside the VS Code window and then release the middle mouse button outside VS Code.

@joaomoreno
Copy link
Member

@alexandrudima I'm testing from master. Yeah those are the steps I'm doing. They do nothing in my system, there's no data being dragged out of VS Code in any case. But maybe my i3 setup is preventing stuff from happening. I'll let someone else with Ubuntu test this.

@aeschli
Copy link
Contributor

aeschli commented Oct 31, 2019

Verified on Ubuntu 18.04.3

@aeschli aeschli added the verified Verification succeeded label Oct 31, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug linux Issues with VS Code on Linux verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants