Closed Bug 1881329 Opened 1 year ago Closed 1 year ago

Revert "Add close method to file picker"

Categories

(Core :: Widget, task)

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: rkraesig, Assigned: rkraesig)

References

Details

Attachments

(1 file)

Sadly, it doesn't appear to be possible to implement a file-picker-close method for Win32 — at least not without a rework of fundamental parts of the file-picker and/or utility-process implementations. (Which are wanted for other reasons, but won't be done soon.)

For now, at least, we should revert the addition of Close() to the cross-platform interface, lest someone try to build on top of it and find they've designed something that will only work on Linux.

This function can't be implemented for Win32 (yet?), partly due to
internal architectural issues. (See bug 1870660 for more details.)

Remove the existing stubs (and perfectly-functional Gtk implementation)
as dead code until such time as they can be made live.

(This commit also reverts a fix to this code from bug 1872834, which
should be restored if and when the rest of it is.)

Assignee: nobody → rkraesig
Status: NEW → ASSIGNED
Pushed by rkraesig@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/11e8c520bc95 Revert addition of nsIFilePicker::Close() r=emilio
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
See Also: → 1870659
See Also: → 1870660
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: