I see a lot of bugs related to task count. Correct me if I'm wrong :

1) every task count is related to a FilteredTree
2) FilteredTree provides get_nodes_count which, according to my tests, is 
always right

Thus, I think that we should ensure that our task count is coming from
FilteredTree and not from a random local way of counting.


Mmmm, not so sure anymore about 1). Do we create the FilteredTree only when 
clicking on a specific tag ? Thus, it might be a bad idea to create at start a 
FilteredTree for every tag. It also means that every FilteredTree instance is 
updated whenever something change…

-- 
"Tasks with no tags" count is wrong
https://bugs.launchpad.net/bugs/583330
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to Getting Things GNOME!.

Status in Getting Things GNOME!: Triaged

Bug description:
>From Bryce's words:

 'Tasks with no tags' appears to be wildly off, and seem to be set to a 
different value each time the program is restarted with WorkView turned on. 
I've seen 233, 760, 494, and 405 reported, when gtg 0.2.x is (correctly, 
consistently) reporting 130 or so. The total number of tasks I have is some 
amount over 700.

The counts for the individual tag entries are all correct, it's just the two 
filter-based items that are inaccurate.

If I switch off Work View, it also reports incorrect numbers. It shows the 
total as 1143 when it should be in the 700's. Toggling WorkView on and off 
seems not to cause the numbers to recalculate, it just switches between 494 and 
1143 or whatever.



_______________________________________________
Mailing list: https://launchpad.net/~gtg
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~gtg
More help   : https://help.launchpad.net/ListHelp

Reply via email to