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

Unable to Paste Screenshots from Clipboard into WhatsApp for Linux #333

Open
teetangh opened this issue Aug 26, 2023 · 10 comments
Open

Unable to Paste Screenshots from Clipboard into WhatsApp for Linux #333

teetangh opened this issue Aug 26, 2023 · 10 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists upstream Upstream issue

Comments

@teetangh
Copy link

teetangh commented Aug 26, 2023

Issue Title: Unable to Paste Screenshots from Clipboard into WhatsApp for Linux

Issue Description:
When using WhatsApp for Linux, there seems to be an inconsistency in the ability to paste screenshots from the clipboard into the message board. Unlike the WhatsApp application for Mac and other devices, where pasting screenshots from the clipboard into the message input area works seamlessly, this functionality appears to be missing or non-functional in the WhatsApp for Linux client.

Expected Behavior:
Users should be able to paste screenshots directly from the clipboard into the WhatsApp for Linux message board, similar to the behavior observed in the WhatsApp application for Mac and other devices.

Current Behavior:
Attempting to paste a screenshot from the clipboard into the WhatsApp for Linux message board doesn't yield any results. The usual paste option or keyboard shortcut does not trigger the pasting of the screenshot, preventing users from easily sharing images captured on their system with their contacts.

Steps to Reproduce:

Capture a screenshot using any standard method available on the Linux system.
Open the WhatsApp for Linux application.
Navigate to a conversation where you want to share the screenshot.
Attempt to paste the screenshot from the clipboard into the message input area using the standard paste option (right-click > Paste or Ctrl+V).
Additional Information:

This issue seems to be specific to the WhatsApp for Linux client, as pasting screenshots from the clipboard works as expected on other devices, including WhatsApp for Mac.
Copying and pasting text appears to work correctly within the WhatsApp for Linux application.
Other image formats and regular images saved on the system also cannot be pasted into the WhatsApp for Linux message board.
Environment:

Operating System: Ubuntu
WhatsApp for Linux Version: Ubuntu 18.04 LTS
Impact:

This issue affects the user experience and efficiency of sharing images through WhatsApp for Linux. Users are forced to save screenshots as separate files and then manually attach them, which is an inconvenience compared to the straightforward method of pasting images from the clipboard. This inconsistency hinders the workflow of users who frequently communicate using WhatsApp for Linux clients.

@teetangh teetangh added the bug Something isn't working label Aug 26, 2023
@aironsouza
Copy link

I second this. Tested in Fedora 38 (flatpak)

@Zaenalabidin57
Copy link

you can install webkit2gtk-imgpaste to solve this problem, you can read more on #79 , mine worked normally after i install the packages

@xeco23 xeco23 added upstream Upstream issue duplicate This issue or pull request already exists labels Sep 19, 2023
@Martzy303
Copy link

@Zaenalabidin57 Any idea how it can be installed in Ubuntu/Mint?

@facundoo
Copy link

facundoo commented Dec 8, 2023

I have same problem in Ubuntu 22.04 - WS LInux 1.6.4

@saozer
Copy link

saozer commented Apr 2, 2024

For me I thing that the best way to solve this problème is:

  1. save the clipboard content in a /tmp/tmp_image.jpeg
  2. create a thumbnail component that displays the /tmp/tmp_image.jpeg file
  3. On submit, send the /tmp/tmp_image.jpeg file to the endpoint

@Cornul11
Copy link

you can install webkit2gtk-imgpaste to solve this problem, you can read more on #79 , mine worked normally after i install the packages

The issue persists for me even with webkit2gtk-imgpaste installed.

@juandevgado
Copy link

you can install webkit2gtk-imgpaste to solve this problem, you can read more on #79 , mine worked normally after i install the packages

The issue persists for me even with webkit2gtk-imgpaste installed.

dependency is now webkit2gtk-4.1 so should install webkit2gtk-4.1-imgpaste instead to make it work

@dacorsa
Copy link

dacorsa commented Sep 18, 2024

same problem here, please solve it, thanks.

@nuhah100
Copy link

+1

@theorland
Copy link

it can be solved by copy paste from image viewer like gwenview or nomacs,
I think the metadata of the clipboard must include the file path of the image so copy paste is working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists upstream Upstream issue
Projects
None yet
Development

No branches or pull requests