Emmanuele Bassi

Results 87 comments of Emmanuele Bassi

I've played a bit with the idea of adding an `AddFolders` method, which is trivial on the portal side, but gets messy on the toolkit/application side. Aside from the duplication...

An easier option is to use `VALIDATE_FD_FILE_TYPE_ANY` inside the file transfer portal, which will validate both files and directories; the document portal already supports this, so it should be fine....

> An alternative suggestion that does not need any new api, and will still address a number of related use cases: Make the portal backend remember the last folder, per-app....

See also: #1007, which tries to convert paths known to the document storage.

Considering that SaveFile is already set up to do this, I think we should merge this pull request; though adding the same mechanism that PR #1007 uses to map paths...

I opened https://github.com/flatpak/xdg-desktop-portal/pull/1045 which contains: - documentation updates - mapping from document storage to host paths

PR #1045 was merged, so we can close this one. Thanks to @sophie-h for the work, and thanks everyone for the reviews.

flatpak/xdg-desktop-portal#874 was superseded by flatpak/xdg-desktop-portal#1045 and merged. The [GNOME](https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/merge_requests/54) and [KDE](https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/199) portals have been updated.

> Did cairo GI bindings ever work? No. Cairo does not have introspection data, outside of the small hand-written GIR that is only used to expose the boxed types of...

You should install pycairo and import it: ```py import cairo from gi.repository import Pango, PangoCairo ``` instead of using: ```py from gi.repository import cairo, Pango, PangoCairo ``` This is typically...