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

            Bug ID: 466843
           Summary: Undo works incorrectly in a certain case involving
                    clone frames
    Classification: Applications
           Product: krita
           Version: 5.1.5
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Animation
          Assignee: krita-bugs-n...@kde.org
          Reporter: paleh21...@proton.me
  Target Milestone: ---

SUMMARY
This exists because of https://bugs.kde.org/show_bug.cgi?id=466840 - using the
Move tool on a cloned frame unlinks the clone from the original, and it isn't
taken into account by the Undo function. 


STEPS TO REPRODUCE
1. Create an empty frame
2. Draw a single brushstroke on that frame 
3. Clone (and paste) the frame
(next 2 steps must be each a single step wrt the undo stack)
4. Draw another single stroke on the clone 
5.  Switch to the Move tool, move the picture and press Enter
6.  Undo exactly 2 times (to the state before step 4)

OBSERVED RESULT
The original frame is in the state it was before step 4 - it contains a single
brushstroke - whereas the clone frame (now unlinked from its source)
incorrectly contains 2 strokes.

EXPECTED RESULT
Both frames must return to the state they were before step 4.

SOFTWARE/OS VERSIONS 
Linux: Ubuntu 22.04
Qt Version: 5.12.12

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

Reply via email to