﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
18921	Minimum height of dialog field to avoid endless flickering	Hb---	team	"==== What steps will reproduce the problem?
1. Copy `https://tiles0.planet.com/basemaps/v1/planet-tiles/australia_wildfire_weekly_visual_2020-01-20_to_2020-01-27_mosaic/gmap/{zoom}/{x}/{y}.png?api_key=ExampleForLongURLText`
2. Open the Imagery preferences.
3. Click TMS, the Add Imagery URL dialog opens as shown in the screenshot.
4. Paste the long URL into the first field

==== What is the expected result?
That the pasted long URL is accepted.

==== What happens instead?
The from field takes the whole size of the dialog box.
The text flickers endlessly like being reformatted. 
Can't enter a name for the imagery and can't click OK.

==== Please provide any additional information below. Attach a screenshot if possible.
Error happens only under Java 8 for long texts when the initial height of the field is smaller than the usual font size in the dialog.

1. For a first solution, please make this whole dialog wider.

2. Why does Java/JOSM present text input fields which are taller than the font?

Java 13 seems to format the whole dailog box different and present bigger text fields.

Initial dialog size:
[[Image(scrInitialSize.png)]]

Flickering field:
[[Image(scrFlickering.png)]]

Attached screenshots are reduced by 50% in size.

{{{
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-03-10 23:31:54 +0100 (Tue, 10 Mar 2020)
Build-Date:2020-03-11 02:30:52
Revision:16111
Relative:URL: ^/trunk

Identification: JOSM/1.5 (16111 en) Windows 7 64-Bit
OS Build number: Windows 7 Professional (7601)
Memory Usage: 1818 MB / 3604 MB (109 MB allocated, but free)
Java version: 1.8.0_242-b08, AdoptOpenJDK, OpenJDK 64-Bit Server VM
Screen: \Display0 1280x1024
Maximum Screen Size: 1280x1024
VM arguments: [-Djosm.home=jtest]
Program arguments: [--language=en]
Dataset consistency test: No problems found

Plugins:
+ buildings_tools (35248)
+ utilsplugin2 (35334)
}}}
"	defect	new	trivial		Core imagery			template_report java8 windows classic laf	
