﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
22908	[patch] Search button's dropdown list not initialized on JOSM lunch	gaben	team	"==== What steps will reproduce the problem?
1. Lunch JOSM
2. Have some search history in the preferences by making some search, content doesn't matter
3. Relaunch JOSM
4. Add a new empty layer
5. Click on the arrow button
[[Image(arrow.png)]]

==== What is the expected result?
The dropdown list is available from lunch, without clicking on the Search button.

==== What happens instead?
One need to click Search button first to initialise the search history, then the dropdown list will be available.

==== Please provide any additional information below. Attach a screenshot if possible.
It makes some of the manual dev testing hard, because of the extra clicks.
{{{
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2023-04-27 16:45:28 +0200 (Thu, 27 Apr 2023)
Build-Date:2023-04-28 01:30:56
Revision:18719
Relative:URL: ^/trunk

Identification: JOSM/1.5 (18719 hu) Windows 10 64-Bit
OS Build number: Windows 10 Pro for Workstations 2009 (19045)
Memory Usage: 975 MB / 7266 MB (611 MB allocated, but free)
Java version: 1.8.0_371-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1200 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1200
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1250
System property sun.jnu.encoding: Cp1250
Locale info: hu_HU
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djava.security.manager, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm-latest.jnlp, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlp.tk=awt, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.splashport=58330, -Djnlpx.home=<java.home>\bin, -Djnlpx.remove=false, -Djnlpx.offline=false, -Djnlpx.relaunch=true, -Djnlpx.session.data=%UserProfile%\AppData\Local\Temp\session6912936828087324594, -Djnlpx.heapsize=NULL,NULL, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\31\583aa85f-32780bce]
}}}
"	enhancement	closed	minor	23.05	Core		fixed	template_report search dropdown arrow	
