Modify ↓

Opened 5 days ago

Closed 2 days ago

#24992 closed defect (fixed)

The Vineyard icon has gone blank on the preset and toolbar since the change of the drain icon in build 19613.

Reported by: SekeRob Owned by: team
Priority: normal Milestone: 26.09
Component: Core Version: tested
Keywords: icon svg switch Cc: SekeRob

Description

The vineyard grape icon went blank as of release 19613 on Windows. This coincided with the update of the drain icon which got a lining to differentiate from the regular ditch one. First noticed this on my custom preset for vineyards attached to my toolbar, but then when looking at the standard vineyard preset it was the same blank. Notable is from the icon table it has always been for me that .svg icons displayed fine, the ones that are in a .png format have always shown blank on my system even when in for instance the Easy Preset selection matrix the icons show fine, but on saving the preset go blank and when attached to the toolbar remain blank. At any rate in the icon selection matrix the grape icon gone blank which is a novelty.

Please provide any additional information below. Attach a screenshot if possible.

Revision:19613
Build-Date:2026-08-12 01:42:58

Identification: JOSM/1.5 (19613 en) Windows 10 64-Bit
OS Build number: Windows 10 Home 22H2 (19045)
Memory Usage: 3232 MB / 8168 MB (1931 MB allocated, but free)
Java version: 21.0.12+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920x1080x32bpp@59Hz (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_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.19613, -XX:MaxRAMPercentage=50.0, -XX:G1PeriodicGCInterval=3000, --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.exe]
Program arguments: [F:\JOSM_SSD_Data\Fosso delle Farfalle.osm]
Dataset consistency test: No problems found

Plugins:
+ AddrInterpolation (36503)
+ CADTools (23)
+ Columbina (1.0.4)
+ Elevation (0.19.1)
+ FilletTools (0.3.5)
+ FixAddresses (36503)
+ HouseNumberTaggingTool (36503)
+ KindaHackedInUtils (1792760302)
+ MakeParallel (v1.1.0)
+ MicrosoftStreetside (36503)
+ MoveableSideButtons (1767177110)
+ MultiLineToolbar (1767556793)
+ OpeningHoursEditor (36493)
+ QuickLabel (24)
+ RoadSigns (36503)
+ SimplifyArea (36503)
+ account_manager (0.3.2)
+ apache-commons (36483)
+ apache-http (36483)
+ comfort0 (36483)
+ conflation (280)
+ contourmerge (v0.2.3)
+ easypresets (1623509627)
+ ejml (36483)
+ ext_tools (36503)
+ flatlaf (36483)
+ geotools (36483)
+ gridify (61)
+ imagery_offset_db (36503)
+ jackson (36502)
+ javafx (36488)
+ jaxb (36483)
+ jna (36483)
+ jts (36483)
+ libphonenumber (9.0.41)
+ measurement (36503)
+ movemembership (1.3.0)
+ notesolver (0.5.0)
+ osmwiki-dataitem (0.0.8)
+ pbf (36493)
+ phonenumber (1.2.0)
+ pt_assistant (685)
+ reltoolbox (36493)
+ reverter (36503)
+ scripting (v0.4.3)
+ tageditor (36503)
+ terracer (36503)
+ turnlanes (36503)
+ turnlanes-tagging (1786514827)
+ turnrestrictions (36503)
+ undelete (36503)
+ urbaneye3d (2.8.1)
+ utilsplugin2 (36503)
+ wikipedia (448)
+ zoomlevel (0.1.0)

Tagging presets:
+ <josm.pref>/EasyPresets.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Golf_Course&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/AdvertisingPreset&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Maxspeed-zones&zip=1
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/IT.zip
+ https://josm.openstreetmap.de/josmfile?page=Presets/Manholes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/TurnLanes&zip=1
+ https://github.com/kendzi/Simple3dBuildingsPreset/releases/download/0.9_2018-05-08/s3db-preset.zip
+ https://cdn.jsdelivr.net/npm/name-suggestion-index@latest/dist/presets/nsi-josm-presets.min.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/Windrad&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/public_bookcase&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/WifiHotspots&zip=1
+ https://raw.githubusercontent.com/osmItalia/cai_josm_preset/master/cai.xml

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Waterways&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
+ C:\Users\<user.name>\AppData\Local\JOSM\forest-wood inner ring color.mapcss
+ C:\Users\<user.name>\AppData\Local\JOSM\MP Inner-Outer roles.mapcss
+ C:\Users\<user.name>\AppData\Local\JOSM\farm_auxiliary.mapcss
- C:\Users\<user.name>\OneDrive\Downloads\OSM\JOSM\Waterways MapCSS style.MapCSS
+ C:\Users\<user.name>\OneDrive\Downloads\OSM\JOSM\Waterways MapCSS style v3.MapCSS
- https://josm.openstreetmap.de/josmfile?page=Styles/Potlach2_access&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransportV2&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/SlovakiaBicycleRoutes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/ColorWays&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/IncompleteObjectWarnings&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_buildings_en&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1
+ https://gitlab.com/cartocite/josm-style-traffic-signs-orientation/-/raw/main/traffic_sign_orientation_style.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_style_JOSM/master/Styles_Traffic_signs_EUR_OC.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
- https://raw.githubusercontent.com/OpenNauticalChart/josm/master/european-waterways-classification-style/CEMT-style.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/NewParkingFeatures&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PriorityRoad&zip=1
+ https://github.com/praszuk/josm-street-lamps-style/archive/master.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/Lit&zip=1
+ https://raw.githubusercontent.com/tordanik/direction-cones-style/refs/heads/main/direction-cones.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Admin_Boundaries&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Greenery&zip=1
- https://github.com/igitov/forest-josm-style/archive/master.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/LayerChecker&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_buildings_sv&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/SimpleBuildingTags&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/SimpleRoofTags&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Incline&zip=1
- C:\Users\<user.name>\AppData\Local\JOSM\unclosed ring endpoint.mapcss

Validator rules:
+ C:\Users\<user.name>\AppData\Local\JOSM\refvatin check.validator.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Rules/CheckDate&zip=1

Last errors/warnings:
- 00058.303 W: Unable to convert property fill-opacity to type class java.lang.Float: found 0.3
- 00058.311 W: Unable to convert property fill-opacity to type class java.lang.Float: found 0.3
- 00079.731 W: Region [WMS_BLOCK_v2] : Problem verifying disk.
- 00081.744 W: java.io.IOException: Attribution is not loaded yet
- 00081.900 W: java.io.IOException: Attribution is not loaded yet
- 00081.940 W: java.io.IOException: Attribution is not loaded yet
- 00082.058 W: java.io.IOException: Attribution is not loaded yet
- 00259.727 W: Warning - Please select at least one way to simplify.
- 00281.722 W: java.net.SocketTimeoutException: Connect timed out
- 00305.396 W: java.net.SocketTimeoutException: Connect timed out

Attachments (0)

Change History (2)

comment:1 by gaben, 2 days ago

Keywords: svg switch added
Milestone: → 26.09

Thanks for the report, reproduced.

The issue is due to a recent change in the SVG rendering library (from svgSalamander to JSVG). More specifically, the new library does not handle the <switch> element in the vineyard icon.

comment:2 by gaben, 2 days ago

Resolution: → fixed
Status: new → closed

In 19672/josm:

fix #24992 - vineyard preset icon is blank since the JSVG migration

JSVG does not support the SVG <switch> element and drops it together with its children.

Test added for detecting blank rendering icons in resources/images.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.