update_views takes a very long time to complete

Bug #1076574 reported by Rafał Cieślak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Accomplishments Viewer
Fix Committed
High
Rafał Cieślak

Bug Description

Currently we use update_views to refresh data that is displayed in all iconviews. It is very slow, because it cleans up entrire treemodels, and fills them back again. Depending on machine specs, it's execution can take up to 0.5 seconds. It is also frequently called when not needed. This makes the interface feel very laggish, especially when resizing the window or using filtering features.

If we migrate all filtering features to gtk filters, and remove the need to clear & refill whole treemodels (most likely giving up on update_views to a set of more efficient calls), not only the application will be much more respondive, but also the code will be much cleaner and well-structured.

Related branches

Changed in ubuntu-accomplishments-viewer:
status: In Progress → Won't Fix
status: Won't Fix → Fix Committed
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.