﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
14090	RelationList dialog causes very severe performance issues	nyurik	team	"In file josm/core/src/org/openstreetmap/josm/gui/dialogs/RelationListDialog.java line 151:
{{{
#!java
displaylist.addListSelectionListener(e -> updateActionsRelationLists());
}}}

Whenever I try to fetch Wikidata IDs for a large set of relations, JOSM freezes, sometimes for hours, with 100% CPU on a single thread.  Debugging showed that all the work is being done in the above function. If I close the RelationList dialog, it finishes in seconds.  I tried it in 11362 (svn build)

Repo:  Install wikipedia plugin, and get 1000+ objects using this query. Select all relations, and ""fetch Wikidata IDs"" (Data menu).

{{{
[out:xml][timeout:50];
(
    relation[""wikipedia""]({{bbox}});
);
out meta;
}}}"	defect	closed	normal	16.12	Core		fixed	relationlist performance	
