Opened 2 years ago
#22874 new defect
Jump To Position dialog - missing/incorrect label
Reported by: | tmerc58 | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | JumpToPosition | Cc: |
Description
What steps will reproduce the problem?
- Open the Jump To Position dialog
The dialog is missing the preamble label:
Enter Lat/Lon to jump to position.
You can also paste an URL from www.openstreetmap.org
Reference code file : josm/actions/JumpToPosition.java
The dialog uses a border layout. At line 129 the label is assigned to the BorderLayout.NORTH region. At line 150 the main widget panel is assigned to the same region; in this layout each region can only hold one component, thus the first label is replaced and not displayed.
Also, the grammatically correct usage should be "a URL", rather than "an URL". (web consensus - URL is pronounced you-are-el, and 'you' is a consonant sound. An umbrella, a uniform. English, go figure!)
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2023-03-01 15:17:42 +0100 (Wed, 01 Mar 2023) Revision:18678 Build-Date:2023-03-02 02:30:57 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (18678 en) Linux Mint 19.1 Tessa Memory Usage: 440 MB / 3000 MB (137 MB allocated, but free) Java version: 11.0.16+8-post-Ubuntu-0ubuntu118.04, Ubuntu, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 1920×1200 (scaling 1.00×1.00) :0.1 1920×1080 (scaling 1.00×1.00) Maximum Screen Size: 1920×1200 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: en_US.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_US Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: X-Cinnamon Java package: openjdk-11-jre:amd64-11.0.16+8-0ubuntu1~18.04 fonts-noto: fonts-noto:all-20171026-2 Dataset consistency test: No problems found Plugins: + apache-commons (36034) + buildings_tools (36011) + centernode (v1.0.4) + ejml (35924) + geotools (36028) + jackson (36034) + jaxb (35952) + jts (36004) + mapathoner (1.4.2) + measurement (35978) + opendata (36025) + utilsplugin2 (36011) Tagging presets: + ${HOME}/dev/map/josm/Custom/MyPresets.xml Map paint styles: + ${HOME}/dev/map/josm/Custom/hicontrast.mapcss