Closed Bug 1820203 Opened 1 year ago Closed 1 year ago

Cannot close Calendar Event Notification dialog (the dialog no longer have the normal window controls)

Categories

(Calendar :: General, defect)

Thunderbird 112
Desktop
Linux
defect

Tracking

(thunderbird_esr102 unaffected, thunderbird112 affected)

RESOLVED FIXED
113 Branch
Tracking Status
thunderbird_esr102 --- unaffected
thunderbird112 --- affected

People

(Reporter: KaiE, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(4 files)

Thunderbird Daily:

I was reminded about a calendar event. The dialog had buttons to dismiss the events. But the dialog had just a plain border, there were none of the usual default window controls to close the dialog.

When I pressed Alt-F4 for fun the whole Thunderbird application quit.

Expected: Allow me to close that popup window.

I can confirm. No window controls or normal window top at all on that dialog on daily.
STR: create an event with reminder and wait for the reminder to pop up. The reminder "window" doesn't look like a window at all.
Alice, could you check what regressed this?

Flags: needinfo?(alice0775)
Product: Thunderbird → Calendar
Summary: Cannot close Calendar Event Notification dialog → Cannot close Calendar Event Notification dialog (the dialog no longer have the normal window controls)

WFM on Thunderbird Daily 112.0a1 (BuildID=20230305102634).

Flags: needinfo?(alice0775)

Strange, I still see it on linux. Maybe something to do the desktop environment then.

For clarity, the green window bar in the screenshot is missing for me.

Hum, I cannot reproduce the issue on Windows11 too....

Here's what I'm seeing

OS: Unspecified → Linux
Hardware: Unspecified → Desktop
Flags: needinfo?(msangjunboon2018)

At least for me, I found a workaround.
That notification is an independent window with its own entry in my task bar.
That means I can click that task bar entry to minimize/hide the window.

How is this window open?

We're probably hitting this case but seems like you're opening a popup and expect it to be decorated which is really weird. Would be better to open it as a toplevel window or so?

It's calendar-alarm-dialog.xhtml.
You can reproduce the error by running

Services.ww.openWindow(
        null,
        "chrome://calendar/content/calendar-alarm-dialog.xhtml",
        "_blank",
        "chrome,dialog=yes,all,resizable",
        this
      );
Duplicate of this bug: 1821860
See Also: → 1821858

Bug 1823350 will likely fix this.

Depends on: 1823350
Summary: Cannot close Calendar Event Notification dialog (the dialog no longer have the normal window controls) → [Wayland] Cannot close Calendar Event Notification dialog (the dialog no longer have the normal window controls)

Bug still present after bug Bug 1823350. (I think not wayland?)

Summary: [Wayland] Cannot close Calendar Event Notification dialog (the dialog no longer have the normal window controls) → Cannot close Calendar Event Notification dialog (the dialog no longer have the normal window controls)
See Also: → 1823636

Passing null instead of "this" for the last argument (comment 13) makes the controls show up. Though I'd think there is still a bug here.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5c4935fbf3a5
Don't consider dialogs with BorderStyle::{Default,All} as undecorated. r=stransky
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
Duplicate of this bug: 1823920
Duplicate of this bug: 1823636
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: