Open Bug 1837008 Opened 1 year ago Updated 1 month ago

Open file dialogs prevent shutdown until closed

Categories

(Core :: Widget: Win32, defect, P5)

Desktop
Windows
defect

Tracking

()

People

(Reporter: rkraesig, Unassigned)

References

(Depends on 1 open bug)

Details

Steps to reproduce:

  1. Open two browser windows.
  2. In the first window, go to data:text/html,<input type=file>. Click the button, but do not select a file.
  3. 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).

This bug is not, strictly speaking, dependent on bug 1677170; but it may be easier to implement after or as part of that bug.

See Also: → 1677170
Duplicate of this bug: 1853936
Depends on: 1858225
Depends on: 1870660

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.)

Depends on: 1677170
No longer depends on: 1870660, 1858225
See Also: 1677170
Duplicate of this bug: 1911706
You need to log in before you can comment on or make changes to this bug.