Opened 4 months ago
Last modified 4 months ago
#24138 new defect
The ^ character appears unexpectedly in dialog boxes
Reported by: | GerdP | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description (last modified by )
What steps will reproduce the problem?
No idea how exactly this can be reproduced, but I see it very often while editing and it is anoying.
- Switch between different background image layers using the
^
Key - Try to enter a tag value or tag key
What is the expected result?
Dialog box opens with the last entered tag/value pair
What happens instead?
Sometimes the input field is filled with a ^
Please provide any additional information below. Attach a screenshot if possible.
I'll try to add more details once this happens again. I assume that there is a race condition so that sometimes the short cut to switch between layers is not processed quick enough and instead is interpreted as input.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2025-02-03 20:59:54 +0100 (Mon, 03 Feb 2025) Revision:19307 Build-Date:2025-02-04 02:30:32 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (19307 en) Windows 10 64-Bit OS Build number: Windows 10 Pro 22H2 (19045) Memory Usage: 1271 MB / 1888 MB (208 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 (36379) + apache-commons (36379) + buildings_tools (36382) + comfort0 (36379) + ejml (36379) + geotools (36379) + jackson (36379) + jaxb (36379) + jts (36379) + o5m (36379) + opendata (36379) + pbf (36379) + poly (36379) + reltoolbox (36379) + reverter (36379) + undelete (36379) + utilsplugin2 (36379) 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: - 01567.773 W: java.io.IOException: Attribution is not loaded yet - 01567.774 W: java.io.IOException: Attribution is not loaded yet - 01567.774 W: java.io.IOException: Attribution is not loaded yet - 01567.774 W: java.io.IOException: Attribution is not loaded yet - 01567.775 W: java.io.IOException: Attribution is not loaded yet - 01567.775 W: java.io.IOException: Attribution is not loaded yet - 01567.775 W: java.io.IOException: Attribution is not loaded yet - 01567.776 W: java.io.IOException: Attribution is not loaded yet - 01567.776 W: java.io.IOException: Attribution is not loaded yet - 02081.537 W: org.openstreetmap.josm.data.osm.search.SearchParseError: Unexpected token: <xor>
Attachments (0)
Change History (6)
comment:1 by , 4 months ago
Description: | modified (diff) |
---|
comment:2 by , 4 months ago
comment:3 by , 4 months ago
It never happened to me. You could try to reset the preferences, maybe it makes a difference.
comment:4 by , 4 months ago
I've just reproduced it with a freshly started JOSM r19307 with an empty home dir (-Djosm.home=) and it occured with the first dialog box but not again and I am not able to reproduce. Maybe it is something special with Windows or my java version or my keyboard.
comment:5 by , 4 months ago
I don't know if it's related, but just observed a weird behaviour with layer switching. My bind key is 0
and if I press it a 5-10 times after some editing, JOSM occasionally switching twice for a single press. It would align with the race condition theory IMO.
Could be HW issue as well, but I would be surprised, since it's a good quality mechanical keyboard and I have never had any issue in other SW.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2025-02-21 09:07:21 +0100 (Fri, 21 Feb 2025) Revision:19334 Build-Date:2025-02-22 02:30:57 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (19334 hu) Windows 10 64-Bit OS Build number: Windows 10 Pro for Workstations 22H2 (19045) Memory Usage: 1260 MB / 8176 MB (542 MB allocated, but free) Java version: 21.0.6+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
comment:6 by , 4 months ago
It might also be an error on my side. Maybe I pressed the ^
Key by accident when I wanted to press ESC
Since nobody else seems to have this problem it is more likely a problem before the screen ;)
I still don't know how to reproduce, but I can add that the
^
Key also appears in other dialog boxes like "File Save As" or the preferences dialog.The problem occurs also with a freshly started JOSM instance.
I tried to reconfigure the short cut to the
1
Key, but then the action was triggered by but the^
Key and the1
Key.Very strange!