Hi Luca,

Can we imagine to remove the task in the UI before actually deleting it
?

-- 
removed tasks are not removed from UI under certain cases
https://bugs.launchpad.net/bugs/571940
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!: Confirmed

Bug description:
- create a task
- open it
- from the editor, create a subtask
- delete it from the editor

The subtask gets deleted (check with Bryce's gtcli), but the widget 
representing the subtask stays in the browser.

The cause of this is in GTG/taskbrowser/tasktree.py , remove_task function.
That function gets called at the end of the deletion (when the task is no more 
in the "tree"), and should remove the row associated with the task from the UI. 
To get the correct row, it calls get_path_for_node(), but that function will 
return None, since the node is no more in the tree.

So, remove_task cannot find out which is the correct row to remove, and does 
nothing (leaving the row that should have been removed still visible).





_______________________________________________
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