Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy image to clipboard #380

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

counter185
Copy link

@counter185 counter185 commented Dec 22, 2024

What is it?

  • Bugfix
  • 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

Screenshot_20241222-235237

Fixes the following issue(s)

Acknowledgement

@Aga-C
Copy link
Member

Aga-C commented Dec 23, 2024

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.

@counter185
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

copy image to clipboard button
2 participants