Modify

Opened 2 years ago

Closed 2 years ago

#22742 closed defect (irreproducible)

Deleting a tag causes focus to switch to the tag pane search box making continuation of mapping impossible.

Reported by: SekeRob Owned by: SekeRob
Priority: normal Milestone:
Component: Core Version: tested
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Select an existing tag in the tagging pane of the active object
  2. Delete a tag

What is the expected result?

Focus to move to first or nearest tag to the one deleted, the nearest above the one deleted is preferred.

What happens instead?

Focus jumps to tagging search box. Mapping continuation is not possible until selecting a tag line. After deletion when hitting a or s for selection or line drawing, the a and s land in the tag search box instead.

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

This is not the only situation where this happens. For other unknown reasons the focus switches to the tagging pane search box after which map editing can not be done until selecting an existing tag line.

Only been using JOSM for a few months, did not experience this behaviour when first starting using the app.

Always using latest tested as autoloaded by Openwebstart

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2023-01-29 21:53:34 +0100 (Sun, 29 Jan 2023)
Revision:18646
Build-Date:2023-01-30 02:30:56
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18646 en_GB) Windows 10 64-Bit
OS Build number: Windows 10 Home 2009 (19045)
Memory Usage: 530 MB / 4084 MB (315 MB allocated, but free)
Java version: 17.0.5+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: \Display0 1920×1080 (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: 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:
+ Mapillary (2.1.1)
+ apache-commons (36034)
+ buildings_tools (36011)
+ graphview (36011)
+ log4j (36034)
+ notesolver (0.4.2)
+ pt_assistant (1ff2e15)
+ reltoolbox (35976)
+ reverter (36043)
+ routing (35978)
+ turnrestrictions (36011)
+ utilsplugin2 (36011)

Tagging presets:
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/IT.zip
+ https://github.com/kendzi/Simple3dBuildingsPreset/releases/download/0.9_2018-05-08/s3db-preset.zip

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1

Last errors/warnings:
- 00000.428 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00000.431 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00013.517 W: Cannot lock cache directory. Will not use disk cache
- 00013.897 E: Failed to locate image 'bus.png'
- 00014.405 W: Cannot start IPv4 remotecontrol server on port 8111: Address already in use: bind
- 00014.406 W: Cannot start IPv6 remotecontrol server on port 8111: Address already in use: bind

Attachments (0)

Change History (4)

comment:1 by taylor.smock, 2 years ago

I haven't been able to reproduce your problem on Mac or Windows, both with and without OpenWebStart.

As far as the map view not getting keypresses when the filter field has keyboard focus, that is by design.

There is probably something else going on here.

If you don't mind losing your current configuration, can you

  • Back up your configuration file (see wiki:Help/Preferences#Windows for where it is located)
  • Delete your current configuration file
  • Start JOSM
  • Attempt to reproduce the bug
  • Restore the configuration file you backed up (optional)

Do not upload the configuration file to this ticket. It may contain your password or the token you use to authenticate with OpenStreetMap.

comment:2 by taylor.smock, 2 years ago

Owner: changed from team to SekeRob
Status: newneedinfo

comment:3 by anonymous, 2 years ago

Update: Did not delete my config and launched OpenWebStart which downloaded a few bits, 2 or 3 pieces seeing it had JOSM in the lines, but too fast to see what specific parts they were. Mapped most of the day, lots of routing work included, large MPs, the works but the situation not reappearing. Tried the tested reproduction of the behaviour, luck struck, whatever the tags I put in, 2,3,4, and deleting any, the focus remained on the tags and did not skip to the filter line. Started a 2nd and 3rd instance, still luck, can't reproduce. Guess this one for the riddle box and record, but new bits being downloaded during startup makes one wonder.

BTW, I have noticed that if the internet is down I can't start JOSM, it insisting to check your site if there are updated modules. Don't know if this is because of using OpenWebstart.

Thanks for testing at your end. If this happens to come back for me or someone else we might learn more as to the why.

in reply to:  3 comment:4 by taylor.smock, 2 years ago

Resolution: irreproducible
Status: needinfoclosed

Replying to anonymous:

[...] Guess this one for the riddle box and record, but new bits being downloaded during startup makes one wonder.

We haven't changed anything on our end. Maybe there was a change in OpenWebStart that fixed it?

BTW, I have noticed that if the internet is down I can't start JOSM, it insisting to check your site if there are updated modules. Don't know if this is because of using OpenWebstart.

Looks like it. See https://openwebstart.com/docs/FAQ.html#_how_to_start_a_jnlp_application_in_offline_mode_with_openwebstart .

Anyway, thanks for getting back to us. I'm sorry that we cannot fix the original problem (it is kind of hard if we cannot reproduce it).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain SekeRob.
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.