Closed Bug 709549 Opened 12 years ago Closed 12 years ago

Adding a new task selects the last item in the task list

Categories

(Calendar :: Tasks, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mmecca, Assigned: mmecca)

Details

Attachments

(1 file)

Steps to reproduce:
1) Create a New Task, with the Start Date set to today's date, Repeat to Daily
2) Switch to the Task View, select the Current Tasks filter, sort by Start Date ascending.
3) Select a date in the mini-month a month or so in the future, verify that enough occurrences appear in the list to scroll the view.
4) Select the first task in the list.
5) Create another New Task, with the Start Date set to today's date.

Actual results:
The last entry in the list is selected and displayed, the task just created is scrolled out of view.

Expected results:
The task just created will be selected and visible in the list.

This can also be reproduced when sorting by other columns, and is particularly noticeable when working with large number of tasks.
Assignee: nobody → matthew.mecca
Attached patch Fix v1Splinter Review
Apply sort before selecting new entry
Attachment #580715 - Flags: review?(philipp)
Status: NEW → ASSIGNED
Comment on attachment 580715 [details] [diff] [review]
Fix v1

r=philipp and approval for aurora
Attachment #580715 - Flags: review?(philipp) → review+
Pushed to comm-aurora - http://hg.mozilla.org/releases/comm-aurora/rev/a959f49751bf
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.2
You need to log in before you can comment on or make changes to this bug.