Opened 14 years ago
Closed 14 years ago
#6034 closed defect (fixed)
OpenStreetBugs layer appears 2 times in the Layers window
Reported by: | jBeata | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin openstreetbugs | Version: | |
Keywords: | Cc: |
Description
After activating the OpenStreetBugs layer, the layer appears 2 times in the Layer window.
Attachments (1)
Change History (8)
comment:1 by , 14 years ago
Component: | Core → Plugin openstreetbugs |
---|
comment:2 by , 14 years ago
comment:3 by , 14 years ago
Under Linux install JOSM editor. Download the Openstreetbugs plugin, and activate after a JOSM restart. In the layers window the Openstreetbugs layer appears two times.
I'm not sure if it is a Linux related issue or not. This issue happens only after a fresh install of JOSM under linux.
by , 14 years ago
comment:6 by , 14 years ago
Die Methode updateLayer, die dafür zuständig ist, den OsbLayer hinzuzufügen, wenn er noch nicht vorhanden ist, wurde von zwei unterschiedlichen Threads aufgerufen. Da lag eine race condition vor, so dass in manchen Fällen beide Threads bei der Überprüfung bemerkt haben, dass der OsbLayer nicht vorhanden ist und ihn deshalb auch beide angelegt haben. Ich habe die Methode jetzt synchronisiert, so dass diese race condition ausgeschlossen ist.
comment:7 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Can you please describes the steps to reproduce this bug? I can't get JOSM to show two OSB layers.