Closed Bug 756783 Opened 12 years ago Closed 9 years ago

Cannot delete event using keyboard or toolbar

Categories

(Calendar :: Calendar Frontend, defect)

Lightning 1.7
All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
4.0.0.1

People

(Reporter: Fallen, Assigned: Fallen)

Details

(Keywords: regression)

Attachments

(1 file)

STR:


1. select an event
2. press the delete button in the toolbar
3. press backspace to delete the event

Results:

Step 2 and 3 produce these errors:

Timestamp: 5/19/12 10:12:57 PM
Error: An error occurred executing the cmd_delete command: TypeError: focusedElement is null
Source File: chrome://global/content/globalOverlay.js
Line: 75

Timestamp: 5/19/12 10:13:08 PM
Error: An error occurred executing the calendar_delete_focused_item_command command: [Exception... "'[JavaScript Error: "focusedElement is null" {file: "chrome://calendar/content/calendar-common-sets.js" line: 331}]' when calling method: [nsIController::doCommand]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: chrome://global/content/globalOverlay.js :: goDoCommand :: line 71"  data: yes]
Source File: chrome://global/content/globalOverlay.js
Line: 75


This works in Lightning 1.5, fails in Lightning 1.7. I haven't tested 1.6. I'm testing on Mac, not sure about other platforms.
Seems to work for me using 1.6a2 and 1.7a1 on Windows platform.

We previously had the same problem, Bug 547593. Maybe some change regressed it for Mac OS X?
Version: Trunk → Lightning 1.7
This seems to be off and on. Try these STR:


1. Create Event in Calendar Tab
2. Switch to mail tab, then back to calendar tab
3. Delete event with Backspace
As far as I remember the Backspace key was never available for deleting an event, at least on Windows platform. Steps from Comment 2 work for me using the Delete key in Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Thunderbird/16.0a1 (BuildID: 20120607030200).
Oh right, sorry. I said backspace because on Mac the Delete key is fn+Backspace. May be a Mac issue then.
OS: All → Mac OS X
Setting qawanted in hope that someone with access to Mac OS X can confirm this as a problem but I still think this doesn't a block development and/or testing work.
Keywords: qawanted
No complaints in the last 4 months although we did at another 3 releases -> no blocker.
Severity: blocker → normal
Attached patch Fix - v1 β€” β€” Splinter Review
Still getting this once in a while, this should fix the error. Can you give it a quick test? My build is totally messed up, but this does seem to fix it for me.
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Attachment #8567085 - Flags: review?(mohit.kanwal)
Target Milestone: --- → 4.0
Comment on attachment 8567085 [details] [diff] [review]
Fix - v1

Review of attachment 8567085 [details] [diff] [review]:
-----------------------------------------------------------------

Although the problem does not seem to occur for me on Mac OSX (I am on 10.10) nonetheless, the patch looks fine to me.
Attachment #8567085 - Flags: review?(mohit.kanwal) → review+
Pushed to comm-central changeset 516b43f6d312
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: