Can't select event in week or day view
Categories
(Calendar :: Calendar Frontend, defect)
Tracking
(Not tracked)
People
(Reporter: adrien.rybarczyk, Unassigned)
Details
Attachments
(1 file)
1.36 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36
Steps to reproduce:
- Be in weekly or daily view.
- Select a time slot to create an event but without releasing the mouse button.
- Go outside the calendar part with the mouse cursor.
(Optionnal: The bug is already present. We can see an error in console.) 4. Release the mouse button.
Actual results:
The events can no longer be selected (example: to move the event or delete it). However, the event editing interface may still be open.
But this problem can be solved by restarting Thunderbird.
We get the following error in console, when the problem occurs:
Uncaught TypeError: item is undefined
getItemOccurrencesInView chrome://calendar/content/calendar-multiday-base-view.js:995
setSelectedItems chrome://calendar/content/calendar-multiday-base-view.js:865
onEventSweepMouseMove chrome://calendar/content/calendar-event-column.js:1312
Expected results:
Events can still be selected.
Reporter | ||
Comment 1•3 years ago
|
||
Sorry for the presentation of the steps. I didn't think it was going to stay on the same line. And I don't know how to edit my comment.
Comment 2•3 years ago
|
||
Reminds me very much of Bug 453186 that I filled in 2008. Guess the old bug can now be closed :-)
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Comment 3•3 years ago
|
||
Update for TB91.0b4, you can now select the events. However, if we trigger the bug and create a new event, it is invisible until we restart Thunderbird.
Reporter | ||
Comment 4•3 years ago
|
||
Bug still present in TB91.1.0
Reporter | ||
Comment 5•3 years ago
|
||
In TB93.0b4, the event is visible.
You can open the event with a double click. However, it cannot be selected with a single click (Uncaught TypeError: item is undefined calendar-multiday-view.js: 1378: 11)
Reporter | ||
Comment 6•3 years ago
|
||
By doing further testing on this bug.
If using remote calendars, events created after triggering are not visible until Thunderbird is restarted. For local calendars, events are visible.
But all the events present, whether on local or remote calendar, are no longer selectable with a single click until Thunderbird is restarted.
If we ever trigger the bug and close the Calendar tab and go back to it, we can no longer change the calendar view.
The previous and next view buttons are also disabled.
We obtain in console:
An error occurred updating the calendar_modify_event_command command: [Exception ... "[JavaScript Error:" item is undefined "{file:" chrome: //calendar/content/calendar-command-controller.js "line: 873}] '[ JavaScript Error: "item is undefined" {file: "chrome: //calendar/content/calendar-command-controller.js" line: 873}] 'when calling method: [nsIController :: isCommandEnabled] "nsresult:" 0x80570021 ( NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS) "location:" JS frame :: chrome: //global/content/globalOverlay.js :: goUpdateCommand :: line 106 "data: yes]
Reporter | ||
Comment 7•3 years ago
|
||
Reporter | ||
Comment 8•3 years ago
|
||
Still present in TB 94.0b5
Reporter | ||
Comment 9•2 years ago
|
||
Bug fixed in 91.4.0.
Surely "When creating a new event by clicking and dragging the mouse to create a box, the view did not auto-scroll after reaching the bottom".
Reporter | ||
Updated•2 years ago
|
Description
•