Minimode provokes an huge lag when putting a lot of tracks in a playlist
Bug #437548 reported by
Steve Dodier-Lazaro
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Exaile |
Fix Released
|
High
|
Mathias Brodala |
Bug Description
If I add my whole library to a playlist, the tracks_added event will be fired ~ 2000 times. And the minimode will use 2 of its functions ~2000 times too, causing a major slowdown. This happens even when the minimode is not active (ie. the main GUI is in use), and when the minimode has been disabled but exaile hasn't been restarted yet.
In a general maneer, I suspect that every bit of code listening to tracks_added will cause major slowdowns. How is tracks_added used right now ? Wouldn't it be better to send it once with a list of new tracks instead of once per track with one track each time ? Especially considering that tracks will be as compact as a loc string in the 0.3.1 branch.
Changed in exaile: | |
status: | New → Confirmed |
milestone: | none → 0.3.1 |
Changed in exaile: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Also, on my Toshiba laptop, Exaile freezes for 3ish seconds when switching to the Entire Library tab with 1746 entries.
Gene