Opened 9 years ago
Closed 9 years ago
#12563 closed enhancement (fixed)
enhance preference key `statusbar.decimal-format` also for lat/lon
Reported by: | Klumbumbus | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 16.02 |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description
preference key statusbar.decimal-format
from #12275 does not work for me. I tested with 2 different computers. After changing the value to 0.00 and a josm restart, it still displays only one decimal place. (Also note, that after the restart the format is reseted from xx°xx"xx' to decimal degrees.)
URL:http://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2016-02-23 02:11:42 +0100 (Tue, 23 Feb 2016) Build-Date:2016-02-23 02:34:08 Revision:9854 Relative:URL: ^/trunk Identification: JOSM/1.5 (9854 de) Windows 7 32-Bit Memory Usage: 247 MB / 742 MB (81 MB allocated, but free) Java version: 1.8.0_73-b02, Oracle Corporation, Java HotSpot(TM) Client VM VM arguments: [-Djava.security.manager, -Djava.security.policy=file:C:\Program Files\Java\jre1.8.0_73\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Program Files\josm-latest-bla.jnlp, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=256m,768m, -Djnlpx.splashport=62059, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAA==] Dataset consistency test: No problems found Plugins: - AddrInterpolation (31772) - DirectDownload (31934) - DirectUpload (31912) - HouseNumberTaggingTool (31772) - OpeningHoursEditor (31772) - PicLayer (31895) - RoadSigns (31895) - apache-commons (31895) - buildings_tools (31895) - download_along (31772) - editgpx (31772) - imagery_offset_db (32046) - importvec (31772) - log4j (31895) - measurement (31895) - photo_geotagging (31895) - photoadjust (32016) - public_transport (31895) - reltoolbox (31895) - reverter (32005) - tag2link (31910) - tageditor (31772) - tagging-preset-tester (31895) - terracer (31895) - turnlanes (31772) - turnrestrictions (31895) - undelete (31895) - utilsplugin2 (32018) - wikipedia (32058)
Attachments (2)
Change History (12)
by , 9 years ago
Attachment: | decimal-places.png added |
---|
follow-up: 2 comment:1 by , 9 years ago
comment:2 by , 9 years ago
Replying to simon04:
statusbar.decimal-format
applies to the distance, heading, angle text, but not the latitude/longitude.
Ah, now I understand.
You are expecting the preference key to apply to the deg/min/sec display of latitude/longitude as well?
Yes :) see also http://forum.openstreetmap.org/viewtopic.php?id=53713
comment:3 by , 9 years ago
Summary: | preference key `statusbar.decimal-format` does not work → enhance preference key `statusbar.decimal-format` also for lat/lon |
---|---|
Type: | defect → enhancement |
comment:5 by , 9 years ago
Milestone: | → 16.02 |
---|
comment:6 by , 9 years ago
Locale/formatting issue in unit test:
org.openstreetmap.josm.data.coor.LatLonTest.testFormatting expected:<47°00'00[,]0"N> but was:<47°00'00[.]0"N>
comment:8 by , 9 years ago
With latlon.dms.decimal-format=00.00
I see ...
URL:http://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2016-02-25 01:51:43 +0100 (Thu, 25 Feb 2016) Build-Date:2016-02-25 02:36:49 Revision:9881 Relative:URL: ^/trunk Identification: JOSM/1.5 (9881 de) Windows 7 32-Bit Memory Usage: 247 MB / 742 MB (140 MB allocated, but free) Java version: 1.8.0_73-b02, Oracle Corporation, Java HotSpot(TM) Client VM VM arguments: [-Djava.security.manager, -Djava.security.policy=file:C:\Program Files\Java\jre1.8.0_73\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Program Files\josm-latest-bla.jnlp, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=256m,768m, -Djnlpx.splashport=60968, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAA==] Dataset consistency test: No problems found
by , 9 years ago
comment:9 by , 9 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
statusbar.decimal-format
applies to the distance, heading, angle text, but not the latitude/longitude. You are expecting the preference key to apply to the deg/min/sec display of latitude/longitude as well?