GTG

Remove the need for a systematic browser global refresh when tasks are changed

Bug #486867 reported by Bertrand Rousseau
24
This bug affects 6 people
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Medium
Unassigned

Bug Description

As in revno 377 (and since revno 344), there is a general_refresh function in browser.py that is called in practically every callback dealing with task changes. Normally using TreeModel interfaces and signals from the datastore should be enough to properly update the taskbrowser, with no need to trigger refiltering of the models. We should inspect for a cleaner implementation of this, keeping (or even lowering!) actual performance impact when loading. It would require, I guess, a better handling of row-changed/row_inserted/row_removed signals from the TreeModel and a proper mechanism to insure that we don't trigger too many non-treeview updates (like active task number in titles for instance) when loading.

Related branches

summary: - Remove the need for a systematic global refresh of the browser when task
- are changed
+ Remove the need for a systematic browser global refresh when tasks are
+ changed
Changed in gtg:
status: Confirmed → In Progress
Changed in gtg:
assignee: nobody → Lionel Dricot (ploum)
Changed in gtg:
status: In Progress → Fix Committed
Changed in gtg:
milestone: 0.3 → 0.2.9
Izidor Matušov (izidor)
Changed in gtg:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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