Bug 423381 - Krita.instance().action("KisToolCrop") returns None
Summary: Krita.instance().action("KisToolCrop") returns None
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Scripting (show other bugs)
Version: 4.3.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Halla Rempt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-23 05:57 UTC by Lewis
Modified: 2020-06-23 09:12 UTC (History)
1 user (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 Lewis 2020-06-23 05:57:25 UTC
SUMMARY
Krita.instance().action("KisToolCrop") returns None

STEPS TO REPRODUCE
1. In Krita Python Scripter: Krita.instance().action("KisToolCrop")
2. Unable to initiate Crop Tool, or other tools for that matter.
3. 

OBSERVED RESULT
None result.

EXPECTED RESULT
Activation of Crop Tool/ Tools

SOFTWARE/OS VERSIONS
Windows: 10

ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2020-06-23 09:12:37 UTC
Okay, we worked around this now. The issues was that tool actions and only are created once there's a canvas.