-
Notifications
You must be signed in to change notification settings - Fork 159
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
DND does not finish on desktop #1673
Comments
Agree, that check doesn't appear to make sense for the cursor button release handler. The commit linked is part of the original move to scene graph. CC @johanmalm just to ensure we don't miss any context here. |
Nice find. The same issue can also be seen in firefox when dragging a tab out of firefox. Would be cool to have this addressed. |
I'm fine with this patch. Can't think of why it's there either. Like you say - quite possibly cruft from pre-scene-graph. I've tested with a few scenarios with scroll bars and selected text - but all seems fine. |
...where dnd does not finish properly on cursor-button-release if there is no surface under the cursor such as on the desktop when no background client is running. Written-by: @tokyo4j Fixes: labwc#1673
DND doesn't finish properly when the cursor button is released on desktop.
dnd-on-desktop.mp4
I confirmed removing the check for
ctx.surface
incursor_button_release()
(introduced in a252308) fixed the problem, though I don't know the purpose of this check.The text was updated successfully, but these errors were encountered: