﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
20275	Clicking on a window or changing windows while downloading child elements of a relation freezes JOSM	emergency99	team	"==== What steps will reproduce the problem?
1. Open a few relation windows (e.g all child relations and the master relations of the bus lines 221 and 222 in lower Austria)
2. navigate to the master relation window that was opened second.
3. Click on the child relation tab and onto the ""download all child relations"" button bottom left

==== What is the expected result?
Even when clicking another windoww or the map view while waiting, the loading progress window appears and stays at the front, indicates all the downloads and disappears after afew seconds when all child relations were fully downloaded, with no other window coming to the front afterwards either. 
==== What happens instead?
The first opened relation window comes to the front, and the whole application freezes, without the java process or system noticing, closing buttons no longer work, no input is received by the app.
==== Please provide any additional information below. Attach a screenshot if possible.
A possible related bug (part of this problem) is, that the first opened relation window will always be the top window, as soon as the map is interacted with or a popup opens. The expected behaviour there would be, that whichever window was last selected stays the top window, and no user-unprompted window-changes happen.


{{{
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-11-21 14:56:29 +0100 (Sat, 21 Nov 2020)
Build-Date:2020-11-22 02:30:52
Revision:17329
Relative:URL: ^/trunk

Identification: JOSM/1.5 (17329 de) Mac OS X 10.16
OS Build number: macOS 11.1 (20C69)
Memory Usage: 465 MB / 1820 MB (179 MB allocated, but free)
Java version: 1.8.0_271-b09, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 69732032 1440x900 (scaling 1.0x1.0)
Maximum Screen Size: 1440x900
Best cursor sizes: 16x16 -> 16x16, 32x32 -> 32x32
VM arguments: [-Djava.security.policy=file:<java.home>/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/56/1ee8cfb8-4161f97d, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=NULL,2048m, -Dmacosx.jnlpx.dock.name=JOSM, -Dmacosx.jnlpx.dock.icon=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/25/4c122699-50d06574.icns, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp , -Djnlpx.jvm=""<java.home>/bin/java""]
Dataset consistency test: No problems found

Plugins:
+ CustomizePublicTransportStop (35640)
+ PicLayer (2a9aa7a)
+ apache-commons (35524)
+ ejml (35458)
+ flatlaf (35589)
+ geotools (35458)
+ jaxb (35543)
+ jts (35458)
+ opendata (35640)
+ public_transport (35640)
+ reltoolbox (35640)
+ reverter (35640)
+ utilsplugin2 (35640)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/Bus_lanes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/PublicTransportOneClick&zip=1

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PTStops&zip=1

Last errors/warnings:
- 00020,392 E: org.openstreetmap.josm.io.IllegalDataException: Zeile 1 Spalte 1: Vorzeitiges Dateiende.. Ursache: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
- 00021,858 E: Fehler - <html>Die Datei 'Datenebene 1_20201221_170742212.osm' konnte nicht gelesen werden.<br>Fehlermeldung: <br>Zeile 1 Spalte 1: Vorzeitiges Dateiende.</html>
- 00024,087 E: org.openstreetmap.josm.io.IllegalDataException: Zeile 1 Spalte 1: Vorzeitiges Dateiende.. Ursache: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
- 00028,100 W: Unable to convert property casing-color to type class java.awt.Color: found #66066 of type class java.lang.String!
- 00031,134 E: Fehler - <html>Die Datei '221222.osm_20201221_171729337.osm' konnte nicht gelesen werden.<br>Fehlermeldung: <br>Zeile 1 Spalte 1: Vorzeitiges Dateiende.</html>
- 00050,260 W: Unable to convert property casing-color to type class java.awt.Color: found #66066 of type class java.lang.String!
- 00051,308 W: Unable to convert property casing-color to type class java.awt.Color: found #66066 of type class java.lang.String!
- 00052,447 W: Unable to convert property casing-color to type class java.awt.Color: found #66066 of type class java.lang.String!
- 00132,437 W: Unable to convert property casing-color to type class java.awt.Color: found #66066 of type class java.lang.String!
- 00237,604 W: Unable to request focus for org.openstreetmap.josm.gui.tagging.ac.AutoCompletingTextField[,0,0,287x17,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=javax.swing.border.EmptyBorder@eed771a,flags=288,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],disabledTextColor=javax.swing.plaf.ColorUIResource[r=128,g=128,b=128],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0],selectedTextColor=com.apple.laf.AquaImageFactory$SystemColorProxy[r=0,g=0,b=0],selectionColor=com.apple.laf.AquaImageFactory$SystemColorProxy[r=165,g=205,b=255],columns=0,columnWidth=0,command=,horizontalAlignment=LEADING]
}}}
"	defect	closed	normal		Core		duplicate	template_report	
