Bug 461147

Summary: Python Plugin - Channels to Layers not working anymore
Product: [Applications] krita Reporter: grum999
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.1.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Patch to apply to fix bug on plugin

Description grum999 2022-10-29 08:51:40 UTC
Created attachment 153291 [details]
Patch to apply to fix bug on plugin

SUMMARY
From Krita-Artists topic:
https://krita-artists.org/t/node-management-through-api-chaged-between-krita-5-0-6-and-krita-5-1-0/50279?u=grum999

With Krita 5.1.0, node manipulation through API is not working like before (5.0.6)
Then default python plugin "Channel to Layers" provided with Krita is not working anymore.

Dmitri recommended to fix plugin instead of trying to fix node management (working with nodes not attached to document layer stack is not considered as a "normal" case even if it could work)

Attached patch can be used to fix bug.