Closed Bug 1428254 Opened 6 years ago Closed 3 years ago

Deleting selected events from main calendar view needs confirmation with opt-out, or inline notification with immediate undo option

Categories

(Calendar :: General, defect, P2)

Lightning 5.4.5
defect

Tracking

(thunderbird_esr91 wontfix, thunderbird93 verified)

VERIFIED FIXED
93 Branch
Tracking Status
thunderbird_esr91 --- wontfix
thunderbird93 --- verified

People

(Reporter: jhardin, Assigned: lasana)

References

Details

(Keywords: ux-error-prevention)

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Build ID: 20170311150239

Steps to reproduce:

1. Select/highlight one or more calendar events from a local calendar
2. Right-click on one
3. Accidentally click the "Delete" option in the context menu (intended to click something else)
4. Poof! Gone!
5. Hit ^Z, look for Undo, curse


Actual results:

All highlighted calendar events disappeared without confirmation.

Unable to undo the Delete and recover them.


Expected results:

Display confirmation prompt dialog like "Are you sure you want to delete these calendar events? Y/N". (Potentially prompt only if more than one event is selected.)

Support ^Z or Edit->Undo to undo the delete and restore the event(s). (Don't need to remember a history of changes, because it's pretty apparent right away what happened.)
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
Assignee: nobody → mschroeder
Assignee: mschroeder → nobody

I'm a heavy keyboard user, and this bug drives me crazy. It happens to me because I've clicked on "New Event" in the Today Pane on the right, and created an event. I then forget that this has happened, and hit the delete key, thinking I'm deleting the current email (which is still highlighted!). The event is then deleted. Even worse, in addition to know confirmation, I sometimes don't even notice it happen because I'm not even looking at the calendar! I discover weeks later that accidentally deleted something.

Is there any other workaround apart from just turning off the Today Pane?

I can confirm this behavior, also on Linux. The same happens for tasks, and I've lost some information, when the focus was accidentally on TB/Lightning.

Subscribing.

Just ran into this one now. Deleted a calendar item because mistook it for another one that was worded close to it. Now I have no idea what I deleted, nor have the ability to get it back. That's going to eat at me as I am sure it was something important that I was supposed to remember...

Component: Lightning Only → General

The Undo part of this bug has been fixed by bug 1337356. That's good for ux-error-recovery. However, as comment 1 and a number of other comments on related bugs have pointed out, you may never notice accidental deletion in the first place, then undo won't help.

So I believe that we still need a confirmation prompt for deleting selected events in the main calendar view for ux-error-prevention.
Also ux-consistency: Ironically, we currently warn if you explicitly click Delete button inside a single event, but if you select 10 events in main calendar and press Delete believing you'll delete just one (or accidentally), 10 events will just silently go away.
We also prompt for similar scenarios like deleting addresses.

Perhaps ux-error-prevention could be covered with an inline notification with undo option directly after deleting events - maybe roughly the same amount of work compared to prompt with opt-out.

Morphing this to cover the ux-error-prevention part.

Status: UNCONFIRMED → NEW
Ever confirmed: true
See Also: → 1337356
Summary: Calendar event delete does not confirm, has no undo → Deleting selected events from main calendar view needs confirmation with opt-out, or inline notification with immediate undo option

I agree this should have a prompt.

Assignee: nobody → lasana
OS: Windows 7 → All
Priority: -- → P2
Hardware: x86_64 → All

Being prompted each time you attempt to delete an event from the calendar views when you have lots of events on your calendar is likely to be annoying. Should this be hidden behind some kind of pref?

Flags: needinfo?(mkmelin+mozilla)
Flags: needinfo?(geoff)

A "don't ask me again" check box should do the job.

Flags: needinfo?(geoff)

(In reply to Lasana Murray from comment #8)

Being prompted each time you attempt to delete an event from the calendar views when you have lots of events on your calendar is likely to be annoying. Should this be hidden behind some kind of pref?

...you mean a prompt for each one separately if you select a hundred events and context-menu->Delete like in the repro?

No, of course not; a single confirmation dialog like "You are about to delete ### events. [OK] [CANCEL]" would be sufficient.

If you're not multi-selecting a bunch first, then a mouseclick-[Delete]-[Enter] rhythm is easy to get into.

(In reply to Geoff Lankow (:darktrojan) from comment #9)

A "don't ask me again" check box should do the job.

It should not remember that past the current session, unless that appears in the config menus so that you can re-enable the confirmation dialog again.

Still pending after four years. :( I'm glad I'm no longer using TB+Lightning to do timekeeping...

Status: NEW → ASSIGNED

"don't ask me again" we have for many dialogs, so yes just that, with a pref.
I can't see how deleting events would be an operation people do very often, so probably there's not much annoyance about confirming for the cases where one does it.

Flags: needinfo?(mkmelin+mozilla)
Target Milestone: --- → 93 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/bf916002d4a6
Prompt user before deleting items from calendar views and trees. r=darktrojan

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Regressions: 1728794

Verified fixed using Thunderbird 93.0b2 on Windows 10.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: