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

            Bug ID: 435056
           Summary: Safe asserts both when undoing and redoing a selection
                    mask after copying contents
           Product: krita
           Version: 4.4.3
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: tomtomtomreportin...@gmail.com
  Target Milestone: ---

SUMMARY
Regression introduced in 4.3.0: Krita throws safe asserts when the user creates
a selection mask, copies the contents, then performs certain undo/redo actions.

STEPS TO REPRODUCE
1. Draw something.
2. Freehand select it.
3. Copy it.
4. Undo twice. (the Copy action appears to be its own action in the undo stack)

OBSERVED RESULT
SAFE ASSERT (krita): "changeList.memento == memento" in file
/home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/image/tiles3/kis_memento_manager.cc,
line 285

When redoing after the above assert:

SAFE ASSERT (krita): "changeList.memento == memento" in file
/home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/image/tiles3/kis_memento_manager.cc,
line 342

EXPECTED RESULT
No asserts.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian sid
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.12.9 (Appimage)  

ADDITIONAL INFORMATION
Also occurs in master. Happens with both raster and vector selections.

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

Reply via email to