Gallery
Gallery copied to clipboard
Copy image to clipboard
What is it?
- [ ] Bugfix
- [x] Feature
- [ ] Codebase improvement
Description of the changes in your PR
- Added the option to copy an image to the system clipboard
*copying an image to the system clipboard seems to be a relatively recent Android addition and will probably only work on newer versions. Unfortunately right now I can't pinpoint which exact versions support it and which don't
Devices I tested this on:
- Xperia 1 IV (Android 14, works)
- Galaxy Tab S7 FE (Android 14, works)
- Galaxy S20 FE (Android 13, works)
- Galaxy Note8 (Android 9, ~~doesn't work, copies the content:// uri as text~~ doesn't work with the default Samsung keyboard, needs a keyboard that supports images in the clipboard like Gboard)
Before/After Screenshots/Screen Record
Fixes the following issue(s)
- Fixes #199
Acknowledgement
- [x] I read the contribution guidelines.
Unfortunately right now I can't pinpoint which exact versions support it and which don't
It's not Android API dependent. Keyboard needs to support it.
Just to verify this I installed the latest Gboard on the Note8 and it did let me paste an image into Discord so that could be it
Does anyone know an app that supports pasting videos?
Decided to go with just disabling it for videos, it seems like nothing supports it at this point in time, even when I changed the ClipData label to Video Android 14 didn't know what the contents are