GTG

Comment 3 for bug 321903

Revision history for this message
Kevin Mehall (kevin-mehall) wrote : Re: [Bug 321903] Re: Groups for tags

It's working and I'm running it for normal use, but the TreeModel refresh
code is somewhat of a hack.
Before, GTG didn't do much to refresh the TagTreeModel when tags were added
as the tasks were loaded. It happened to work, but for some reason, using
child items in the TagTreeModel breaks things. There's a race condition in
which some tags don't show up.

I attempted (r310 of my branch) to refactor it and properly queue refresh
callbacks so it refreshes only the needed parts of the TagTreeModel, and as
few times as necessary. I couldn't get this to work properly, so I reverted
it and added a call to self.tags_tv.refresh() in TaskBrowser.on_task_added,
which makes it work, but there's a chance that would be slow if someone has
a lot of tasks or tags.

Can someone who knows more about the internals of GTG and GTK take a look at
this?

On Mon, Sep 28, 2009 at 2:30 AM, Lionel Dricot <email address hidden> wrote:

> kevin > any chance to see your branch ready for 0.2 or is it too early ?
>
> --
> Groups for tags
> https://bugs.launchpad.net/bugs/321903
> You received this bug notification because you are a direct subscriber
> of the bug.
>