Repository navigation
Drag and drop freezes server side decorations - #3133
Open
mrsteve0924 wants to merge 1 commit into
Open
mrsteve0924 wants to merge 1 commit into
mrsteve0924 wants to merge 1 commit into
Conversation
Contributor
Author
|
is anyone experiencing this drag and drop bug like i am? seems like a bug that more people would run into than not. |
Member
|
Check this out: https://github.com/WayfireWM/wayfire/blob/master/src/core/seat/pointer.cpp#L271 The idea is that when we release the mouse button, it should release the grab automatically, no need to call it from the drag done handler as you do in this PR. But it seems we don't include the DnD grab type, which is the actual bug. |
Dragging a file into another application can leave server-side window decorations unresponsive. For example, dragging a file into a terminal or a PDF/image into a web browser can cause the window title bar and decorations to stop responding to pointer input. The pointer grab can remain in the DND state after the drag ends, preventing server-side decorations from receiving pointer input. Assisted-by: ChatGPT:GPT-5.6 Sol Signed-off-by: steve finkel <mrsteve0924@verizon.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dragging a file into another application can leave server-side window
decorations unresponsive. For example, dragging a file into a terminal or
a PDF/image into a web browser can cause the window title bar and
decorations to stop responding to pointer input.
The pointer grab can remain in the DND state after the drag ends, preventing
server-side decorations from receiving pointer input.
Release the pointer grab when the drag is destroyed so pointer focus is
restored.
addresses issue #3131