Opened 16 months ago

#22772 new enhancement

Text fields autoselection behavior when activating JOSM window

Reported by: pluton Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:


Select an object, open the Add tag dialog (Alt+a), type something into key or value text fields. Switch to a different program, then back to JOSM. The entire text in the field will be automatically selected, which is inconvenient when I'm in the process of adding a name or a changeset comment and need to switch to a different program to see something, then I have to remember to press right first in order not to overwrite the previous text.

This is probably not a bug, but a feature for some use case. I would prefer to keep the selection as I left it. Maybe make this autoselect behavior configurable?

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

Build-Date:2023-01-30 15:17:59

Identification: JOSM/1.5 (18646 en) Mac OS X 12.6.3
OS Build number: macOS 12.6.3 (21G419)
Memory Usage: 808 MB / 4096 MB (305 MB allocated, but free)
Java version: 17.0.6+10-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel:
Screen: Display 69733248 1680×1050 (scaling 2.00×2.00)
Maximum Screen Size: 1680×1050
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [, --add-modules=java.scripting,java.sql,javafx.controls,,javafx.swing,javafx.web, --add-exports=java.base/, --add-exports=java.desktop/, --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,]
Dataset consistency test: No problems found

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
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 pluton.
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.