https://bugs.kde.org/show_bug.cgi?id=416019
Bug ID: 416019 Summary: Edit Shapes Tool misbehaves while dragging/bending certain imported paths Product: krita Version: nightly build (please specify the git hash!) Platform: Appimage OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Tools/Vector Assignee: krita-bugs-n...@kde.org Reporter: cebtenz...@gmail.com Target Milestone: --- Created attachment 124978 --> https://bugs.kde.org/attachment.cgi?id=124978&action=edit Reproduces the bug when opened in Krita SUMMARY When using the Edit Shapes Tool to bend a curve from certain imported paths, the curve is moved to the wrong place and the undo history is corrupted. The SVG that reproduces the issue is attached as reproducer.svg. I have been able to reproduce this simply by saving an SVG in Inkscape and opening it in Krita. An apparent workaround is to change the viewBox attribute to viewBox="0 0 1250 750". An apparent way to create a reproducer is to change the viewBox of an SVG saved by Krita to be smaller, e.g. viewBox="0 0 200 300". STEPS TO REPRODUCE 1. Open reproducer.svg in Krita 2. Select the paths and ungroup them 3. Use the Edit Shapes Tool to drag one of the curves, causing it to bend 4. Repeat step 3 but drag in a different direction 5. Attempt to undo steps 3 and 4 OBSERVED RESULT The result of bending the curve is inconsistent with the way it was moved, and often in the opposite direction. When an undo is attempted, the shape continues to bend in directions it was not supposed to. EXPECTED RESULT The curve bends to where the cursor was dragged, just as it normally would. When an undo is attempted, the previous state of the document is correctly restored. Both of these results are observed if the workaround is applied. SOFTWARE/OS VERSIONS Krita: Krita Plus AppImage 4.2.9-alpha (git 0c46041) -- You are receiving this mail because: You are watching all bug changes.