xdg-desktop-portal icon indicating copy to clipboard operation
xdg-desktop-portal copied to clipboard

Don't show odd errors when using remote URIs

Open sergio-costas opened this issue 2 years ago • 1 comments

When a remote URI is selected in the portal, and the application is inside a flatpak or a snap, it is not possible to get a local path.

This MR detects this and shows an specific error, instead of the odd errors that previously were shown.

sergio-costas avatar Jun 27 '22 13:06 sergio-costas

This patch is the bare minimum for https://github.com/flatpak/xdg-desktop-portal/issues/820 and https://github.com/flatpak/xdg-desktop-portal/issues/213 . Ideally, apply https://github.com/flatpak/xdg-desktop-portal/pull/822 instead.

sergio-costas avatar Jun 27 '22 13:06 sergio-costas