Browser gets stuck in disabled state after cancelling modal dialog with Esc key while focus on background
Categories
(Toolkit Graveyard :: Notifications and Alerts, defect, P1)
Tracking
(firefox-esr78 unaffected, firefox86 unaffected, firefox87 disabled, firefox88 verified)
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox86 | --- | unaffected |
firefox87 | --- | disabled |
firefox88 | --- | verified |
People
(Reporter: ke5trel, Assigned: Gijs)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression, Whiteboard: [proton-modals])
Attachments
(1 file)
STR:
- Ensure
prompts.windowPromptSubDialog = true
. - Press Ctrl+Q or Ctrl+Shift+Q with quit warning enabled.
- Modal dialog appears, click in the background disabled region of the window.
- Press Esc.
Expected:
Browser continues to operate normally after modal dialog dismissed.
Actual:
Modal dialog goes away but many things stop working, the new tab button is greyed out as well as many menu items. Cannot close window or quit, only apparent way to recover is to terminate the application.
The problem only occurs when the focus is in the background disabled region when the Esc key is pressed.
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Toolkit::Notifications and Alerts' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
The html:dialog event can respond to [esc] keypresses itself. In that case,
we need to close the embedded dialog ourselves, or the UI ends up broken.
Updated•4 years ago
|
Comment 4•4 years ago
|
||
Backed out changeset 8bd015dd9182 (Bug 1696793) for causing failures in browser_confirm_unblock_download.js CLOSED TREE
Failure log: https://treeherder.mozilla.org/logviewer?job_id=332510456&repo=autoland&lineNumber=3098
Backout: https://hg.mozilla.org/integration/autoland/rev/275b8377ee60dacf59a809d4be92b2eade3402d9
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 6•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Comment 7•3 years ago
|
||
Verified in latest nightly build 90.0a1 (2021-05-13) (64-bit) and beta build 89.0b11 (64-bit) . I followed the steps in ubuntu 20.04, win 10 pro , and mac0s 11.4 beta, and this issue is no longer reproducible
Updating status accordingly.
Best regards,
Clara
Updated•3 years ago
|
Updated•3 years ago
|
Updated•1 year ago
|
Description
•