Bug 472023 - Dialog window can not be closed if a layer is currently being dragged
Summary: Dialog window can not be closed if a layer is currently being dragged
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-06 22:08 UTC by gimmemycomms
Modified: 2023-07-19 15:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gimmemycomms 2023-07-06 22:08:37 UTC
If user is in the process of dragging a layer to a new position in the layers docker and a dialog window pops up (in this case  "Could not save [file path]") the selected layer will remain attached to the mouse and will prevent you from exiting out of the dialog window. You can not drop the layer in place while the dialog window is still open. The only fix is to close the program in the task manager and lose work.

STEPS TO REPRODUCE
1. attempt to drag and drop layer
2. scheduled auto save runs into error saving document and triggers dialog window
3. layer is stuck attached to mouse and window can not be closed

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 10
Comment 1 Dmitry Kazakov 2023-07-19 15:57:52 UTC
I tried to reproduce the bug on Linux and it is impossible to reproduce it. Perhaps it is Windows-specific...

Here a special branch for easy reproduction of the issue:

https://invent.kde.org/dkazakov/krita/-/commit/8ff06ed94087d95c5a5c156836776966fecdace7