Modify

Ticket #4725 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Much slower selection list handling since 3102

Reported by: Ldp Owned by: team
Priority: normal Component: Core
Version: Keywords:
Cc:

Description

Since r3102, there's a new and very noticeable lag when selecting many objects.

  1. Load large dataset (40-50k objects or so)
  2. Select all/many of them (CTRL-A or selection range)
  3. The map quickly indicates that they are now selected [1]
  4. Wait... wait... wait. JOSM is blocking. CPU is 100% on single core. [2]
  5. The selection list is updated, and you can continue editing.

Steps 4 and 5 are repeated, even if you add/remove a single object from your selection.

Still present in 3122.

[1] Curiously, when having many objects selected, when (de)selecting additional objects the map only updates after the long delay.

[2] On the order of 15+ seconds on my machine, with 40k objects in the selection.

Attachments

Change History

comment:1 Changed 2 years ago by Gubaer

  • Status changed from new to closed
  • Resolution set to fixed

(In [3123]) fixed #4725: Much slower selection list handling since 3102 Removed sorting of the selection list, was too slow.

comment:2 Changed 2 years ago by anonymous

  • Status changed from closed to reopened
  • Resolution fixed deleted

An unsorted selection list makes finding objects and selecting stuff in the list unusable.

comment:3 Changed 2 years ago by Gubaer

Hmm, the sorting available before 3102 didn't really help in finding objects because it wasn't based on the display name in the list. And one could argue that the selection is now (since a couple of months) ordered and that this order is the important order.

Anyway, I'm going to check in an improved sorting shortly. It will be based on the display name. "named objects" (i.e. those not starting with a number) will be displayed before "numbered objects".

comment:4 Changed 2 years ago by Gubaer

  • Status changed from reopened to closed
  • Resolution set to fixed

(In [3124]) fixed #4725: Much slower selection list handling since 3102

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.