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

Dnd drag to external w/ Tooltip open will not drop #12488

Open
tkefauver opened this issue Aug 9, 2023 · 0 comments
Open

Dnd drag to external w/ Tooltip open will not drop #12488

tkefauver opened this issue Aug 9, 2023 · 0 comments
Labels

Comments

@tkefauver
Copy link
Contributor

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:

  1. Open ..Avalonia\samples\ControlCatalog\Pages\DragAndDropPage.xaml
  2. Add ToolTip.Tip="Me is tooltip" to the container UserControl
  3. Run ControlCatalog.NetCore and select "Drag+Drop" from the menu
  4. Hover over the control to reveal tooltip
  5. 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.

From #2 on this issue

@tkefauver tkefauver added the bug label Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant