← Back to team overview

gtg team mailing list archive

[Bug 353814] Re: Swap visualy task cause a bug when you want to add a new one

 

In fact, it seems that we don't crash anymore. But if you swap a subtask
that was never opened, you will loos it's title

** Changed in: gtg
    Milestone: None => 0.2

** Summary changed:

- Swap visualy task cause a bug when you want to add a new one
+ Swap visualy subtasks in the same parent is buggy

-- 
Swap visualy subtasks in the same parent is buggy
https://bugs.launchpad.net/bugs/353814
You received this bug notification because you are a member of Gtg
developers, which is subscribed to Getting Things GNOME!.

Status in Getting Things GNOME!: Confirmed

Bug description:
Here is the way to make this bug happend.

 - create a new task
 - use the "insert subtask" button to create one new subtask
 - create another new subtask
 - close the popup
 - swap the 2 subtask using drag n drop
 - open your new task
 - press "insert subtask" 
 - freeze !

Using command line mod and ^c^c to kill gtg here is the log:
[15:36:50] psycojoker@Raspoutine:~$ gtg
^CTraceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/GTG/taskeditor/editor.py", line 363, in insert_subtask
    self.textview.insert_newtask()
  File "/usr/lib/python2.5/site-packages/GTG/taskeditor/taskview.py", line 690, in insert_newtask
    startl = self.buff.get_iter_at_line(line)
KeyboardInterrupt