Opened 17 minutes ago
Last modified 7 minutes ago
#25143 new defect
Icons of images are not updated
| Reported by: | GerdP | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Have a layer with Geotagged Images with several pictures at different locations
- Open one of the images
- Switch between different images
What is the expected result?
The icon for the selected image is rendered in red, others in white/gray
What happens instead?
The rendering of the iconds is not (always) updated, sometimes there is a small delay, sometimes no change after several seconds. New rendering seems to depend on the viewport change. Also closing the image viewer dialog triggers the (correct) rendering.
Please provide any additional information below. Attach a screenshot if possible.
Revision:19713 Is-Local-Build:true Build-Date:2026-11-28 09:00:48 Identification: JOSM/1.5 (19713 SVN en) Windows 11 64-Bit OS Build number: Windows 10 Pro 26H2 (26300) Memory Usage: 1712 MB / 11808 MB (197 MB allocated, but free) Java version: 25.0.5.1+2-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920x1080x32bpp@60Hz (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: UTF-8 System property sun.jnu.encoding: Cp1252 Locale info: en_DE Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=1.5.19700, -XX:MaxRAMPercentage=75.0, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM (Debug).exe] Dataset consistency test: No problems found Plugins: + OpeningHoursEditor (36493) + apache-commons (36483) + buildings_tools (36503) + comfort0 (36483) + ejml (36483) + geotools (36483) + jackson (36502) + jaxb (36483) + jts (36483) + o5m (36493) + opendata (36503) + pbf (36493) + photo_geotagging (36503) + poly (36483) + reverter (36503) + terracer (36503) + undelete (36503) + utilsplugin2 (36503) Tagging presets: + c:\josm\core\resources\data\defaultpresets.xml + https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1 Map paint styles: - c:\josm\core\resources\styles\standard\elemstyles.mapcss Validator rules: + d:\java_tools\JOSM\mygeometry.mapcss + https://josm.openstreetmap.de/josmfile?page=Rules/GermanySpecific&zip=1 + c:\josm\core\resources\data\validator\combinations.mapcss + c:\josm\core\resources\data\validator\geometry.mapcss Last errors/warnings: - 00064.573 W: JCS - Silent failure during download: https://opendata.lgln.niedersachsen.de/doorman/noauth/dop_wms?FORMAT=image/png&TRANSPARENT=TRUE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=ni_dop20&STYLES=&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=938646.7073420,6963107.5286664,939258.2035683,6963719.0248927 - 00065.731 W: JCS - Silent failure during download: https://opendata.lgln.niedersachsen.de/doorman/noauth/alkis_wms?FORMAT=image/png&TRANSPARENT=FALSE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=ALKIS&STYLES=&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=938646.7073420,6963107.5286664,939258.2035683,6963719.0248927 - 00067.253 W: JCS - Silent failure during download: https://opendata.lgln.niedersachsen.de/doorman/noauth/dop_wms?FORMAT=image/png&TRANSPARENT=TRUE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=ni_dop20&STYLES=&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=938646.7073420,6962496.0324401,939258.2035683,6963107.5286664 - 00067.846 W: JCS - Silent failure during download: https://opendata.lgln.niedersachsen.de/doorman/noauth/dop_wms?FORMAT=image/png&TRANSPARENT=TRUE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=ni_dop20&STYLES=&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=938035.2111157,6962496.0324401,938646.7073420,6963107.5286664 - 00101.101 W: JCS - Silent failure during download: https://opendata.lgln.niedersachsen.de/doorman/noauth/dop_wms?FORMAT=image/png&TRANSPARENT=TRUE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=ni_dop20&STYLES=&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=937729.4630026,6963260.4027230,937805.9000308,6963336.8397513 - 00101.433 W: JCS - Silent failure during download: https://opendata.lgln.niedersachsen.de/doorman/noauth/alkis_wms?FORMAT=image/png&TRANSPARENT=FALSE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=ALKIS&STYLES=&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=937805.9000308,6963260.4027230,937882.3370591,6963336.8397513 - 00103.099 W: JCS - Silent failure during download: https://opendata.lgln.niedersachsen.de/doorman/noauth/dop_wms?FORMAT=image/png&TRANSPARENT=TRUE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=ni_dop20&STYLES=&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=937805.9000308,6963260.4027230,937882.3370591,6963336.8397513 - 00106.716 W: JCS - Silent failure during download: https://opendata.lgln.niedersachsen.de/doorman/noauth/alkis_wms?FORMAT=image/png&TRANSPARENT=FALSE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=ALKIS&STYLES=&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=937805.9000308,6963336.8397513,937882.3370591,6963413.2767796 - 00107.314 W: JCS - Silent failure during download: https://opendata.lgln.niedersachsen.de/doorman/noauth/alkis_wms?FORMAT=image/png&TRANSPARENT=FALSE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=ALKIS&STYLES=&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=937729.4630026,6963260.4027230,937805.9000308,6963336.8397513 - 00112.878 W: JCS - Silent failure during download: https://opendata.lgln.niedersachsen.de/doorman/noauth/dop_wms?FORMAT=image/png&TRANSPARENT=TRUE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=ni_dop20&STYLES=&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=937805.9000308,6963336.8397513,937882.3370591,6963413.2767796
Attachments (0)
Change History (2)
comment:1 by , 8 minutes ago
comment:2 by , 7 minutes ago
Looks like a regression from #24842. Behaviour is different when I revert the changes for #24842.
If I got that right the problems occurs when I have multiple image icons which are near the same spot. Old (tested) version changes the viewport to center each icon, the latest (wrong) version seems to ignore the small changes and thus doesn't triger a new rendering.
Let me know if you need some images for testing.



Sounds like it's only rendering on layer invalidation. I'm looking into this.