Bug 415090

Summary: Krita crash after selecting "Transform" tool when selection or layer is empty
Product: [Applications] krita Reporter: Defresne Thierry <defresne.thierry>
Component: Tools/TransformAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: tamtamy.tymona
Priority: NOR    
Version: 4.2.8   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Session + lldb reports

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 !