Closed Bug 1694811 Opened 5 years ago Closed 5 years ago

Restart panel conflicts with Close Tabs Confirmation modal (notification shows up but is unclickable)

Categories

(Firefox :: General, defect, P1)

Desktop
All
defect

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: kcaldwell, Assigned: alexical)

References

(Blocks 1 open bug)

Details

(Keywords: helpwanted, Whiteboard: [proton-modals])

Attachments

(5 files)

In Nightly, the restart to update panel (hamburger menu notification / see attached screenshot) conflicts visually with the close tab confirmation modal. Restart panel buttons were not clickable.

We should suppress these notifications when the modal shows, and re-show them when the modal goes away.

Severity: -- → S2
Component: Messaging System → General
Keywords: helpwanted
OS: Unspecified → All
Priority: -- → P1
Hardware: Unspecified → Desktop
Summary: Restart panel conflicts with Close Tabs Confirmation modal → Restart panel conflicts with Close Tabs Confirmation modal (notification shows up but is unclickable)
Whiteboard: [proton-modals]

Update priority to reflect proton priorities.

Priority: P1 → P2

Bug 1632199 was a similar issue for tab-level dialogs. PopupNotifications can be suppressed by adding a condition to this callback: https://searchfox.org/mozilla-central/rev/5a66c4b4a41ab78a87c30c9db0d93c732c534402/browser/base/content/browser.js#439-447

See Also: → 1632199
See Also: → 1698066

Marking as P1. Per experience review we agreed to mark as P1 bug the ones that will block MR1.

Priority: P2 → P1
Assignee: nobody → dothayer
Status: NEW → ASSIGNED

This effectively mirrors the panel hiding logic we use to hide
PopupNotifications panels so that we also hide notifications attached to the
hamburger menu. This will cover alerts and other similar modals originating
from content.

Fairly self-explanatory. This just extends the tab-based modal popup hiding
behavior to modals going through gDialogBox.

Depends on D109526

Attachment #9211078 - Attachment description: Bug 1694811 - Ensure all PopupNotification suppression extends to PanelUI r?Gijs → Bug 1694811 - Ensure tabmodalprompts also hide PanelUI notification panels r?Gijs
Pushed by dothayer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b30fef8108f2 Extend existing popup hiding logic to PanelUI r=Gijs https://hg.mozilla.org/integration/autoland/rev/d3ad3e22d8ec Hide notifications for gDialogBox modals r=Gijs https://hg.mozilla.org/integration/autoland/rev/3871c381f016 Ensure tabmodalprompts also hide PanelUI notification panels r=Gijs https://hg.mozilla.org/integration/autoland/rev/c20ac9c5a297 Add test for modal/panelUI interactions r=Gijs
See Also: → 1880685

Late-breaking note here: there's one other sort of popup that seems to suffer from the same issue as described here, which might want a similar fix. See bug 1880685.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: