Portal file chooser not detecting failures
If we're using portals (e.g. like in a flatpak) the code in gtk_file_chooser_native_show() relies on the fallback cases to return FALSE if some call is failing and try the next available option.
However, gtk_file_chooser_native_portal_show() doesn't return FALSE if the actual portal dbus call fails (such as when there is no portal installed, or it fails for some reason). Instead it just expects that it showed a file chooser and does nothing.
Edited by Alexander Larsson