Created attachment 194321 [details] Before and after deletion. The wrong points are deleted. DESCRIPTION Deleting multiple points at once from a vector shape with multiple subpaths deletes the wrong points. STEPS TO REPRODUCE 1. Create a vector layer. 2. Use the line tool. 3. Add a couple of points on the line. 4. Right click on some of the segments and click "Break at segment". Now there are multiple disjoint line segments. 5. Select a couple of line segments. 6. Delete them. OBSERVED RESULT The selected segments are deleted. EXPECTED RESULT A mix of selected and unselected segments are deleted.
I mixed up the OBSERVED RESULT and EXPECTED RESULT sections. The bug report should say: OBSERVED RESULT A mix of selected and unselected segments are deleted. EXPECTED RESULT The selected segments are deleted.
I think I can confirm the issue: I've tried it and not all selected segments were deleted. I don't see unselected segments deleted, but that might just have been by chance.
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/2865
Git commit 329d8714c652a9c3a519e240a9c835fd9aebeef6 by Dmitry Kazakov, on behalf of Luna Lovecraft. Committed on 27/07/2026 at 11:11. Pushed by dkazakov into branch 'master'. Fix subpath deletion failing sometimes Before this commit sometimes some subpaths would fail to be deleted due to subpath indices shifting when being deleted M +6 -0 libs/flake/commands/KoPathPointRemoveCommand.cpp https://invent.kde.org/graphics/krita/-/commit/329d8714c652a9c3a519e240a9c835fd9aebeef6
Git commit 61aa0c751573866dbc1ef0e8d2e96e245441ec53 by Dmitry Kazakov, on behalf of Luna Lovecraft. Committed on 27/07/2026 at 11:38. Pushed by dkazakov into branch 'krita/6.0'. Fix subpath deletion failing sometimes Before this commit sometimes some subpaths would fail to be deleted due to subpath indices shifting when being deleted M +6 -0 libs/flake/commands/KoPathPointRemoveCommand.cpp https://invent.kde.org/graphics/krita/-/commit/61aa0c751573866dbc1ef0e8d2e96e245441ec53