Open file dialogs prevent shutdown until closed
Categories
(Core :: Widget: Win32, defect, P5)
Tracking
()
People
(Reporter: rkraesig, Unassigned)
References
(Depends on 1 open bug)
Details
Steps to reproduce:
- Open two browser windows.
- In the first window, go to
data:text/html,<input type=file>
. Click the button, but do not select a file. - In the second window, press Ctrl+Shift+Q to shut down Firefox.
Actual behavior:
Firefox closes all windows except for the file dialog, which must be manually dismissed.
Expected behavior:
Firefox closes all windows, including any open file dialogs (possibly warning the user and requesting confirmation first).
Reporter | ||
Comment 1•1 year ago
|
||
This bug is not, strictly speaking, dependent on bug 1677170; but it may be easier to implement after or as part of that bug.
Reporter | ||
Comment 3•9 months ago
•
|
||
This doesn't necessarily depend on bug 1870660: once file-pickers are consistently opened out-of-process, we can just kill their host process. That much is done automatically in release builds, but may need some extra work otherwise — and we also have to take care to disable the fallback to in-process pickers at that point, if they're still active.
(At present all our open file-dialogs are opened by the same host-process, so we can't use that mechanism to implement an individualized Close() function. For shutdown, though, that should be fine.)
Description
•