Bug 477649

Summary: Python Paste as Paint Layer
Product: [Applications] krita Reporter: keyth_qcfx2 <keyth2363214>
Component: ScriptingAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 5.2.1   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description keyth_qcfx2 2023-11-28 02:37:00 UTC
Ability to make a paste into new layer directly. Using a command like:

Krita.instance().action( "paste_as_paint_layer" ).trigger()

it would act like “edit_paste” action but would not be tool dependent on how paste would act. Currently “edit_paste” with every tool places a new layer but if the Reference tool is active it places references instead. In contrast “paste_into” does not create a new layer and gets stuck on a transform action and needs a input from the user to be finished. There is a “paste_as_reference” layer so it would be nice to