Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tasks disappear from panel when gtg is restarted #1

Open
nimai opened this issue Jan 11, 2012 · 0 comments
Open

tasks disappear from panel when gtg is restarted #1

nimai opened this issue Jan 11, 2012 · 0 comments

Comments

@nimai
Copy link

nimai commented Jan 11, 2012

Using last bazaar revision of gtg and the extension currently available on extensions.gnome.org , tasks disappear when gtg is closed and then started again.

This is reproducible by following these steps:

  • start gtg with the extension enabled
  • observe the tasks added to the calendar panel (not in the same order than in the Workview, but I'm not sure this is a bug), with [..] at the end of the 10tasks displayed.
  • completely quit gtg
  • start gtg
  • only "[..]" and "Open GTG" remain in the tasklist of the calendar panel

I've not been able to fix it, but I've seen this:

[from extension.js, lines 197-203]
/* delete any element after K */
for (index in topKTasks.slice(K + 1)) {
if (task.button) {
task.button.destroy();
task.button = null;
}
}

which looks pretty strange to me, and which might be related to this bug since it is executed for every task when gtg is started, considering that gtg is sending TaskAdded signal and friends using dbus at every start (AFAIK).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant