Opened 4 years ago
Last modified 4 years ago
#20923 new defect
Multiple images displayed from restored session file
Reported by: | motogs | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core image mapping | Version: | |
Keywords: | template_report session | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- Restoring a *.joz session file
- Clicking on any geo-located image icon created in JOSM from a *.gpx file containing image references created by OSMTracker
What is the expected result?
Only one image will be displayed.
What happens instead?
Double the number from the previous session are displayed. I'm currently up to 16 for one click on any icon on one session.
Please provide any additional information below. Attach a screenshot if possible.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-04-27 20:35:33 +0200 (Tue, 27 Apr 2021) Build-Date:2021-04-27 21:58:39 Revision:17833 Relative:URL: ^/trunk Identification: JOSM/1.5 (17833 en_GB) Windows XP 32-Bit OS Build number: Microsoft Windows XP (1.511.1 () (Obsolete data - do not use)) Memory Usage: 247 MB / 989 MB (86 MB allocated, but free) Java version: 1.8.0_151-b12, Oracle Corporation, Java HotSpot(TM) Client VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920×1080 (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: Cp1252 System property sun.jnu.encoding: Cp1252 Locale info: en_GB Numbers with default locale: 1234567890 -> 1234567890 Plugins: + HouseNumberTaggingTool (35640) + apache-commons (35524) + apache-http (35589) + buildings_tools (35669) + ejml (35458) + geotools (35458) + javafx-windows (35655) + jaxb (35543) + jna (35662) + jts (35458) + mapathoner (1.1.7) + markseen (14) + measurement (35640) + opendata (35640) + openjfx + print (35640) + reltoolbox (35640) + rex (53) + terracer (35640) + turnrestrictions (35640) + undelete (35640) + utilsplugin2 (35691) Last errors/warnings: - 00009.117 E: java.lang.IllegalStateException: Error adding certificate AC RAIZ FNMT-RCM - certificate fingerprint mismatch. Expected ebc5570c29018c4d67b1aa127baf12f703b4611ebc17b7dab5573894179b93fa, was 4d9ebb28825c9643ab15d54e5f9614f13cb3e95de3cf4eac971301f320f9226e - 00009.347 W: Missing plugin main version in plugin microdata_scraping - 00009.832 W: Missing plugin main version in plugin microdata_scraping - 00010.076 W: Plugin openjfx requires Java version 11. The current Java version is 8. You have to update Java in order to use this plugin.
Attachments (9)
Change History (14)
comment:1 by , 4 years ago
Component: | Core → Core image mapping |
---|---|
Description: | modified (diff) |
Keywords: | session added |
by , 4 years ago
Attachment: | 2021-01-07 - Shuttle-Green Chain.joz added |
---|
comment:2 by , 4 years ago
I'm attaching a joz file exhibiting this behaviour as it may help with the diagnosis.
by , 4 years ago
Attachment: | 20923-0th.gpx added |
---|
by , 4 years ago
Attachment: | 20923-1st.joz added |
---|
by , 4 years ago
Attachment: | 20923-2nd.joz added |
---|
by , 4 years ago
Attachment: | 20923-3rd.joz added |
---|
comment:3 by , 4 years ago
You mean audio marker originating from the GPX file, right?
A simpler way to reproduce (involving a smaller GPX/session file):
- Start JOSM
- Open attachment:20923-0th.gpx
- Save session as. This yields attachment:20923-1st.joz
- Remove all layers
- Open session file attachment:20923-1st.joz
- Save session as. This yields attachment:20923-2nd.joz
- Remove all layers
- Open session file attachment:20923-2nd.joz
- Save session as. This yields attachment:20923-3rd.joz
- Remove all layers
- Open session file attachment:20923-3rd.joz
- Click the audio marker
- 4 dialogs appear that the audio file does not exist
comment:4 by , 4 years ago
Hi Simon04.
I think what you're saying is that if you do the steps you list, that you get a similar effect. ie it's looking for the audio file 4 times instead of just once. ??
I was actually referring to multiple photographs displayed when clicking a photograph marker, not audio, so I guess it happens on audio as well as photo, though I don't perceive audio playing more than once.
The photos are all displayed on top of one another, so in my last session (for example) I had to click the cross in the top-right corner of each of their windows 16 times to remove all 16 identical windows.
comment:5 by , 4 years ago
Hi Simon04,
I've done the same as what you did using a small gpx file with one image and one audio reference, as
this may also help.
The following are the steps I took:
- Start JOSM
- Open gpx file "2021-05-30 - test - wav file.gpx"
- Save session as "2021-05-30 - test1.joz"
- Remove all layers
- Open session file "2021-05-30 - test1.joz"
- Save session as "2021-05-30 - test2.joz"
- Remove all layers
- Open session file "2021-05-30 - test2.joz"
- Save session as "2021-05-30 - test3.joz"
- Remove all layers
- Open session file "2021-05-30 - test3.joz"
- Click the audio marker
- Audio plays once
- Click the image marker
- Image opens
- Delete image (1st time)
- Identical image remains (same location)
- Delete image (2nd time)
- Identical image remains (same location)
- Delete image (3rd time)
- Identical image remains (same location)
- Delete image (4th time)
- No image remains
I think sound files also double up (as well as the images) with each save/open process because when I got to 32, there's a very noticeable delay before the file is heard. This would tally with the four dialogs that you got. (Maybe each new loading cancels the playing of the previous one?)
I'll attach the gpx and the three joz files.
by , 4 years ago
Attachment: | 2021-05-30 - test - wav file.gpx added |
---|
by , 4 years ago
Attachment: | 2021-05-30 - test1.joz added |
---|
by , 4 years ago
Attachment: | 2021-05-30 - test2.joz added |
---|
by , 4 years ago
Attachment: | 2021-05-30 - test3.joz added |
---|
A *.joz file exhibiting the described behaviour