Bug report #21453
Split features tool behaves unpredictably when split line is snapped on a segment
|Affected QGIS version:||3.7(master)||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||29270|
The split features tool sometimes splits and sometimes doesn't split the feature, when the split line's last vertex is snapped exactly on a segment it. I attach a screencast to illustrate the issue because it's not totally reproductible. The issue is the same whether the feature is selected or not. It happens both with polygons and linestring geometries. It's probably due to small floating-point calculation inaccuracies.
In the examples shown in the screencasts, the CRS of the project and the layers (temporary memory layers) was the same (EPSG:3945).