-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.10.0
-
None
-
macOS 26 on Apple Silicon
Expected behavior: If the ESC key is pressed while a file is dragged the drag operation is aborted.
Problem: In some cases this does not happen: The ESC key closes the currently focused modal dialog, which was also setup as drop target. Drag operation is not aborted, which leads to a crash as soon as another widget is hovered.
How to reproduce (on macOS):
- build + start the attached app
- start app, click on button -> DragDropDialog opens
- click on Finder window -> DragDropDialog gets inactive
- from Finder, drag (but don't drop!) a file over the DragDropDialog
- (don't drop!) wait a second until the focus is automatically moved to the DragDropDialog, i.e. it gets active
- (don't drop!) press ESC -> the DragDropDialog is closed
- (don't drop!) move the mouse cursor over the MainWindow -> the app crashes immediately; if the mouse cursor was already over the MainWindow, the crash happens as soon as ESC is pressed and the modal dialog is closed