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

cannot drag and drop an editor #199403

Closed
meganrogge opened this issue Nov 28, 2023 · 4 comments
Closed

cannot drag and drop an editor #199403

meganrogge opened this issue Nov 28, 2023 · 4 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@meganrogge
Copy link
Contributor

Testing #199023

Screen.Recording.2023-11-28.at.11.44.27.AM.mov
@bpasero
Copy link
Member

bpasero commented Nov 28, 2023

Does it help if you wait 1-2s at the location over the desktop before releasing? I have seen macOS sometimes refusing to accept the drop operation if I release the mouse very quickly after dragging.

@bpasero bpasero added the info-needed Issue requires more information from poster label Nov 28, 2023
@meganrogge
Copy link
Contributor Author

Yes, that does work. I think we should maybe not show the drop feedback until 1-2s have elapsed because otherwise it seems like the operation isn't possible? 🤔

@bpasero
Copy link
Member

bpasero commented Nov 29, 2023

Unfortunately we are very limited in what we can do, given we rely on native drag and drop. Merging into #198128

@bpasero bpasero closed this as not planned Won't fix, can't repro, duplicate, stale Nov 29, 2023
@bpasero
Copy link
Member

bpasero commented Nov 29, 2023

Actually the real reason this does not work is that you manage to move the mouse back over the main window shortly after releasing the mouse for dropping. Since on macOS there is a brief animation (for invalid drops - which is the case here), we only get the drag-end event when your mouse is already over the main window and then ignore the operation assuming you wanted to drop over the main window.

The linked issue is still valid, we need to find a better way how to do this on macOS...

@github-actions github-actions bot locked and limited conversation to collaborators Jan 13, 2024
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
Projects
None yet
Development

No branches or pull requests

2 participants