Re:Flatpak 1.0 Released, Ready for Prime Time
by alexlarsson on Monday August 20, 2018 @10:12AM
(#17800004)
It should support it as well as deb or rpm does. I.e. it is completely uninvolved in drag-and-drop.
[ Parent
| on HN ]
Re:Flatpak 1.0 Released, Ready for Prime Time
by blattimwind on Monday August 20, 2018 @12:48PM
(#17801488)
No, it really isn't.
When you drag-and-drop a file from e.g. a file manager into some application, then the DnD events do not contain the file. Instead, they contain something like `text/uri-list` enumerating the file paths. If you sandbox some app, then you need a bit of software to map and translate these paths. If you do not provide such software, then your sandbox does not support DnD.
Re:Flatpak 1.0 Released, Ready for Prime Time
by alexlarsson on Monday August 20, 2018 @10:38AM
(#17800256)
Well, if you drag-and-drop a file things might be somewhat problematic due to the sandboxing. An app with no access to the file can't read the dropped filename.