GNOME Bugzilla – Bug 789846
Can't attach files via drag and drop in Flatpak
Last modified: 2019-10-24 04:10:15 UTC
I tried to attach a file by dropping it on the message header but it didn't work, I had to use the file open dialog instead. I would be great to use a drag and drop portal if it exists and if not to create one.
Hi Adrien, thanks for reporting this. I can't reproduce this locally - dragging a file from Nautilus to the header area converts the header area to a drop zone and dropping the file there attaches the file. Can you say which distro, desktop, and file manager are you using, and which versions of those and Geary?
Oh, I only just noticed you said Flatpak, and I can indeed reproduce it running in the sandbox. Apologies for the noise, will try to get it fixed in the next release.
No problem. :) FYI, I opened this bug too: https://github.com/flatpak/flatpak/issues/1143.
See also https://github.com/flatpak/xdg-desktop-portal/issues/99 Since this is going to require some Flatpak/portal/etc infrastructure to support I'm not sure if this will get fixed for 0.12. Clearing target milestone until something gets sorted out there.
Yep, I confirm it on current flatpak package: I drag a file and a popup says something like "`/path/to/file` not found" (even if the path is correct).
I just wanted to add that I too am experiencing this issue in Flatpak along with the "Attach File" button doing nothing when clicked.
Hi Roger, the problem with the "Attach File button not working under Wayland is actually a bug in Mutter: https://gitlab.gnome.org/GNOME/mutter/issues/138 If you are using Ubuntu Bionic, you'll probably want to subscribe to this bug: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1774560
Closing this in favour of https://gitlab.gnome.org/GNOME/geary/issues/562