Closed Bug 355288 Opened 18 years ago Closed 13 years ago

Can only delete multiple events at once, when not right-clicking on an event to get the context menu

Categories

(Calendar :: Calendar Frontend, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tbullock, Assigned: Fallen)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060911 SUSE/1.5.0.7-1.2 Firefox/1.5.0.7
Build Identifier: Calendar Extension 0.3RC1

I am unable to delete multiple events at once with the right click 'delete item' command in the week view.  When multiple unrelated items are selected via CTRL-Click, then right-clicking on an item/event and choosing 'delete item' only deletes that last item.

Reproducible: Always

Steps to Reproduce:
1. Create a bunch of random events in the week view
2. Select all those events with CTRL-Click
3. Right click on an even and choose delete item

Actual Results:  
Only the last item is deleted.

Expected Results:  
The right-click menu should detect that multiple items are selected and say 'delete items' instead of 'delete item' and all selected items should be deleted.
I can confirm the bug with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061027 Calendar/0.4a1 but:
1) When you select the events and right click on one of them only one is selected and then deleted
2)When you select the events and right click on space between the events all of them are deleted
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
Summary: Can't delete multiple events at once → Can only delete multiple events at once, when not right-clicking on an event to get the context menu
Version: unspecified → Trunk
Whiteboard: [litmus testcase wanted]
Flags: in-litmus?
Whiteboard: [litmus testcase wanted]
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Lightning/1.0pre Thunderbird/3.0b3
Steps to Reproduce:
1. Create a bunch of random events in the week view
2. Select all those events with CTRL-Click
3. CTRL-Right click on an even and choose delete item

For the step 3 if you do continue to press CTRL and make the right click all events are deleted so working as expected

if you do
Create a bunch of random events in the week view
2. Select all those events with CTRL-Click
3. Right click on an even and choose delete item
 that is during step 3 you don't keep the CTRL press in fact just the event on which you right-click is selected and so only this one is deleted
Attached patch Fix - v1Splinter Review
This patch fixes, r=obvious
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Attachment #567627 - Flags: review+
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/136a5900adf2>
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Trunk
Backported to comm-aurora <http://hg.mozilla.org/releases/comm-aurora/rev/37601e24ee07>
Target Milestone: Trunk → 1.0b9
Backported to comm-beta <http://hg.mozilla.org/releases/comm-beta/rev/fdaa14e7366c>
Target Milestone: 1.0b9 → 1.0b8
You need to log in before you can comment on or make changes to this bug.