Closed Bug 2067156 Opened 3 months ago Closed 3 months ago

Alarm/Reminder Details button doesn't use new calendar read dialog, which doesn't appear above other active applications

Categories

(Calendar :: Calendar Frontend, task, P2)

Thunderbird 152
task
Points:
2

Tracking

(Not tracked)

RESOLVED FIXED
157 Branch

People

(Reporter: tobyp, Assigned: tobyp)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

STR:
0. Enable the new calendar read dialog

  1. Schedule an event with a reminder
  2. Wait for the reminder to pop up
  3. Click the "Details..." button in the reminder

Expected result: The event details are shown in the new calendar read dialog

Actual result: The event details are shown in the old calendar read dialog

Assignee: nobody → toby
Status: NEW → ASSIGNED
Points: --- → 2
Priority: -- → P2

While working on this I found that there's a second part to the problem. Simply changing the Details action to use openEventDialogForViewing() correctly allows the new read dialog preference to take effect - however, unlike the old event dialog, the new read dialog is hosted within the Thunderbird window.

So, if a reminder appears while another application is active, clicking Details with the old dialog brings the event details to the foreground over whatever I'm working on. With the new read dialog, Thunderbird can remain behind the active application, making it appear that clicking Details did nothing.

To address this, we'll replace the old behaviour by bringing Thunderbird to the foreground, and if running from the tray it should be opened.

Summary: Alarm/Reminder Details button never uses new calendar read dialog → Alarm/Reminder Details button doesn't use new calendar read dialog, which doesn't appear above other active applications
Target Milestone: --- → 157 Branch

Pushed by edicharry@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/69efe977feed
Respect the calendar read dialog preference for alarm details. r=mkmelin

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

Attachment

General

Created:
Updated:
Size: