Open and save dialogs on Windows use deprecated API

Steps to reproduce:

  • open Inkscape
  • menu File > Open; or
  • menu File > Save

What happened?

Opens deprecated XP file picker, which is especially inconsistent after: !5144 (merged)

https://learn.microsoft.com/en-us/windows/win32/dlgbox/open-and-save-as-dialog-boxes

What should have happened?

Opens modern Vista file picker, today with native dark mode.

https://learn.microsoft.com/en-us/windows/win32/shell/common-file-dialog

https://learn.microsoft.com/en-us/uwp/api/Windows.Storage.Pickers.FileOpenPicker (for MS Store version)

Inkscape Version and Operating System:

  • Inkscape Version: 1.3-beta
  • Operating System: Windows
  • Operating System version: 11 (22621.1848)

Example files:

Captura_de_Tela__12_ Old file picker

Captura_de_Tela__13_ "New" (16 years old) filer picker

Edited by Bruno