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

[macOS, X11]: Initiating drag/drop from tunneling PointerPressed event has problems #16936

Open
grokys opened this issue Sep 5, 2024 · 1 comment

Comments

@grokys
Copy link
Member

grokys commented Sep 5, 2024

Describe the bug

When initiating a drag/drop operation from a tunneling PointerPressed event, there are problems on macOS and X11:

  • macOS: Dragging the item outside the application and dropping it causes the button to get stuck down
  • X11: Any sort of drag results in the drag cursor getting stuck and not reverting to the standard pointer (repro'd on Fedora 39)

To Reproduce

The following commit reproduces the problem on the "Drag + Drop" page of ControlCatalog:

ed3f002

Expected behavior

No response

Avalonia version

master

OS

macOS, Linux

Additional context

No response

@grokys
Copy link
Member Author

grokys commented Sep 10, 2024

Update: this happens on macOS even when using bubbling events.

grokys added a commit to AvaloniaUI/Avalonia.Controls.TreeDataGrid that referenced this issue Sep 12, 2024
.. on release or capture lost. Fixes an issue with phantom drags occurring on macOS due to AvaloniaUI/Avalonia#16936
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants