Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Snapping and vertex tool not working with some layers if snapping was enabled when loaded #33449
It's a regression between 3.10 and 3.11/master.
With snapping enabled, if I open either:
and add any features, snapping doesn't work, what makes also the vertex tool unable to find and highlight any feature.
Steps to reproduce
If I toggle snapping between loading the layer and entering the edit mode:
All the four cases above refer to the first edit session after the layer is loaded. Then, if you rollback the edit mode and enter it again with snapping ON or OFF, the results seem to be persistent (I mean the same as in the first edit session) until the layer is removed from the project.
If you remove the layer and load it again, all symptoms seem to be reset, so you can start another test without any need of using multiple layers nor restarting QGIS in order to get replicable results.