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

Text fails to drop after dragging a little too far to the left of the first column #103487

Open
NoelCarboni opened this issue Jul 28, 2020 · 7 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug editor-drag-and-drop Editor UI drag-and-drop operations

Comments

@NoelCarboni
Copy link

Drag and drop fails to drop if the cursor is too far to the left of the margin, even though the text insertion point cursor is flashing right where it needs to be.

You might say I should move the cursor closer to where I want to drop but a quick way to ensure text is dropped in column 1 is to move the mouse further to the left than it needs to be.

It is beyond frustrating to watch the text insertion point go right to where you want to drop text, then when you let the mouse button up nothing happens. Then a whole re-selection process has to happen again.

Either the insertion point cursor should be hidden if the drop is not going to be honored, or - ideally - just allow the drop since there's nothing else over there to drop the text on. Please make sure that if the insertion point cursor is showing, dragged text WILL drop.

Thanks.

@bpasero bpasero added the editor-drag-and-drop Editor UI drag-and-drop operations label Aug 21, 2020
@rebornix rebornix added the polish Cleanup and polish issue label Aug 31, 2020
@rebornix rebornix added the help wanted Issues identified as good community contribution opportunities label Oct 12, 2020
@rebornix rebornix added this to the On Deck milestone Oct 12, 2020
@rebornix rebornix added the bug Issue identified by VS Code Team member as probable bug label Nov 3, 2020
@rebornix
Copy link
Member

rebornix commented Nov 6, 2020

dnd-left

I'm not able to reproduce this issue in latest Insiders, can you help verify if it's what you are seeing as well?

@rebornix rebornix added info-needed Issue requires more information from poster and removed bug Issue identified by VS Code Team member as probable bug help wanted Issues identified as good community contribution opportunities polish Cleanup and polish issue labels Nov 6, 2020
@rebornix rebornix removed this from the On Deck milestone Nov 6, 2020
@NoelCarboni
Copy link
Author

NoelCarboni commented Nov 7, 2020

I'm not on the "insiders" track for several reasons. Is there reason to believe this has been fixed since 1.50.1?

It's possible the drag and drop operation is completing with the cursor outside the bounds of VSCode. Shouldn't matter - should still drop as the indications on screen have not changed. Once the cursor is captured the drop operation should complete normally no matter where the mouse button is let up.

Keep in mind not everyone a) likes to run applications maximized, or b) is using VSCode at the left edge of their leftmost monitor.

I don't know how to attach a GIF directly in here, but this illustrates:
http://Noel.ProDigitalSoftware.com/ForumPosts/DragAndNoDrop.gif

@NoelCarboni
Copy link
Author

Yes, this still needs attention. It's still broken even with the latest version.

Either:
A. The drop operation needs to complete normally (recommended).
-or-
B. The on-screen indication (i.e., insertion cursor) needs to hide when the mouse leaves the application.

@NoelCarboni
Copy link
Author

@isidorn, can you please facilitate getting this back into view? This is the one biggest impediment to my productivity using this editor. Not even one editing session goes by where it doesn't bite me. When I'm watching the screen during a move, I'm NOT watching the mouse cursor itself, but the dotted vertical line insertion cursor to see where the text will drop.

@isidorn
Copy link
Contributor

isidorn commented Jan 27, 2021

@NoelCarboni I think you provided enough additional information, let's give some time for @rebornix to reply.

@isidorn isidorn reopened this Feb 4, 2021
@isidorn isidorn removed the info-needed Issue requires more information from poster label Feb 4, 2021
@rebornix rebornix added the bug Issue identified by VS Code Team member as probable bug label Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug editor-drag-and-drop Editor UI drag-and-drop operations
Projects
None yet
Development

No branches or pull requests

5 participants
@rebornix @bpasero @isidorn @NoelCarboni and others