https://bugs.kde.org/show_bug.cgi?id=390725

--- Comment #2 from wolthera <griffinval...@gmail.com> ---
Actually, disabling the use of setColorSpace doesn't solve the safeAssert, it
just solves the refresh warning.

The safe assert is caused by the following:

1. Open a document in python
2. get the rootNode of the object.
3. Write a function to itterate over the child nodes, setting their labels or
whatever, and if a child node has children, apply the function on those. Put
the root node in this.
4. close the document.

3 in particular seems to cause the document not to close, with a simple script
like this:
-------------------------------------------------
def removeLayers(self, labels, node):
        if node.colorLabel() in labels:
            node.remove()
        else:
            if node.childNodes():
                for child in node.childNodes():
                    self.removeLayers(labels, node=child)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to