Modify

Opened 18 months ago

Last modified 18 months ago

#22621 new defect

Display errors in the presets dialogs, not zoomed correctly on Windows 10 - System

Reported by: mikeho Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: hidpi, template_report Cc:

Description

Some/the resets dialog's are displayed too small if the screen is not at zoom level 100% (see attached sceenshots). Tested with josm language in Englisch and German.

My tempory solution: The dialog must be enlarged manually.

The problem first appeared with release 18583, currently installed is release 16821.

Note: I zoom the screen because the fonts in Josm are too small for me on a 4K screen. Is it possible to adjust this?

Revision:18621
Build-Date:2023-01-02 02:23:49

Identification: JOSM/1.5 (18621 en) Windows 10 64-Bit
OS Build number: Windows 10 Home 2009 (19044)
Memory Usage: 400 MB / 8160 MB (174 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×1200 (scaling 1.00×1.00) \Display1 3840×2160 (scaling 1.00×1.00) \Display2 1920×1200 (scaling 1.00×1.00)
Maximum Screen Size: 3840×2160
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_DE
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.18621, --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]
Dataset consistency test: No problems found

Plugins:
+ changeset-viewer (0.0.6)
+ measurement (35978)
+ tageditor (36011)
+ tagging-preset-tester (36011)
+ utilsplugin2 (36011)

Tagging presets:
+ https://www.openrailwaymap.org/josm-presets/de-signals-eso.zip
+ https://www.openrailwaymap.org/josm-presets/de.zip
+ https://www.openrailwaymap.org/josm-presets/de-signals-bostrab.zip
+ https://josm.openstreetmap.de/josmfile?page=Presets/OpenStationMap&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/OpenStationMap&zip=1

Map paint styles:
- https://www.openrailwaymap.org/styles/electrified.zip
- https://www.openrailwaymap.org/styles/standard.zip
- https://www.openrailwaymap.org/styles/maxspeed.zip
- https://www.openrailwaymap.org/styles/signals.zip
- %UserProfile%\Desktop\J-OSM\switches\switch.mapcss
- %UserProfile%\Desktop\J-OSM\railway.mapcss
- %UserProfile%\Desktop\J-OSM\signal\railway_signal.mapcss
- https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- %UserProfile%\Desktop\J-OSM\colored_street.zip
- %UserProfile%\Desktop\J-OSM\direction.mapcss
- %UserProfile%\Desktop\J-OSM\maxspeed\Styles_Maxspeed-style.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
- %UserProfile%\Desktop\J-OSM\maxspeed_as_text\maxspeed_as_text.mapcss
- %UserProfile%\Desktop\J-OSM\driction_of_osm_way\dirction_of_osm_way.mapcss

Last errors/warnings:
- 00002.445 E: java.security.KeyStoreException: Windows-ROOT not found. Cause: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available
- 00007.716 W: Failed to open file with extension 'mapcss' and namepart 'style' in zip file 'colored_street.zip'. Exception was: java.nio.file.NoSuchFileException: %UserProfile%\Desktop\J-OSM\colored_street.zip: java.nio.file.NoSuchFileException: %UserProfile%\Desktop\J-OSM\colored_street.zip
- 00008.434 W: Failed to load Mappaint styles from '%UserProfile%\Desktop\J-OSM\colored_street.zip'. Exception was: java.nio.file.NoSuchFileException: %UserProfile%\Desktop\J-OSM\colored_street.zip
- 00008.435 E: java.nio.file.NoSuchFileException: %UserProfile%\Desktop\J-OSM\colored_street.zip
- 00008.435 W: Failed to load Mappaint styles from '%UserProfile%\Desktop\J-OSM\direction.mapcss'. Exception was: java.nio.file.NoSuchFileException: %UserProfile%\Desktop\J-OSM\direction.mapcss
- 00008.436 E: java.nio.file.NoSuchFileException: %UserProfile%\Desktop\J-OSM\direction.mapcss
- 00010.341 E: Broken tagging preset "railway:signal:position-Signal position" - number of items in 'display_values' must be the same as in 'values'
- 00010.342 E: Detailed information: [left in direction of OSM way, right in direction of OSM way] <> [left, right, overhead, in_track]
- 00010.342 E: Broken tagging preset "public_transport-Public transport?" - number of items in 'display_values' must be the same as in 'values'
- 00010.342 E: Detailed information: [yes, no] <> [station]

Change History (11)

by mikeho, 18 months ago

comment:1 by mikeho, 18 months ago

Postscript:
The error appears also in other dialogs (see attachment: Dialog - Map Paint Styles.PNG).

comment:2 by taylor.smock, 18 months ago

Keywords: hidpi added

You might be interested in wiki:Help/HiDPISupport .

I don't have a windows machine I can use for development/debugging purposes, so this isn't something I can fix easily. One of the other core maintainers might be able to do this, but I don't know.

comment:3 by skyper, 18 months ago

Looks like a problem with JOSM remembering the window size but without the used scaling factor.

@mikeho: Does it persist after manually adjusting the window size or does it only happen after changing the scaling factor?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to mikeho.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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