On Wed, Jan 28, 2009 at 9:35 AM, Lionel Dricot <email address hidden> wrote:
>
>> I guess we have to store the list of expanded tasks, and restore it at
>> each refresh. We could store this information in the configuration file,
>> as you ask.
>
> That's what we are doing now. This list is created at every refresh. If
> you switch to another tag, it will list the currently expanded tasks. Of
> course, the tasks who don't have the tag are not listed because they are
> not in the treeview so not considered as expanded.
>
> My proposition :
> - Keep the current "restore_expand" mechanism which is good.
> - Don't build the expanded list at every refresh but instead add/remove
> task from it when the signal expanded_toggle is received.
The problem is that the expand_toggle signal is sent from every row
when you use expand_all()
>>
>> I'm taking charge of this bug since I will implement the storage the
>> expanded state in the config file as well (see bug #322120).
>>
>> --
>> The expanding state should be remembered accross refresh
>> https://bugs.launchpad.net/bugs/313030
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>
> --
> The expanding state should be remembered accross refresh
> https://bugs.launchpad.net/bugs/313030
> You received this bug notification because you are a member of Gtg
> developers, which is the registrant for gtg.
>
> Status in Getting Things Gnome!: Fix Released
>
> Bug description:
> Because expand_all for each refresh can be annoying
>
On Wed, Jan 28, 2009 at 9:35 AM, Lionel Dricot <email address hidden> wrote:
>
>> I guess we have to store the list of expanded tasks, and restore it at
>> each refresh. We could store this information in the configuration file,
>> as you ask.
>
> That's what we are doing now. This list is created at every refresh. If
> you switch to another tag, it will list the currently expanded tasks. Of
> course, the tasks who don't have the tag are not listed because they are
> not in the treeview so not considered as expanded.
>
> My proposition :
> - Keep the current "restore_expand" mechanism which is good.
> - Don't build the expanded list at every refresh but instead add/remove
> task from it when the signal expanded_toggle is received.
The problem is that the expand_toggle signal is sent from every row
when you use expand_all()
>> /bugs.launchpad .net/bugs/ 313030 /bugs.launchpad .net/bugs/ 313030
>> I'm taking charge of this bug since I will implement the storage the
>> expanded state in the config file as well (see bug #322120).
>>
>> --
>> The expanding state should be remembered accross refresh
>> https:/
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>
> --
> The expanding state should be remembered accross refresh
> https:/
> You received this bug notification because you are a member of Gtg
> developers, which is the registrant for gtg.
>
> Status in Getting Things Gnome!: Fix Released
>
> Bug description:
> Because expand_all for each refresh can be annoying
>
--
Bertrand Rousseau
Place communale 1, 1450 Chastre, Belgium
e-mail : <email address hidden>
tel : +32 485 96 69 86