GTG

Swap visualy subtasks in the same parent is buggy

Bug #353814 reported by Laurent Peuch
4
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Medium
Unassigned

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

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

I didn't reproduced it (must go in 2 minutes) but it looks like we have to fixe that today if possible.

Changed in gtg:
milestone: none → 0.1.1
Revision history for this message
Bertrand Rousseau (bertrand-rousseau) wrote : Re: [Bug 353814] Re: Swap visualy task cause a bug when you want to add a new one

I could reproduce it. I guess we have something broken with the
parent/children relationships.

On Thu, Apr 2, 2009 at 3:58 PM, Lionel Dricot <email address hidden> wrote:
> I didn't reproduced it (must go in 2 minutes) but it looks like we have
> to fixe that today if possible.
>
> ** Changed in: gtg
>    Milestone: None => 0.1.1
>
> --
> Swap visualy task cause a bug when you want to add a new one
> https://bugs.launchpad.net/bugs/353814
> You received this bug notification because you are a member of Gtg
> developers, which is the registrant for gtg.
>
> Status in Getting Things GNOME!: New
>
> 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
>

--
Bertrand Rousseau
Place communale 1, 1450 Chastre, Belgium
e-mail : <email address hidden>
tel : +32 485 96 69 86

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote : Re: Swap visualy task cause a bug when you want to add a new one

I'm not able to reproduce this at all, no mather how hard I tried. Could you check with version later than rev. 233 or explain a bit more how to reproduce this ?

Thanks for your report

Revision history for this message
Laurent Peuch (psycojoker) wrote :

Currently I'm using the ppa.

I've juste download the trunk (rev 233) on LP and the bug seems to have disappear so you can mark it as fix commited and if possible upgrade the ppa.

Changed in gtg:
milestone: 0.1.1 → none
Changed in gtg:
assignee: nobody → ploum
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Bertrand Rousseau (bertrand-rousseau) wrote :

I could reproduce this even in r233. I'm reopening this bug.

Changed in gtg:
assignee: ploum → nobody
importance: Low → Medium
status: Fix Committed → Confirmed
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

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: - Swap visualy task cause a bug when you want to add a new one
+ Swap visualy subtasks in the same parent is buggy
Changed in gtg:
assignee: nobody → Lionel Dricot (ploum)
status: Confirmed → In Progress
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

Fixed in rev.340

Changed in gtg:
status: In Progress → Fix Committed
Changed in gtg:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.