DeskGap
DeskGap copied to clipboard
Native Drag and Drop with Host
First off, thanks for this awesome project: it makes exactly the right trade-offs from where I sit. kudos.
A suggestion: Having the ability to drag files out of a DeskGap window would be amazing. Electron implements this (https://www.electronjs.org/docs/tutorial/native-file-drag-drop), albeit somewhat clunkily: it requires you to specify an absolute path
to the file as well as an icon
; Passing a JS File
type, or an ArrayBuffer (maybe even though dragEvent.dataTransfer.setData('fake-mime/type', Buffer)
) would be even handier.
What do you think?
This is a good suggestion. +1 As there is a "new" DeskGap currently in dev (a Rust-based version) this may be the place to add this type of enhancement. I'd also go for the idea of a user-suggested features list for this new version. There are a few custom features that could optional via "compiler flags" that would help many devs with enterprise requirements.