Closed
Bug 360216
Opened 19 years ago
Closed 18 years ago
Deleting multiple tasks in Todo tab deletes email due to focus issue
Categories
(Calendar :: Lightning Only, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
0.7
People
(Reporter: kopcap, Assigned: michael.buettner)
References
Details
Attachments
(1 file, 1 obsolete file)
|
2.00 KB,
patch
|
dbo
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Opera/9.01 (Windows NT 5.1; U; en)
Build Identifier: Thunderbird 1.5.0.8 (20061025)
When I'm editing Todo list in Lighthing extension for Thunderbird I just push delete button for removing highlighted task, but after deletion one focus in moved to mail messages list in inbox and if I try to push the delete button again I remove some of my mail messages.
I thing it's a bad usabiliy bug.
Reproducible: Always
Steps to Reproduce:
1. install thunderbird with Lightthing calendar extension
2. create mail box with expaned list of all mail directories
3. recieve at least one mail message in to this mail box
4. create several (more than 1) task in todo list
5. go to Todo list and set the focus to some of tasks
6. just push delete button several times
Actual Results:
As you can see after first pushing of delete button you remove a task,
after second pushing you remove a mail message
Expected Results:
The focus should be still in Todo list and next task in list should be highlighted.
I hope the calendar in Thunderbird will more useful and functional because I plan to use it, it's a good feature that motivate me don't use MS Outlook for scheduling of my tasks and events.
Thanks.
Comment 1•19 years ago
|
||
Confirmed using Thunderbird/1.5.0.8 (20061025) and Lightning/0.4a1 (2006111006)
on Windows 2000.
Bug 353470 fixed this issue if a task is selected in Todo tab. But after deletion focus moves back to mail folder instead to the next task in Todo tab. Pressing delete again will remove mail message.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → Windows 2000
Summary: usability: during removing my tasks (in todo) I can tacitly remove message from inbox → Deleting multiple tasks in Todo tab deletes Email due to focus issue
Comment 2•19 years ago
|
||
We have to verify if this is still an issue after the patch from bug 371916 has landed.
Comment 3•19 years ago
|
||
Issue still exists with the Today Pane using Lightning 0.7pre (2007072308).
Updated•19 years ago
|
Severity: normal → critical
Flags: blocking-calendar0.7?
OS: Windows 2000 → All
Hardware: PC → All
Summary: Deleting multiple tasks in Todo tab deletes Email due to focus issue → Deleting multiple tasks in Todo tab deletes email due to focus issue
Updated•19 years ago
|
Flags: blocking-calendar0.7? → blocking-calendar0.7+
Comment 4•18 years ago
|
||
The patch selects the next task after deletion. If the last task is deleted, the one before is selected.
This still deletes an email after all tasks have been deleted.
Assignee: nobody → sebo.moz
Status: NEW → ASSIGNED
Attachment #278331 -
Flags: review?(michael.buettner)
| Assignee | ||
Comment 5•18 years ago
|
||
Comment on attachment 278331 [details] [diff] [review]
select next Task
>+ var index = this.selectedIndex;
> event.stopPropagation();
> this.fireEvent("item-delete");
>+ this.selectedIndex = index;
>+ if (this.selectedIndex == -1) {
>+ this.selectedIndex = index - 1;
>+ }
You could easily calculate the new selection index instead of relying on the listbox. Furthermore, as you already said it doesn't work if the last task has been deleted from the list. In that case it would be better to not fire the event at all.
> This still deletes an email after all tasks have been deleted.
Unfortunately r- since it doesn't solve the problem.
As a side note, this bug would be obsolete after Bug 372830 has landed.
Attachment #278331 -
Flags: review?(michael.buettner) → review-
Updated•18 years ago
|
Comment 6•18 years ago
|
||
(In reply to comment #5)
> As a side note, this bug would be obsolete after Bug 372830 has landed.
Unfortunately the unifinder todo does not solve this problem.
| Assignee | ||
Comment 7•18 years ago
|
||
The delete key isn't handled at all by the unifinder todo list, that's why the corresponding patch doesn't solve the problem [bug 372830] out of the box. This patch adds the missing bits and pieces. Also, what actually caused all the trouble that the event has been erroneously been propagated to the rest of the hierarchy, a missing call to preventDefault() in essence.
Assignee: nobody → michael.buettner
Attachment #278331 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #280337 -
Flags: review?(daniel.boelzle)
Comment 8•18 years ago
|
||
Comment on attachment 280337 [details] [diff] [review]
patch v1
r=dbo
Attachment #280337 -
Flags: review?(daniel.boelzle) → review+
| Assignee | ||
Comment 9•18 years ago
|
||
patch checked in on trunk and MOZILLA_1_8_BRANCH
-> FIXED
| Assignee | ||
Updated•18 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Target Milestone: --- → 0.7
Comment 10•18 years ago
|
||
Checked in Lightning build 2007091703 -> set task to VERIFIED
Updated•18 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•