You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When doing a DragDrop.DoDragDrop if the PointerEventArgs triggerEvent has a Source with a ToolTip.GetIsOpen(visual) == true for it or a visual ancestor the drop invalidates when over an otherwise valid external target application with a flickering cursor (while moving) between StandardCursorType.No and StandardCursorType.Arrow where the drop will not be performed.
To Reproduce
Steps to reproduce the behavior:
Open ..Avalonia\samples\ControlCatalog\Pages\DragAndDropPage.xaml
Add ToolTip.Tip="Me is tooltip" to the container UserControl
Run ControlCatalog.NetCore and select "Drag+Drop" from the menu
Hover over the control to reveal tooltip
Drag and drop the file/text borders to Explorer/Notepad respectively
Expected behavior
The file or text is dropped on the target application and the cursor doesn't change/flicker to StandardCursorType.No
Desktop (please complete the following information):
OS: Windows 11
Version 22H2
Additional context
This issue doesn't seem to happen if you don't give the tooltip enough time to open.
Describe the bug
When doing a
DragDrop.DoDragDrop
if thePointerEventArgs triggerEvent
has aSource
with aToolTip.GetIsOpen(visual) == true
for it or a visual ancestor the drop invalidates when over an otherwise valid external target application with a flickering cursor (while moving) betweenStandardCursorType.No
andStandardCursorType.Arrow
where the drop will not be performed.To Reproduce
Steps to reproduce the behavior:
..Avalonia\samples\ControlCatalog\Pages\DragAndDropPage.xaml
ToolTip.Tip="Me is tooltip"
to the containerUserControl
ControlCatalog.NetCore
and select "Drag+Drop" from the menuExpected behavior
The file or text is dropped on the target application and the cursor doesn't change/flicker to
StandardCursorType.No
Desktop (please complete the following information):
Additional context
This issue doesn't seem to happen if you don't give the tooltip enough time to open.
From #2 on this issue
The text was updated successfully, but these errors were encountered: