FileChooserNativePortal doesn't close correctly.
This should affect both Gtk3 and Gtk4 looking at the code.
Run https://bugsfiles.kde.org/attachment.cgi?id=163443 / https://bugsfiles.kde.org/attachment.cgi?id=163445 (gtk3/gtk4 programs respectively) with portal enabled.
Expected:
- A file chooser pops up when clicking the button and disappears in 3s.
Actual:
- Never disappears.
dbus-monitor
says:
method call time=1700877221.671677 sender=:1.144 -> destination=org.freedesktop.portal.Desktop serial=130 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.portal.Request; member=Close
object path "/org/freedesktop/portal/desktop/request/1_144/gtk1292145285"
error time=1700877221.672606 sender=:1.10 -> destination=:1.144 error_name=org.freedesktop.DBus.Error.UnknownMethod reply_serial=130
string "No such interface “org.freedesktop.portal.Request” on object at path /org/freedesktop/portal/desktop"
For Gtk4, and on gtk3 there's a typo so we aren't even using the right interface name.