Opened 8 years ago
Closed 8 years ago
#11290 closed defect (fixed)
House Number field needs a minimum width (OSX)
Reported by: | dobratzp | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 15.05 |
Component: | Core | Version: | |
Keywords: | template_report macosx laf nimbus aqua | Cc: | flaimo |
Description (last modified by )
What steps will reproduce the problem?
- Create a new Node or closed Way.
- Select Presets => Annotation => Addresses
- Type a number into the House Number field.
What is the expected result?
You expect to see the number as you type it.
What happens instead?
The number is not displayed at all because the text box is too narrow.
Please provide any additional information below. Attach a screenshot if possible.
If you resize the window after entering a house number, then the text box grows to hold the entered number and retains a minimum width so that the number is displayed even if you make the dialog box smaller.
If you are editing an existing object which already has the addr:housenumber tag set, then the house number text box starts out big enough to display the number.
The house number text box should have a minimum width so that it will display at least 6 characters or so to accommodate most house numbers.
Revision: 8159 Repository Root: http://josm.openstreetmap.de/svn Relative URL: ^/trunk Last Changed Author: stoecker Last Changed Date: 2015-03-29 14:37:50 +0200 (Sun, 29 Mar 2015) Build-Date: 2015-03-30 01:30:55 URL: http://josm.openstreetmap.de/svn/trunk Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last Changed Rev: 8159 Identification: JOSM/1.5 (8159 en) Mac OS X 10.10.2 Memory Usage: 366 MB / 1820 MB (225 MB allocated, but free) Java version: 1.8.0_25, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Dataset consistency test: No problems found Plugins: - FixAddresses (30892) - OpeningHoursEditor (30962) - reverter (30990) - utilsplugin2 (31072)
Attachments (2)
Change History (17)
Changed 8 years ago by
Attachment: | addr_new.png added |
---|
Changed 8 years ago by
Attachment: | addr_existing.png added |
---|
address annotation window after selecting an existing object
comment:1 Changed 8 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 8 years ago by
Owner: | changed from team to dobratzp |
---|---|
Status: | new → needinfo |
Does it still happen with java 8u40?
comment:3 Changed 8 years ago by
Yes, I upgraded to JDK 8u40 and JOSM has the same behavior.
$ java -version java version "1.8.0_40" Java(TM) SE Runtime Environment (build 1.8.0_40-b27) Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
comment:4 Changed 8 years ago by
Owner: | changed from dobratzp to team |
---|---|
Status: | needinfo → new |
comment:5 Changed 8 years ago by
Cc: | osx added |
---|---|
Summary: | House Number field needs a minimum width → House Number field needs a minimum width (OSX) |
Only OSX seems affected since other Java Runtimes do not display such wide buttons (–2 … +2)
comment:6 Changed 8 years ago by
Cc: | osx removed |
---|---|
Keywords: | macosx added |
comment:8 Changed 8 years ago by
Cc: | flaimo added |
---|
comment:9 follow-up: 10 Changed 8 years ago by
Same problem
java -version java version "1.8.0_40-ea" Java(TM) SE Runtime Environment (build 1.8.0_40-ea-b07) Java HotSpot(TM) 64-Bit Server VM (build 25.40-b11, mixed mode)
It's been persistent through at least 4 stable releases of JOSM
comment:10 Changed 8 years ago by
Replying to Aun Johnsen <lists@…>:
Same problem
Yes, we know the problem happens with 8u40. Testing with 8u45 could be useful, but I fear we need to write some OSX specific code to handle these wide buttons, and nobody did that yet.
comment:12 Changed 8 years ago by
I will look into upgrading Java over the weekend if my offshore connection allows. Just mentioned my version as I saw I had different build than the one mentioned
comment:13 Changed 8 years ago by
Yes, it's older. "ea" means "early access", so that's a beta release of 8u40.
comment:14 Changed 8 years ago by
Keywords: | laf nimbus aqua added |
---|---|
Milestone: | → 15.05 |
address annotation on a new object