GTG

Using backspace when editing task can promote text as subtask and causes erratic behavior

Bug #398651 reported by Jonathan Voss
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
High
Unassigned

Bug Description

If one opens a task that has text, then subtasks, and one deletes the first subtask with backspace and then backspaces up into the paragraph, all text entered at the end of that paragraph and subsequent lines will be considered a subtask. This causes many problems with the main window, and it becomes possible to create subtasks with no title that show up as blank lines in the main window, and subtasks that begin with the → character by entering "- test". Selecting all this text and deleting it then cause the selected subtasks to become tasks often with unusual names, sometimes the name will be the tags given to the subtask.

Changed in gtg:
importance: Undecided → High
milestone: none → 0.2
status: New → Confirmed
summary: - Task editing gets confused and causes many problems
+ Using backspace when editing task can promote text as subtask and causes
+ erratic behavior
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

I cannot reproduce that with the latest trunk. Can you please post a step by step guide to reproduce your problem starting from the default tasks ? (use ./scripts/debug.sh in a fresh trunk checkout)

Thanks

Changed in gtg:
assignee: nobody → Lionel Dricot (ploum)
status: Confirmed → Incomplete
Revision history for this message
Jonathan Voss (jonathan-voss) wrote :

1. Create a new task
2. Enter a small paragraph of normal text
3. On the next line, enter "- a test task"
4. Hit return so it gets converted to a task
5. Move the cursor after the 'a' in "a test task"
6. Backspace a few times until you are in the paragraph of plain text. The paragraph should now begin with ordinary text and end with "test task" in clickable blue text.
7. Move to the end of "test task" and hit return.
8. Type a few short tasks. They will show up without arrows. Also try entering "- another test task" and hitting return. Various weird things are now possible.

Changed in gtg:
status: Incomplete → Confirmed
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

Fixed in rev. 327

It was a lot easier than expected, I'm really happy to finally solve this ugly things :-)

Changed in gtg:
status: Confirmed → 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.