Closed Bug 1837144 Opened 1 year ago Closed 1 year ago

[flatpak] Use OpenFile from portal instead of gtk_show_uri when opening files

Categories

(Core :: Widget: Gtk, defect)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jhorak, Assigned: jhorak)

References

(Blocks 2 open bugs)

Details

There's a portal for opening files from flatpaked application:
https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal.OpenURI
OpenFile method. It suits better to opening files because since https://github.com/flatpak/xdg-desktop-portal/pull/1020 landed it use the host path instead of /run/user/..../documents/<some hash>/actual_file - ie. file location in the document portal.

Since https://github.com/flatpak/xdg-desktop-portal/pull/1020 landed, it works fine even for gtk_show_uri.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.