Closed Bug 353470 Opened 18 years ago Closed 17 years ago

Deleting a Todo also deletes an Email

Categories

(Calendar :: Calendar Frontend, defect)

x86
Windows XP
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: chris.j.bugzilla, Unassigned)

Details

(Keywords: dataloss)

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Build Identifier: Lightning

Deleting a Todo from the Todo tab also deletes an Email.

Reproducible: Always

Steps to Reproduce:
1.Select an Email
2.Select Lightning's Todo Tab
3.Select an Todo
4.Hit the Delete key

Actual Results:  
Todo & Email has been deleted

Expected Results:  
Delete only the selected Todo

See screen shot attached
Attached image Todo & Email selected —
Attached patch now tested patch — — Splinter Review
Intuition tells me this is the right fix, someone should examine that and then ask for review if I'm right.
Flags: blocking0.3+
Keywords: dataloss
Comment on attachment 239365 [details] [diff] [review]
now tested patch

r1=lilmatt
r2=dmose (verbal)

Tested this in Lightning. You fixeded it!
Attachment #239365 - Attachment description: untested patch → now tested patch
Attachment #239365 - Flags: second-review+
Attachment #239365 - Flags: first-review+
Assignee: nobody → jminta
Status: UNCONFIRMED → NEW
Ever confirmed: true
Patch checked in on MOZILLA_1_8_BRANCH and trunk.

-> FIXED
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
There is still one case where this bug can happen:

1. select task
2. select email
3. click on slected task again
4. press del in order to delete last clicked task

--> both email and task are deleted
REOPEN?

using lightning 2006092204/Thunderbird version 2 beta 1 (20060921)
(In reply to comment #5)
> --> both email and task are deleted
> REOPEN?
Yes, that's precisely what this patch was supposed to fix.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This now seems like a selection issue, rather than an event propagation issue.
This fixes the problem with deleting the email message by mistake.

It does _not_ fix the problem where you can try to edit an already deleted todo item (bug 353791).

Mad propz to jminta for spoon-feeding the solution to me.
Assignee: jminta → lilmatt
Status: REOPENED → ASSIGNED
Attachment #239831 - Flags: second-review?(jminta)
Attachment #239831 - Flags: first-review?(cmtalbert)
Whiteboard: [patch in hand][needs review ctalbert jminta]
Comment on attachment 239831 [details] [diff] [review]
Sets focus on todo item appropriately (thanks to jminta)

r2=dmose
Attachment #239831 - Flags: second-review?(jminta) → second-review+
Whiteboard: [patch in hand][needs review ctalbert jminta] → [patch in hand][needs review ctalbert]
Comment on attachment 239831 [details] [diff] [review]
Sets focus on todo item appropriately (thanks to jminta)

Looks good. Good job.
Attachment #239831 - Flags: first-review?(cmtalbert) → first-review+
Patch checked in on MOZILLA_1_8_BRANCH and trunk.

-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → FIXED
Whiteboard: [patch in hand][needs review ctalbert]
I reopen this bug, because this issue isn't fixed for asyncron providers (e.g. WCAP)

This bugfix works with the home calendar.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Flags: blocking-calendar0.7?
Andreas, is this still happening after the checkin for bug 371916? 

I can' test this right now, due to lack of Windows Lightning nightly builds, but I can't really imagine that this still happens with the patch from bug 371916 going in.
Flags: blocking-calendar0.7? → blocking-calendar0.7+
Assignee: lilmatt → nobody
Status: REOPENED → NEW
Marking as WORKSFORME, as this shouldn't be happening after the checkin for bug 371916.
Status: NEW → RESOLVED
Closed: 18 years ago17 years ago
Resolution: --- → WORKSFORME
Issue still exists with the Today Pane using Lightning 0.7pre (2007072308). 

The first press of the Delete key deletes the task from task section of the Today Pane, the second press of Delete key will delete the previously selected email.
Correction: the issue reported in Comment #15 is tracked with Bug 360216.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: