compose-multiplatform
compose-multiplatform copied to clipboard
Support drag and drop of images from Compose app to other applications
Some of the use cases for my apps require dragging from the Compose application out into other applications, i.e. the reverse of the onExternalDrag modifier.
- Ability to select some text and drag that out to other text editors (already tracked as #322)
- Ability to drag an image to an image editor (or Discord, etc.)
- Ability to drag an image to a file explorer (or mail client, etc.)
Normal Java DnD would do this by putting the image into a Transferable which supports both image flavours and file list flavours. I guess the way the DragData interface has been modelled also allows this, by implementing multiple of its interfaces.
Hi ! any news about this once ? Can we drag image file from compose desktop app to other apps ?
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.