Opened 3 years ago
Last modified 3 years ago
#21580 new defect
Opening GPX file changes colours of ways
Reported by: | Roger Calvert | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description (last modified by )
- Open Josm
- Download an area (screenshot 1)
- Load a GPX file which lies within that area (20211119-2.gpx)
Expected result: the GPX track should overlay the Data Layer, without changing it
What happens instead?
The ways on the data layer change to grey (screenshot 2)
This is a new behaviour - it occurs using track files which I have previously used successfully.
Deleting the track restores the colours to normal.
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-11-01 23:05:46 +0100 (Mon, 01 Nov 2021) Revision:18303 Build-Date:2021-11-01 22:25:18 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (18303 en_GB) Windows 10 64-Bit OS Build number: Windows 10 Home 2009 (19042) Memory Usage: 383 MB / 2028 MB (196 MB allocated, but free) Java version: 11.0.10+9-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel Screen: \Display0 2736×1824 (scaling 2.00×2.00) Maximum Screen Size: 2736×1824 Best cursor sizes: 16×16→64×64, 32×32→64×64 System property file.encoding: Cp1252 System property sun.jnu.encoding: Cp1252 Locale info: en_GB Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Dicedtea-web.bin.location=%UserProfile%\AppData\Local\Programs\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: + PicLayer (1.0.1) + measurement (35640) Map paint styles: - https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip Last errors/warnings: - 00000.338 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF' - 00000.339 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF' - 00004.414 W: Unable to request certificate of https://grca.nat.gov.tw
Attachments (3)
Change History (7)
by , 3 years ago
Attachment: | Screenshot 1.png added |
---|
by , 3 years ago
Attachment: | Screenshot 2.png added |
---|
A screenshot of the data layer together with the GPX track
comment:2 by , 3 years ago
Description: | modified (diff) |
---|
comment:3 by , 3 years ago
I noticed little changes with default style, too, switching between wireframe and "normal" mapcss view.
comment:4 by , 3 years ago
I think I have found the solution to this. When the GPX file is loaded, it becomes the Active Layer, and the OSM data then appears in 'other colour'. Changing the active layer to the OSM data restores the colours.
This, to me, is a change in behaviour. Perhaps there is an option controlling it, but I have not been able to find it.
A screenshot of the data layer before the GPX file is opened