Closed Bug 1844530 Opened 2 years ago Closed 2 years ago

Add PDF as a document type you can filter on when opening a local file (CTRL+O)

Categories

(Core :: Widget, enhancement)

Desktop
Linux
enhancement

Tracking

()

VERIFIED FIXED
117 Branch
Tracking Status
firefox117 --- verified

People

(Reporter: pascalc, Assigned: calixte)

Details

Attachments

(2 files)

1/ In Firefox on Linux open a local file (Ctrl+O)
2/ Click on the filter dropdown button in the GTK file chooser

ER:
Have an option to filter PDF files

AR:
I can filter on HTML, Images or XML only. Filtering files on PDFs seems like a very common use case now that we have a built-in PDF viewer/Editor.

I don't know what the filtering options in this dialog are on macOS and Windows as I don't have one of them at hand, I suppose that this is something that can be provided as a parameter to the OS filepicker so maybe this is a multiplatform bug and not just GTK.

I am attaching a screenshot of the drop down list in the GTK file picker for clarity.

Thanks

FWIW, there's a similar filtering drop down if you click "Options" on a mac, and it has the same items.

Aaaand same on Windows.

Component: Widget: Gtk → Widget

I guess it should not be too hard to fix
I think Calixte can fix it easily

Flags: needinfo?(cdenizet)
Assignee: nobody → cdenizet
Status: NEW → ASSIGNED
Flags: needinfo?(cdenizet)
Pushed by cdenizet@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9f38858dd080 Add an option to filter pdf files in the file chooser r=spohl
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
Flags: qe-verify+

Reproduced the issue with Firefox 117.0a1 (2023-07-20) on Windows 10x64. There is no PDF file filter after opening the file chooser (Ctrl+ O).
The PDF file filter is present in Firefox 117.0b6 file chooser and works as expected. Tested on macOS 13, Windows 10x64, and Ubuntu 22.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: