Bug 415090 - Krita crash after selecting "Transform" tool when selection or layer is empty
Summary: Krita crash after selecting "Transform" tool when selection or layer is empty
Status: RESOLVED DUPLICATE of bug 414672
Alias: None
Product: krita
Classification: Applications
Component: Tools/Transform (show other bugs)
Version: 4.2.8
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-12 14:20 UTC by Defresne Thierry
Modified: 2019-12-12 14:48 UTC (History)
1 user (show)

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


Attachments
Session + lldb reports (4.36 KB, text/plain)
2019-12-12 14:20 UTC, Defresne Thierry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Defresne Thierry 2019-12-12 14:20:08 UTC
Created attachment 124443 [details]
Session + lldb reports

SUMMARY
Krita will crash if there is no pixel available on layer or within selection.

STEPS TO REPRODUCE
1. Create a new document
2. Change active tool to "Transform tool"

Alternative:
1. Create a new document
2. Draw pixels on the layer
3. Make an empty selection
4. Change active tool to "Transform tool"

OBSERVED RESULT
Krita crash and closes

EXPECTED RESULT
Change active tool to "Transform tool" without crash

SOFTWARE/OS VERSIONS
Krita:
 Version: 4.2.8
 Languages: en_US
 Hidpi: true

Qt:
  Version (compiled): 5.13.2
  Version (loaded): 5.13.2

ADDITIONAL INFORMATION
Session + lldb reports as attachments
Comment 1 Tiar 2019-12-12 14:24:01 UTC
It doesn't happen in the appimage (because it's actually an assert, not a crash), so you can use it in the meantime.

*** This bug has been marked as a duplicate of bug 414672 ***
Comment 2 Defresne Thierry 2019-12-12 14:48:25 UTC
(In reply to Tymond from comment #1)
> It doesn't happen in the appimage (because it's actually an assert, not a
> crash), so you can use it in the meantime.
> 
> *** This bug has been marked as a duplicate of bug 414672 ***

Great, thank you !