[FR] Use native file picker on non-GTK platforms (win, KDE...)
Currently, the GUI uses GTK's default file picker (FileChooserDialog
) on all platforms. This is obviously quite unintuitive to users, especially on Windows where they might not have ever encountered it in any other software. It also makes it a pain to find files since you can't jump to saved/recent folders, not to mention the now infamous lack of image thumbnails in the GTK picker.
The solution to this would be to migrate all instances of FileChooserDialog
in the app (I could only find two) to FileChooserNative
. From the docs:
GtkFileChooserNative
is an abstraction of a dialog box suitable for use with “File/Open” or “File/Save as” commands. By default, this just uses aGtkFileChooserDialog
to implement the actual dialog. However, on certain platforms, such as Windows and macOS, the native platform file chooser is used instead.
There are of course limitations to this approach (documented here), but none of them seem to be an issue for Paperwork (from my very quick look over the code).
// while I currently can't spare the time, I'm happy to put together an MR for this once I can. I'm just posting the issue first to check whether this is something you'd be willing to support or if anyone happens to already be working on it.