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

Drag adorner freezes on screen after middle mouse button is pressed #493

Open
RayCarrot opened this issue Apr 9, 2024 · 1 comment · May be fixed by #497
Open

Drag adorner freezes on screen after middle mouse button is pressed #493

RayCarrot opened this issue Apr 9, 2024 · 1 comment · May be fixed by #497
Labels
Milestone

Comments

@RayCarrot
Copy link

Describe the bug
There appears to be a bug where the drag adorner can freeze in place on screen. The way I've been able to consistently reproduce it is by dragging an item, while holding down my left mouse button, and then pressing the middle mouse button.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the "Mixed" page in the showcase app
  2. Drag any item with the left mouse button, and without letting go press the middle mouse button
  3. The adorner is now stuck on screen and will even overlap other windows

Expected behavior
I expect the drag-drop operation to be fully canceled and the adorner to stop showing

Screenshots
Showcase

Desktop (please complete the following information):

  • OS: Windows 11
  • Version: 23H2
@VacuumBreather
Copy link

I can confirm this issue, and it happens in our project also under other circumstances, which we haven't been able to reliably reproduce yet, but seem to have the same core issue. State is not correctly reset on Drag Cancellation under certain circumstances. See my PR for a possible fix.

@punker76 punker76 added this to the 4.0.0 milestone Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants