Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Adding way + dragging disables node downloading #148

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

Adding way + dragging disables node downloading #148

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: erik[at]tiq.com
[Submitted to the original trac issue database at 4.40pm, Sunday, 26th March 2006]

If I start editting a way,add lots of segments to the way. Then when I drag the viewport a little to be able to add more segments, two thing will happen

  1. the nodes and lines currently loaded will be removed from the view (normal)
  2. the way I was editing will become red and stay in view
  3. when I drag the viewport, the way segments will be stuck in their x/y pixel on the screen.
    Three things can now happen
    3.1. no new nodes or lines will be added/downloaded..
    3.2. everything works fine.
    3.3. new nodes are downloaded but the way is still positioned at the x/y pixel

In the case of 3.3 I sometimes get this:

[Node 159906 lat:59.3201332092285 lon:18.0718479156494] to [Node 159905 lat:59.319953918457 lon:18.0706462860107]], [Line 119585 from [Node 159905 lat:59.319953918457 lon:18.0706462860107] to [Node 160904 lat:59.3199462890625 lon:18.0703277587891]]]]
Error while running applet.
java.util.ConcurrentModificationException
at java.util.Hashtable$Enumerator.next(Hashtable.java:980)
at org.openstreetmap.processing.OsmApplet.draw(OsmApplet.java:474)
at processing.core.PApplet.display(PApplet.java:1183)
at processing.core.PGraphics.requestDisplay(PGraphics.java:520)
at processing.core.PApplet.run(PApplet.java:1009)
at java.lang.Thread.run(Thread.java:534)

@openstreetmap-trac
Copy link
Author

Author: erik[at]tiq.com
[Added to the original trac issue at 10.31am, Monday, 27th March 2006]

If I start editing a way,add lots of segments to the way. Then when I drag the viewport a little to be able to add more segments, two thing will happen

1.. the nodes and lines currently loaded will be removed from the view (normal) 
2.. the way I was editing will become red and stay in view 
3.. when I drag the viewport, the way segments will be stuck in their x/y pixel on the screen. Three things can now happen 
 3.1. no new nodes or lines will be added/downloaded.. 
 3.2. everything works fine.  
 3.3. new nodes are downloaded but the way is still positioned at the x/y pixel


In the case of 3.3 I sometimes get this:


[Node 159906 lat:59.3201332092285 lon:18.0718479156494] to [Node 159905 lat:59.319953918457 lon:18.0706462860107]], [Line 119585 from [Node 159905 lat:59.319953918457 lon:18.0706462860107] to [Node 160904 lat:59.3199462890625 lon:18.0703277587891]]]] 


Error while running applet. java.util.ConcurrentModificationException?
at java.util.Hashtable$Enumerator.next(Hashtable.java:980) at 
org.openstreetmap.processing.OsmApplet?.draw(OsmApplet?.java:474) at 
processing.core.PApplet.display(PApplet.java:1183) at 
processing.core.PGraphics.requestDisplay(PGraphics.java:520) at 
processing.core.PApplet.run(PApplet.java:1009) at java.lang.Thread.run(Thread.java:534)


@openstreetmap-trac
Copy link
Author

Author: immanuel.scholz[at]gmx.de
[Added to the original trac issue at 10.47am, Monday, 27th March 2006]

Believe it or not, but I did really forget to test whether you can start editing and then dragging the screen.

Just forgot it.. how embarrassing..

I'll look at this today evening.

@openstreetmap-trac
Copy link
Author

Author: immanuel.scholz[at]gmx.de
[Added to the original trac issue at 10.16pm, Monday, 27th March 2006]

fixed in upstream.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant