Closed Bug 1476725 Opened 6 years ago Closed 5 years ago

Tasks are not displayed anymore in calendar views even if enabled in the view menu

Categories

(Calendar :: Calendar Frontend, defect)

Lightning 6.5
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: MakeMyDay, Assigned: darktrojan)

References

Details

(Keywords: regression)

Attachments

(1 file)

Tasks are not displayed anymore in the calendar views if you have enabled the respective menu item at View > Calendar > Current View > Tasks in View

There is no related messages in the error console and the same tasks are displayed properly in task view as well as the today pane.

This still works in TB 60 / Lightning 6.2 b10, so it looks like a regression of the Lightning wx conversion.
This is a race condition when loading the overlays. The view relies on the toolbar setting being available already to apply the filter for getting the items properly. Since that is not yet present when loading the view, it fails to display the tasks in view. This will be resolved by bug 1477958, so marking this as duplicate.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Blocks: 1478608
Reopening since there's currently no active work on bug 1477958, so a separate resolution of the issue might be appropriate.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Status: REOPENED → NEW

Still seeing this?

Flags: needinfo?(makemyday)

Yes, still present. If you can create a task with a start date/time, it should show up in the calendar view.

Flags: needinfo?(makemyday)

Huh. Well, it works every time for me.

Using Thunderbird 67.0a1 (BuildID 20190317094532) with Lightning 6.9.

I do see tasks in month and multiweek view.
I do not see tasks in week view and day view.
Error Console shows:

NS_NOINTERFACE: Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface]
computeEventMap chrome://calendar/content/calendar-multiday-view.xml:887
forEach self-hosted:262
computeEventMap chrome://calendar/content/calendar-multiday-view.xml:886
relayout chrome://calendar/content/calendar-multiday-view.xml:705
mEventMapTimeout chrome://calendar/content/calendar-multiday-view.xml:603

Assignee: nobody → geoff
Status: NEW → ASSIGNED
Attached patch 1476725-tasks-in-views-1.diff — — Splinter Review

Okay, I broke this in February trying to fix a major bustage, but the bug report is from last July. Go figure.

Attachment #9053168 - Flags: review?(philipp)
Attachment #9053168 - Flags: review?(makemyday)
Attachment #9053168 - Flags: approval-calendar-beta?(philipp)
Attachment #9053168 - Flags: review?(philipp)
Attachment #9053168 - Flags: review?(makemyday)
Attachment #9053168 - Flags: review+
Attachment #9053168 - Flags: approval-calendar-beta?(philipp)
Attachment #9053168 - Flags: approval-calendar-beta+

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/1b27e8759d82
Fix tasks displayed in day view and week view. r=philipp

Status: ASSIGNED → RESOLVED
Closed: 6 years ago5 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 7.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: