Bug report #17243
QGIS 3 vertex editor problems
|Affected QGIS version:||3.5(master)||Regression?:||Yes|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||Yes||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||25141|
In QGIS 3, the behaviour of the vertex editor panel, has been changed in conjunction with the refactoring of the interactive node editing on canvas.
However, the usability of the built-in node editor panel (the one with the list of coordinates) suffered a lot.
Currently I see the following issues:
- Vertex editor does not automatically open as it did in 2.18. It can be discussed if the automatic opening of the panel as it happened in 2.18 is useful, because most of the time users don't need exact coordinates, but if this behaviour is changed, the user should at least be able to open the panel on demand from the list of available panel. The vertex editor panel is not in this list currently.
- In QGIS 2.18 if a vertex is interactively selected in the canvas, the list in the vertex editor list scrolls to the selected vertex index and highlights the coordinates of the selected vertex - otherwise the use doesn't know which coordinate he is actually editing. In QGIS 3 this scrolling and highlighting of the coordinates in the list does not work anymore.
- In QGIS 3, the vertex editor panel autocloses as soon as another vertex is selected. Very annoying and makes the editor quite unusable.
Do not auto-close vertex editor on any mouse click (ref #17243)
This is a partial fix for #17243 to improve usability of vertex editor panel.
Until now the vertex editor would get closed on any mouse click in mouse canvas,
making it quite annoying to work with it.
With this change, the vertex editor stays open until is is explicitly closed.
#5 Updated by Alessandro Pasotti over 2 years ago
Actually I think that the most annoying part is that it does not stay open when you select another node in the canvas.
I've looked at the code and it's not a trivial fix: the whole vertex editor widget is completely destroyed every time the user selects a new feature or a new node, this is of course very safe but to restore the old behavior will need some rework.
#6 Updated by Martin Dobias over 2 years ago
The most important problem - the third item from the list in ticket description has been fixed in PR https://github.com/qgis/QGIS/pull/6436
The second item - to synchronize vertex selection from vertex tool to vertex editor table is still waiting for a fix.
The first item - this needs some more thoughts. The vertex editor panel could be available all the time, but it would be empty for the whole time until it is filled with vertex data from vertex tool, so it is questionable if it should be around when empty.
#9 Updated by Bernhard Ströbl almost 2 years ago
Testing with QGIS 3.4.1
Issue 1 seems fixed because the VertexEditor can be opened by right-clicking in the canvas. However I would opt for opening it from the toolbar as Andreas suggests or from the panels menu. Would be automatically opened as soon as there are data from the vertex tool and closed if there are none similar as the advanced digitizing panel: if you enable the panel it is open as soon as a tool is chosen that it supports, but the panel disables and minifies, if the current tool is not supported.
Issue 2 is still open
Issue 3 seems fixed