https://bugs.kde.org/show_bug.cgi?id=389067
Bug ID: 389067 Summary: Python Creation of FileLayer Causes Crash Product: krita Version: 4.0.0-beta.1 Platform: Manjaro OS: Linux Status: UNCONFIRMED Severity: critical Priority: NOR Component: Scripting Assignee: krita-bugs-n...@kde.org Reporter: veee...@gmail.com Target Milestone: --- Crashes when creating file layers via Python. Example: document = kritaInstance.activeDocument() file_layer = document.createFileLayer("MyFileLayer", "/home/jesse/Picture/test.png", "None") root_node = document.rootNode() new_list = root_node.childNodes() new_list.append(file_layer) root_node.setChildNodes(new_list) This crashes. I also tried various other ways of setting the child node tree, like instead of calling setChildNodes(). I also tried creating a Node of type "filelayer". That crashes as well. Think it may have something to do with the path that is being generated during FileLayer creation. -- You are receiving this mail because: You are watching all bug changes.