Repository navigation
Fix exceptions thrown by LineTool and PolygonTool - #338
Conversation
…not be composited with the MoveGeometry behaviours. Signed-off-by: Adam Kater <adam.kater@rgi-corp.com>
|
Hi @akater320, Can you become a little more specifc on the kind of exceptions thrown and provide some info on the conditions and steps under which we can reproduce them. I tried to perform some dragging of vertices (even of the whole geometry) in a polygon jdbc layer and I did not experienced any such issue. |
|
Thanks for checking it out. |
|
These errors are logged every time you try and drag vertices? Is it possible that it is some issue related to Mac OS only? I cannot verify them problem since I work on windows env (windows 10) and I have never seen these stack traces while working in advanced editing mode. |
|
To reproduce, on Windows 10 or MacOS:
https://drive.google.com/open?id=1Rs6azz_kau-K6mv_EEbv4g_-B5IbeV9K |
|
OK thanks @akater320 issue verified/replicated based on your instructions. |
|
Hi @fgdrf , |
With "Advanced Editing" enabled in Preferences, PolygonTool and LineTool will throw many exceptions when dragging existing vertices or dragging the entire geometry.
AdvancedFeaturesEventBehavior attempts to composite its sub-behaviours. SelectVerticesWithBoxBehaviour cannot be successfully composited with the move behaviours since they both require the EditToolHandler lock.
The selection command is added to the undo stack, which is consistent with the Edit Geometry (SelectionTool) tool.