AvaloniaUI / Avalonia

Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
https://avaloniaui.net
MIT License
25.79k stars 2.23k forks source link

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

Open grokys opened 2 months ago

grokys commented 2 months ago

Describe the bug

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

To Reproduce

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

https://github.com/AvaloniaUI/Avalonia/commit/ed3f002b70f8a0aed33e6d7e6ff346302dca954a

Expected behavior

No response

Avalonia version

master

OS

macOS, Linux

Additional context

No response

grokys commented 1 month ago

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