Export dialog box filter list missing PDF

Summary:

The "Save As" dialog for exporting to PDF does not include *.PDF as one of its filters.

Apologies if this is a known bug, but the Gitlab search facility is pretty useless. It returns me so many mismatches - I didn't see anything close to this in the first six pages I glanced at. :)

Steps to reproduce:

  1. Create an Inkscape diagram.
  2. Open the File|Export menu
  3. Select the "Open file" icon next to the suggested name to bring up the File Dialog.
  4. Notice that the File Dialog is set to filter files for *.png, not *.pdf.

What should have happened?

The File Dialog needs to have an output for, and default to *.pdf files, when exporting to PDF.

Aside: I think that it should also have All Files (*.*) as an option. I frequently want to see what's already there, so that I can choose the name according to what's already in the folder, e.g. I want to change the name according to other file names. I understand that you want to force the extension to be correct, but you can always add that if it's not what you think it should be.

Version info

Inkscape 1.3-dev (8a0d19d5, 2022-05-02)

    GLib version:     2.72.1
    GTK version:      3.24.33
    glibmm version:   2.66.2
    gtkmm version:    3.24.5
    libxml2 version:  2.9.13
    libxslt version:  1.1.35
    Cairo version:    1.17.6
    Pango version:    1.50.7
    HarfBuzz version: 4.2.1

    OS version:       Windows 10 21H2
Edited by Adam Belis