[krita] [Bug 482315] Selecting created layer does not select it

2024-11-04 Thread Evan Lee
https://bugs.kde.org/show_bug.cgi?id=482315 Evan Lee changed: What|Removed |Added CC||evan.lee...@gmail.com --- Comment #2 from Evan Lee

[krita] [Bug 495811] Issues with addChildNode followed by setActiveNode

2024-11-04 Thread Evan Lee
https://bugs.kde.org/show_bug.cgi?id=495811 --- Comment #1 from Evan Lee --- I tried to find a workaround with setChildNodes but it resulted in a similar internal error. I ran this script on the default document which consists of two layers: "Paint Layer 1" and "Background&qu

[krita] [Bug 495811] New: Issues with addChildNode followed by setActiveNode

2024-11-04 Thread Evan Lee
https://bugs.kde.org/show_bug.cgi?id=495811 Bug ID: 495811 Summary: Issues with addChildNode followed by setActiveNode Classification: Applications Product: krita Version: nightly build (please specify the git hash!) Platform: Microsoft Wi

[krita] [Bug 495708] Node.scaleNode doesn't work when parent node is None

2024-11-02 Thread Evan Lee
https://bugs.kde.org/show_bug.cgi?id=495708 --- Comment #3 from Evan Lee --- (In reply to Halla Rempt from comment #2) > If the node doesn't have a parent, then exactBounds() might fail, iirc. I browsed the code. It looks like that's true for mask layers which is reasonable. For no

[krita] [Bug 495708] Node.scaleNode doesn't work when parent node is None

2024-11-01 Thread Evan Lee
https://bugs.kde.org/show_bug.cgi?id=495708 --- Comment #1 from Evan Lee --- https://invent.kde.org/graphics/krita/-/blob/master/libs/libkis/Node.cpp#L700 This line is pretty common `if (!d->node->parent()) return;`. Is it really needed though? I would expect most transformations

[krita] [Bug 495708] New: Node.scaleNode doesn't work when parent node is None

2024-11-01 Thread Evan Lee
https://bugs.kde.org/show_bug.cgi?id=495708 Bug ID: 495708 Summary: Node.scaleNode doesn't work when parent node is None Classification: Applications Product: krita Version: nightly build (please specify the git hash!) Platform: Other