Skip to content

Conversation

@counter185
Copy link
Contributor

@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
Contributor

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
Contributor 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

@naveensingh naveensingh self-assigned this May 26, 2025
@naveensingh
Copy link
Member

Does anyone know an app that supports pasting videos?

Copy link
Member

@naveensingh naveensingh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@counter185
Copy link
Contributor Author

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

@naveensingh naveensingh merged commit f213345 into FossifyOrg:master May 31, 2025
3 of 5 checks passed
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

3 participants