Opened 10 minutes ago
Last modified 3 minutes ago
#25038 new defect
Drop-Down-Menus sometimes show unexpected selection, depending on mouse cursor position
| Reported by: | GerdP | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
This is a long standing bug and I finally understood what happens.
- Create new node close to the middle of the screen
- Press Alt+A to add a tag
- See e.g. the popup showing
highwayandfootway - press Tab to go to the value field
- type "tu"
- press Down to show the list of known values
What is the expected result?
A list with all known highway values from presets, data, etc. is shown and the first value starting with "tu" is selected, typically this would be turning_circle and the next value should be turning_loop
What happens instead?
The list is shown as expected but the selected value might be e.g. primary if the mouse cursor happens to be in the row at this position. If the mouse cursor is e.g. left from the dialog the correct value is selected and a single press on Down selects the wanted value turning_loop.
Please provide any additional information below. Attach a screenshot if possible.
The drop down menu should not care about the mouse cursor unless I touch the mouse to select something.
I think the same problem occurs in all dialogs, and I sometimes produced nonesense upload comments because I expected a different behaviour.
Revision:19689 Is-Local-Build:true Build-Date:2026-11-18 09:15:12 Identification: JOSM/1.5 (19689 SVN en) Windows 11 64-Bit OS Build number: Windows 10 Pro 25H2 (26200) Memory Usage: 440 MB / 6144 MB (130 MB allocated, but free) Java version: 21.0.2+13-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.19039, --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 HWConsole.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 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: - 00000.673 W: extended font config - overriding 'filename.Malgun_Gothic=malgun.ttf' with 'MALGUN.TTF' - 00000.675 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF' - 00000.676 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF' - 00001.086 E: java.security.KeyStoreException: Windows-ROOT not found. Cause: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available - 00001.216 W: Missing plugin main version in plugin mapwithai - 00001.818 W: Missing plugin main version in plugin mapwithai
Attachments (1)
Change History (2)
comment:1 by , 3 minutes ago
by , 2 minutes ago
| Attachment: | Screenshot 2026-11-18 091213.png added |
|---|



I tried to produce screen shots showing the problem but the Windows screen shot tool eliminates the mouse cursor :(
Hope my description allows to reproduce the problem anyway, because I have no clue where to fix this. Might even be a Java bug.