Opened 17 years ago
Closed 16 years ago
#602 closed defect (worksforme)
Strange behavior after creating a node/way and undoing it
Reported by: | Brian Schimmel | Owned by: | framm |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | undo insert | Cc: |
Description
Cause:
Insert a node into an existing way. Click anywhere else to add a new node, which will be connected by a new way. Then press Ctrl + Z to undo this. The new node and new way will be gone as expected, but from now on JOSM will be in the "do-strange-things-mode" and cannot return to a default mode.
When I do this on the shape of "Harz" (a major wood in the middle of germany) this error is 100% reproducable. I was not able to reproduce the error with any other shapes, but on the Harz, it happend about 10 times, each time I had to restart JOSM to continue working.
Errors:
- If you now place additional nodes, they will not be connected
- You can not add nodes into any existing way. I am in the "A"-mode, but Clicking on a unselected way will now select the way and will not create a node
- Dragging nodes shows a selection box, which is not shown normally
- Dragging a zoom box in zoom mode does not behave normally, as all four corners are constantly moving across the screen as you drag the mouse.
- Maybe other errors
Deleting all layers and downloading new ones does not help. Switching modes does not help. Only restarting.
As it happens only on certain ways, this may be a very minor bug.
Attachments (0)
Change History (4)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Sorry for my bad report, but I now found out that the way how you delete is completly irrelevant beacause the error occurs even if I do not delete it at all. The cause should read:
Cause: Insert a node into an existing way. Click anywhere else to add a new node, which will be connected by a new way. From now on JOSM will be in the "do-strange-things-mode" and cannot return to a default mode.
comment:3 by , 17 years ago
Sorry, but I can't reproduce this. Did I miss something?
- Press A and click on the Harz; this adds a node to the way.
- Click somewhere else; this adds a node and creates a new way.
- Press ctrl-Z; this removes the way again.
- But now I can still create new ways. :-(
This is a pretty nasty bug. It happened to me once, too. We have got 2 bug reports now. But I've still got no idea on how this happens. Maybe it helps if I just stare at the code for a while...
When it happened to me, I was using the WMS plugin, so maybe it's related to that;
- What plugins did you use?
- What java version are you using?
- What JOSM version did you use?
comment:4 by , 16 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Could not reproduce this at all. Closing the bug.
When still existing in newer version, please add a detailed description including a download link, so it can be reproduced.
I just noticed that this does not only apply if I undo the node/way creation, but is the same if I manually delete the new way.