﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
23554	Validation Results panel lags for 20+ second after deleting a building when I have 400+ validation warnings	anonymous	anonymous	"To reproduce this:

- download area with a 400-800 houses
- select them all by searching for ""building:""
- copy and paste them and then move them so that they all overlap
- open Validation and click Validate, you should see hundreds of building overlap warnings
- open the ""Overlapping buildings"" warnings drop down in the Validation Results panel - I see a spinning beachball for 20 seconds when I do this
- select just one of the buildings and delete it

What I expect:

The building is deleted quickly

What actually happens:

The building is deleted quickly, but then I get a loading spinner for 20 seconds or so where I can't use JOSM at all. For each building. Closing the Overlapping buildings dropdown I can delete buildings quickly without the delay again.

It seems like deleting the actual building is fast but it's doing something else after. I can delete 100s of building at once and the deletion is quick and the amount of delay is the same. There's also a very noticeable switch where deleting becomes fast again once you get down to about 200-400 warnings. It seems like there's some kind of quadratic algorithm somewhere in the dropdown cod of the Validator panel.

I'm on an M1 Macbook Air with 8GB of RAM and JOSM is using 7.1GB of it."	defect	closed	normal		Core		irreproducible		
