flatpak / flatpak-xdg-utils

Simple portal-based commandline tools for use inside flatpak sandboxes
GNU Lesser General Public License v2.1
34 stars 14 forks source link

xdg-email: Attachments don't interoperate with xdg-desktop-portal #50

Closed smcv closed 3 years ago

smcv commented 3 years ago

xdg-desktop-portal 0.9 switched from attachments as an array of URIs to attachment_fds as an array of fds. but flatpak-xdg-utils 1.0.0 switched from attachments as an array of URIs to attachments as an array of fds.

flatpak-xdg-utils should send attachment_fds instead.

smcv commented 3 years ago

Maybe xdg-desktop-portal should also look for attachments as an array of fds, to interoperate with outdated Flatpak runtimes.

smcv commented 3 years ago

flatpak-xdg-utils 1.0.0 switched from attachments as an array of URIs to attachments as an array of fds

Actually it's worse than that, it's an array of int32, which is clearly the wrong type as well as the wrong name.