Skip to content

[Pay Aug 18 if no regressions] Copy to clipboard - Unable to copy images or links  #3313

@isagoico

Description

@isagoico

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Expected Result:

  • User should be able to copy images and link URLs when using the copy to clipboard feature.
  • Right-clicking or long-pressing on a link should open the ReportActionContextMenu, but the Copy to Clipboard menu item should instead say Copy URL to Clipboard. Pressing that menu item, the link url should be copied to the clipboard.
  • Right-clicking or long-pressing on an image should open the ReportActionContextMenu, but the Copy to Clipboard menu should instead say Copy Image to Clipboard. Pressing that menu item, the image should be copied to the clipboard.

Actual Result:

When copying and pasting an image, the HTML coding is displayed instead of the link or image.

Action Performed:

  1. Log in to e.cash and navigate to a conversation
  2. Click on add attachment
  3. Upload a picture
  4. RIght click the message with the image
  5. Click on copy to clipboard
  6. Paste the image on a text input

Workaround:

No way of copying an image by using copy to clipboard.

Platform:

Where is this issue occurring?

Web ✔️
iOS ✔️
Android ✔️
Desktop App ✔️
Mobile Web ✔️

Version Number: 1.0.60-0

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos:

image

Expensify/Expensify Issue URL:

View all open jobs on Upwork


From @iwiznia https://expensify.slack.com/archives/C01GTK53T8Q/p1622579145427200

we sequester the right click button to show the actions menu, but that makes it impossible to copy a link that's in a comment or being able to copy an image pasted.

Upwork job: https://www.upwork.com/jobs/~015ed0068d5788ef5a

Metadata

Metadata

Labels

EngineeringExternalAdded to denote the issue can be worked on by a contributorWeeklyKSv2

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions