https://bugs.kde.org/show_bug.cgi?id=497389
Bug ID: 497389 Summary: Unlocking undone merged hidden locked layer raises safe assert Classification: Applications Product: krita Version: nightly build (please specify the git hash!) Platform: Neon OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Layer Stack Assignee: krita-bugs-n...@kde.org Reporter: vitamorus....@gmail.com Target Milestone: --- That title is a mess, but I'll explain. While testing Bug 431431 I was playing around with merging hidden layers and managed to raise a safe assert. To reproduce: 1. Open Krita and create a new document 2. Create 3 layers 3. Hide layer 2 and then lock it (in that order!) 4. Select all 3 layers and merge them 5. Undo the merge (Ctrl + Z) 6. Unlock layer 2 7. A dialog with a safe assert should appear reading: "SAFE ASSERT (krita): "m_newPropertyList == other->m_oldPropertyList" in file /builds/graphics/krita/libs/image/commands/kis_node_property_list_command.cpp, line 113" Log output: ================================================================================ SESSION: 12 Dec 2024 21:25:21 +0100. Executing /tmp/.mount_krita-wmWfjj/usr/bin/krita Krita Version: 5.3.0-prealpha (git 021e347), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 15704 -- -- -- -- -- -- -- -- 12 Dec 2024 21:25:21 +0100: Style: fusion. Available styles: Windows, Fusion 12 Dec 2024 21:25:22 +0100: Database is up to date. Version: 0.0.17, created by Krita 5.2.2, at Wed Feb 28 22:46:18 2024 12 Dec 2024 21:25:25 +0100: KisAppimageUpdater: update check finished. Result: 1 Exit status: 0 path: /.../krita-5.3.0-prealpha-021e347922-x86_64.AppImage output: 12 Dec 2024 21:25:27 +0100: Created image "Unnamed", 3200 * 2000 pixels, 300 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 1 12 Dec 2024 21:25:38 +0100: SAFE ASSERT (krita): "root->visible()" in file /builds/graphics/krita/libs/image/kis_layer_utils.cpp, line 1118 12 Dec 2024 21:25:40 +0100: SAFE ASSERT (krita): "m_newPropertyList == other->m_oldPropertyList" in file /builds/graphics/krita/libs/image/commands/kis_node_property_list_command.cpp, line 113 KRITA DID NOT CLOSE CORRECTLY ================================================================================ -- You are receiving this mail because: You are watching all bug changes.