Bug 409746 - Transforming outside bounds causes canvas lock up
Summary: Transforming outside bounds causes canvas lock up
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools (show other bugs)
Version: 4.2.2
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-12 16:03 UTC by wkg28406
Modified: 2019-08-01 16:41 UTC (History)
0 users

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 wkg28406 2019-07-12 16:03:49 UTC
SUMMARY
Krita canvas freezes, and hangs (seemingly indefinitely) on "Waiting for image operation to complete"
Tested with fresh configuration

STEPS TO REPRODUCE
1. New document
2. Draw anything on canvas, some circle
3. Transform large, outside of document bounds, so that it takes some time to render changes
4. ctrl+t while still rendering previous change, try brush (b), other actions
Commit transform changes after every adjustment.

OBSERVED RESULT
Dialog loop, canvas lock up

EXPECTED RESULT
The transform to complete as normal and not having to restart Krita to resume work

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 
Wacom Tablet

ADDITIONAL INFORMATION
Happens consistently with transform tool when moving layer outside of image bounds and trying to perform other actions.

Pressing cancel repeatedly does nothing but prompt the dialog again. Pressing X in the corner repeatedly will sometimes close it, then the canvas will lock up where nothing can be done so a restart is needed. I have reached inconsistent states at this stage when testing and a single crash also.

Saving and other UI is still available, but not canvas operations or zooming, keybinds, etc. Issue happens frequently for me.
Comment 1 wkg28406 2019-07-13 20:13:46 UTC
Just had an instance where this happened but was unable to close dialog, and using move tool. No document bounds. Unable to save. Last actions were move tool and ctrl+s.
Comment 2 wkg28406 2019-07-19 14:48:09 UTC
On Appimage 4.2.3, performing action in locked state causes assert:

SAFE ASSERT (krita): "!m_d->readyShortcut" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/input/kis_shortcut_matcher.cpp, line 579

Clicking abort for developer information does nothing for me.
Comment 3 wkg28406 2019-08-01 16:41:19 UTC
Seems to be fixed in 4.2.4. Closing.