Andrei486 / uml-diagram-collab

0 stars 0 forks source link

Alt+tabbing while dragging causes issues with drag events #88

Open Andrei486 opened 7 months ago

Andrei486 commented 7 months ago

Currently when we alt+tab while holding down the mouse for a drag operation (element move, resize, connector endpoint move), there are issues with the events when going back to the window, and the operation is never completed but the preview stays in place.

It would be nice if alt+tabbing generated a consistent state: either the operation should be cancelled (just delete the preview and make sure the element does not count as being dragged), or the operation should be completed when the alt+tab occurs.

Also investigate other ways of triggering this bug.