flathub / chat.delta.desktop

https://flathub.org/apps/details/chat.delta.desktop
12 stars 7 forks source link

drag and drop broken #137

Open Simon-Laux opened 1 month ago

Simon-Laux commented 1 month ago

In some circumstances drag and drop for sending files with deltachat is not working in the flatpak.

It works in KDE on the Steam Deck (steam os 3.5.19; kde plasma 5.27.5; graphics X11), but for it does not work in gnome (probably wayland). This was also reported by other users, but I don't remember where.

We need more information to figgure out what went wrong.

muelli commented 1 month ago

yeah, I guess that the sandbox restricts access to the dropped file path. I think the proper is to support dnd portal https://docs.flatpak.org/en/latest/portal-api-reference.html#gdbus-org.freedesktop.portal.FileTransfer

but Electron is behind: https://github.com/electron/electron/issues/30650

one can probably work around this problem by opening the sandbox. I would try to avoid that, though.