So instead of using GtkFileChooserDialog, we should implement GtkFileChooserNative.
Since this is needed for the snap, we should submit a patch upstream refactoring their class to implement these changes. I think this would be very to good to have eventually but not a super high priority so marking this as a wishlist item.
In order to use portals, the Libreoffice upstream source needs to change their file dialogs to the newer gtk native APIs:
https:/ /developer. gnome.org/ gtk3/stable/ gtk3-GtkFileCho oserNative. html
So instead of using GtkFileChooserD ialog, we should implement GtkFileChooserN ative.
Since this is needed for the snap, we should submit a patch upstream refactoring their class to implement these changes. I think this would be very to good to have eventually but not a super high priority so marking this as a wishlist item.