Modify ↓
#22626 closed defect (fixed)
when I click on the cross of an image, it does not close
Reported by: | leni | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 23.01 |
Component: | Core image mapping | Version: | tested |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- I upload my gpx file (the same in #22625)
- I click on an image
- if I click on the Geotagged Images panel cross to close
What is the expected result?
the Geotagged Images panel is close
What happens instead?
it remains displayed
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2023-01-03 21:28:24 +0100 (Tue, 03 Jan 2023) Revision:18622 Build-Date:2023-01-04 02:30:56 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (18622 en) Windows 10 64-Bit OS Build number: Windows 10 Home 2009 (19044) Memory Usage: 1014 MB / 1970 MB (65 MB allocated, but free) Java version: 17.0.5+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920×1080 (scaling 1.25×1.25) 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_FR Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Dicedtea-web.bin.location=C:\Program Files\utilistairesSystem\OpenWebStart\javaws, -Djava.util.Arrays.useLegacyMergeSort=true, --add-exports=jdk.deploy/com.sun.deploy.config=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop, --add-reads=java.base=ALL-UNNAMED,java.desktop, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop, --add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop,jdk.jsobject, --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop] Plugins: + Mapillary (2.1.1) + PicLayer (1.0.2) + apache-commons (36034) + apache-http (35924) + buildings_tools (36011) + conflation (0.6.9) + contourmerge (v0.1.9) + ejml (35924) + geotools (36028) + imagery_offset_db (35978) + indoorhelper (1.2.2) + jackson (36034) + jaxb (35952) + jna (36005) + jts (36004) + measurement (35978) + opendata (36025) + openqa (v0.3.3) + photo_geotagging (35933) + photoadjust (36011) + reverter (36043) + shrinkwrap (v1.0.4) + tageditor (36011) + todo (30306) + turnrestrictions (36011) + undelete (36011) + utilsplugin2 (36011) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/ParkingLanes&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1 + https://github.com/Jungle-Bus/josm-presets/raw/gh-pages/jungle-stops/Preset_Jungle-Bus.zip Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/PTStops&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_buildings&zip=1 - <josm.pref>\plugins\indoorhelper\resources\sit.mapcss - <josm.pref>\plugins\indoorhelper\resources\sit.mapcss Last errors/warnings: - 00000.372 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF' - 00000.378 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
Attachments (0)
Change History (3)
comment:1 by , 2 years ago
Milestone: | → 23.01 |
---|---|
Version: | → tested |
comment:3 by , 2 years ago
Component: | Core → Core image mapping |
---|
Note:
See TracTickets
for help on using tickets.
It looks like this is due to an exif versus actual image mismatch.
From exiftool (just the relevant parts):
So we are reading the image, rotating the image based off of the orientation, and then setting the actual image width/height.
Anyway, I'll try to apply the following patch next week (we are currently in my "only touch JOSM source for crashing bugs" window) -- if I haven't applied the patch by Tuesday, feel free to ping this to remind me:
src/org/openstreetmap/josm/gui/layer/geoimage/RemoteEntry.java
width, this.height, this.pos,&& this.height == other.height&& this.width == other.widthtest/unit/org/openstreetmap/josm/gui/layer/geoimage/RemoteEntryTest.java
With that patch made, it might be better to ensure that we properly set the width/height, based off of the actual image instead of the loaded orientation.