Created attachment 106121 [details] Video example. Sometimes the "Edit Shapes Tool" can't select "consecutive" vector segments (tested on Ubuntu 14.04 - krita-4.0.0-prealpha-x86_64.appimage). Steps to reproduce: 1) keep deforming around the segments of a shape on vector layer. Actual Results: at a certain point the "Edit Shapes Tool" fails to select some segments (please, see also the video in attachment). Expected Results: always let to select the segments.
I get this a lot as well, and I suspect the corner cases are caused by symmetric nodes, as I do not get this issue when using the polyline shape and then deforming the nodes.
Okay, there are two problems: 1) Some segments are not recognized while mouse hovering (due to some maths problem) 2) The segment is selected, but the outline is not painted because the segment is out of shape bounds, therefore not updated. Without huge refactoring notes here [1], I can only fix the first problem :) [1] - https://phabricator.kde.org/T8021
Fixed in https://commits.kde.org/krita/b739d56cacaf50f3ff6234b75f7f2eb196249396
Git commit b739d56cacaf50f3ff6234b75f7f2eb196249396 by Dmitry Kazakov. Committed on 21/02/2018 at 15:15. Pushed by dkazakov into branch 'master'. Fix selection of path segments by clicking on them There were two problems in segment selection algorithm: 1) It didn't use KoToolBase::handleGrabRect() for fetching grab distance, therefore it was not consistent with the distance we use for other actions. 2) KoPathSegment::nearestPoint() was filtering the final roots incorrectly. When searching for a point with nearest distance it was comparing the value with the **previous** point, but not the **minimal** one. Therefore, incorrect solution was returned. M +12 -12 libs/flake/KoPathSegment.cpp M +14 -14 libs/flake/tools/KoPathTool.cpp https://commits.kde.org/krita/b739d56cacaf50f3ff6234b75f7f2eb196249396