Closed Bug 2073142 Opened 2 months ago Closed 13 days ago

TypeError when clicking on "Details" in en email matching an existing event in calendar

Categories

(Thunderbird :: Mail Window Front End, defect)

Thunderbird 155
defect

Tracking

(Not tracked)

RESOLVED FIXED
162 Branch

People

(Reporter: bernard+mozilla, Assigned: arschmitz)

Details

Attachments

(1 external file)

Steps to reproduce:

Having received an email containing an event, after having added it to the calendar, the "Add" button from the email view changes to a "Details" one.

Actual results:

However, on clicking on it, nothing happens, and the following error pops in the developer console:

Uncaught TypeError: can't access property "openTab", tabmail is null
    openEventDialog chrome://calendar/content/calendar-item-editing.js:567
    modifyEventWithDialog chrome://calendar/content/calendar-item-editing.js:416
    executeAction resource:///modules/calendar/utils/calItipUtils.sys.mjs:800
    executeAction chrome://calendar/content/imip-bar.js:389
    oncommand about:message:1

Expected results:

The event details window should open

Looks like you're using the "Edit events and tasks in a tab instead of in the dialog window" setting
https://searchfox.org/comm-central/rev/1ebb4d10454c650e14d81edeacdae4a3cc3a3287/calendar/base/content/item-editing/calendar-item-editing.js#565

You are correct, and I did not even know that was a thing! I have been using the same profile for ages.

I noted you edited another bug I reported, hitting a bug because of the exact same setting.
It seems this option is yielding a lot of trouble! Is it a blind spot, tests-wise?

It's a mode that never made it to prime time... The calendar UI is currently being rebuilt in another way as well, so there's no effort to improve that mode. (If anything we might want to remove it.)

Oh really? I am so used to it now it's my standard.
Whatever is being worked on, I really like benefitting from the full window width editing events, with tabs part of the same window, rather than spurious pop-ups. I hope your rework will continue providing such a user experience.

I can't wait to try this teased new UI!

Assignee: nobody → arschmitz
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: --- → 162 Branch

Pushed by jtracey@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/285522c4fba6
Fix opening event in tab from message details. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 13 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: