Closed Bug 1719626 Opened 3 years ago Closed 2 years ago

Can't select event in week or day view

Categories

(Calendar :: Calendar Frontend, defect)

Thunderbird 91
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: adrien.rybarczyk, Unassigned)

Details

Attachments

(1 file)

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:

  1. Be in weekly or daily view.
  2. Select a time slot to create an event but without releasing the mouse button.
  3. 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.

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.

Reminds me very much of Bug 453186 that I filled in 2008. Guess the old bug can now be closed :-)

Version: Thunderbird 90 → Thunderbird 91

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.

Bug still present in TB91.1.0

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)

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]

Attached image viewButton.PNG —

Still present in TB 94.0b5

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".

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: