Problem with selecting thousands of items in the hub's userlist

Bug #249159 reported by eMTee
2
Affects Status Importance Assigned to Milestone
DC++
Fix Released
High
Unassigned

Bug Description

Selecting 1000+ of users (or select all with Ctrl-A) in a hub's userlist takes extremly long (30+ seconds) and the gui freezes until its done. Seems the bug introduced in 0.689...

eMTee (realprogger)
Changed in dcplusplus:
importance: Undecided → Low
eMTee (realprogger)
description: updated
Revision history for this message
Brad K. (zelmak) wrote :

The same occurs when manipulating large lists of files/items either selecting for download, adding to queue, changing priority or using 'move' to change the destination directory.

Revision history for this message
poy (poy) wrote :

confirmed, it seems that the UI tries to update itself thousand times (for thousand users) instead of only once...

Changed in dcplusplus:
importance: Low → Medium
status: New → Confirmed
Revision history for this message
poy (poy) wrote :

freezes fixed by using async calls.

it still doesn't seem optimal that list views send as many "selection changed" messages as the number of selected items; some kind of caching, like <http://msdn.microsoft.com/en-us/library/bb774735(VS.85).aspx#Virtual_ListView_Style>, could solve it but that would require many changes...

Changed in dcplusplus:
status: Confirmed → Fix Committed
Pietry (pietry)
Changed in dcplusplus:
status: Fix Committed → Fix Released
Revision history for this message
poy (poy) wrote :

while virtual list views would still be preferable, this has been mitigated for now in rev 2963 by ignoring list selection change messages and updating the status bar once every half second instead.

Changed in dcplusplus:
importance: Medium → High
status: Fix Released → Fix Committed
Revision history for this message
poy (poy) wrote :

Fixed in DC++ 0.800.

Changed in dcplusplus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.