#7082 closed defect (fixed)
Strange result while merging nodes with CTRL
Reported by: | mdk | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | Cc: |
Description
Load attached example and
- Grab "Node 1" (keep LMB pressed)
- Press CTRL (to merge node if you would release dragged node over an other node)
- Move "Node 1" over "Node 2", but DON'T release "Node 1"
Now somthing strange happens: The grabed node is placed near "Node 2". A new Node is inserted in the middle of the way from "Node 1" to the end of the way. The new node is selected and will be dragged from now.
You can repeat this endless by dragging the new node over "Node 1" again :-)
Remember: keep CTRL pressed all the time!
Attachments (1)
Change History (10)
Changed 12 years ago by
Attachment: | Unexpected new Nodes.osm added |
---|
comment:1 Changed 12 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
This is Windows-specific bug, harder to reproduce in Linux, see #7888.
comment:5 Changed 11 years ago by
Tested with 5419 on Ubuntu (OpenJDK): The Problem still exists.
The behavior on Windows I can test in some days. The fix for the repeated key_pressed events on Windows may change the behavior, so that the error occure only if CTRL is pressed near the virtual node (so Windows would now behave like Linux).
Here a little detail I saw while testing on Linux:
- To reproduce the error you have to take a node N1 an drag it near to a virtual node V1 (keep LMB pressed).
- If you press now CTRL (BUT DON'T MOVE THE MOUSE!), the cursor changes from the "drag hand" to "grab virtual node" (small cross with node symbol in the upper right corner).
- If you now move the mouse a little bit (still with pressed LMB and CTRL):
- the original node N1, is droppen under the mouse.
- The virtual node V1 is converted into a real node N2 and replaces the old selection (so the new node is now dragged).
- N2 is placed with an offset wich is identical with the dragg vector of N1. (sill in drag mode)
If you press CTRL with no virtual node nearby, the cursor changes to a big outlined cross (CTRL merge nodes).
I hope this helps...
comment:6 Changed 11 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
So the the simple trick only improved behaviour on Windows.
I'll try to fix this.
comment:9 Changed 11 years ago by
Test with '5435 SVN' on Linux: the problem is fixed. Pressing CTRL now always change to "merge mode" (big outlined cross) and no longer to the "grab virtual node" mode.
I will try to test this on Windows tomorrow.
Thanks!
I can't replicate this problem with r4842.