WhatsApp Web again (pasting images from clipboard)

Users and developers helping users with technical Pale Moon issues (Windows and other non-Linux O.S.). Please direct questions about the Linux version to the appropriate Linux board.

Moderators: trava90, satrow

Forum rules
This board is for technical/usage questions and troubleshooting for the Pale Moon browser only. The main focus here is on Pale Moon on Windows. Please direct your questions for Linux, Android and Mac to the dedicated boards.
Technical issues and questions not related to the Pale Moon browser should be posted in "technical chat"
Please keep off-topic and general discussion out of this board, thank you!
dr_st
Apollo supporter
Apollo supporter
Posts: 31
Joined: Wed Oct 15, 2014 6:18 pm
Location: Israel

WhatsApp Web again (pasting images from clipboard)

Postby dr_st » Sun Jul 16, 2017 6:47 am

Generally, since the transition to Pale Moon 27, most functionality of Whatsapp Web interface has been working well.

One thing that's not working properly is the ability to paste images from the clipboard. The functionality works in the latest versions of Chrome and Firefox, using any of the following methods: Ctrl+V, Shift+Ins or rightclicking the message box and hitting paste. If there is an image in the clipboard, it opens a "preview" window where you can add a description and send the image.

In Pale Moon, up to 27.4.0, this does not work. Funnily, I think it worked erratically once or twice, but generally it does not. I tried it on multiple computers and multiple operating systems. I also tried modifying the UI override to masquerade either as latest Chrome or latest Firefox to no effect.

WhatsApp Web interface is notoriously annoying, and this is clearly an interoperability problem, not an inherent lack of feature support. Evidently, in the Telegram Web client image pasting from the clipboard works just fine in Pale Moon.

Since WhatsApp tech support is not willing to help you if you are not on one of the mainstream browsers, I want to try to figure out a solution from the Pale Moon side. Any tips on how I can debug it? What information would be useful to provide to help figure out the issue?

User avatar
lyceus
Forum staff
Forum staff
Posts: 2146
Joined: Tue Sep 13, 2011 11:08 pm

Re: WhatsApp Web again (pasting images from clipboard)

Postby lyceus » Mon Jul 17, 2017 1:59 am

Actually this happens a lot with Facebook too.

You try to copy an paste information back/to Facebook UI and you get nothing, nitch, nada. I think that maybe the JS of these sites filter the contents of the clipboard if is not a supported browser. This can made sense if you copy and paste an URL, as they add some extra info for track the clicks made in the link. I had tried to pass the info from another application like Notepad++ and sometimes works and other not.

The spoof UA included in Pale Moon often fix most of these troubles but not all. Also remember that Pale Moon do not implement some DRM and HTML5 bits around this and maybe these sites "poke" these bits for determine if a browser is "supported".

dr_st
Apollo supporter
Apollo supporter
Posts: 31
Joined: Wed Oct 15, 2014 6:18 pm
Location: Israel

Re: WhatsApp Web again (pasting images from clipboard)

Postby dr_st » Mon Jul 17, 2017 7:41 am

How does one proceed to determine what's going wrong? I.e., is it the JS on the server side or a missing implementation on the browser end?

Text copy&paste works on Whatsapp Web (and Telegram Web). Image paste works for me only on Telegram Web. I have not tried Facebook.

GMforker
Lunatic
Lunatic
Posts: 385
Joined: Thu Aug 27, 2015 6:29 am
Location: Czech Republic

Re: WhatsApp Web again (pasting images from clipboard)

Postby GMforker » Mon Jul 17, 2017 4:04 pm

See also viewtopic.php?f=29&p=115223#p115254

DataTransfer is not implemented.

seanb81
New to the forum
New to the forum
Posts: 1
Joined: Thu Jul 20, 2017 3:25 pm

Re: WhatsApp Web again (pasting images from clipboard)

Postby seanb81 » Thu Jul 20, 2017 3:45 pm

if "datatransfer" isnt implemented, does that mean thats the end of the road for this working? no plugin/work around/branch/beta code/etc?

User avatar
lyceus
Forum staff
Forum staff
Posts: 2146
Joined: Tue Sep 13, 2011 11:08 pm

Re: WhatsApp Web again (pasting images from clipboard)

Postby lyceus » Sat Jul 22, 2017 3:41 am

seanb81 wrote:if "datatransfer" isnt implemented, does that mean thats the end of the road for this working? no plugin/work around/branch/beta code/etc?


The comment "not implemented" doesn't mean, "we will never look about this".

For example finally video works decently in this version, not perfect, not all sites but at least works in all mayor players most times.

Please understand that we are a bunch of nerds that work for the love of art and most of us do not get a payment. So we need to made a list and seek what bug or feature need to be fixed or added. Video won in this round. :mrgreen:

dr_st
Apollo supporter
Apollo supporter
Posts: 31
Joined: Wed Oct 15, 2014 6:18 pm
Location: Israel

Re: WhatsApp Web again (pasting images from clipboard)

Postby dr_st » Tue Aug 01, 2017 5:01 pm

lyceus wrote:Please understand that we are a bunch of nerds that work for the love of art and most of us do not get a payment. So we need to made a list and seek what bug or feature need to be fixed or added. Video won in this round. :mrgreen:
It makes perfect sense, and I think the priorities are set correctly. :) It would be good, however, if this requirement is at least on the list of things to eventually get to. As it is now, even basic posting on Gitlab does not work for me... (although that may be a different issue)

User avatar
lyceus
Forum staff
Forum staff
Posts: 2146
Joined: Tue Sep 13, 2011 11:08 pm

Re: WhatsApp Web again (pasting images from clipboard)

Postby lyceus » Mon Aug 07, 2017 1:24 am

dr_st wrote:It makes perfect sense, and I think the priorities are set correctly. :) It would be good, however, if this requirement is at least on the list of things to eventually get to. As it is now, even basic posting on Gitlab does not work for me... (although that may be a different issue)


I suffer of this bug too, my workaround is to use a "middle man" app that strips all the codes and get the plain text like Notepad++ and then paste back to the webpage.

dr_st
Apollo supporter
Apollo supporter
Posts: 31
Joined: Wed Oct 15, 2014 6:18 pm
Location: Israel

Re: WhatsApp Web again (pasting images from clipboard)

Postby dr_st » Wed Oct 11, 2017 7:19 am

dr_st wrote:One thing that's not working properly is the ability to paste images from the clipboard....Funnily, I think it worked erratically once or twice, but generally it does not.
I figured out when it works (in Pale Moon) and when it does not. If you copy an image file (an actual file on your drive) into the clipboard, then paste it into WhatsApp Web, it recognizes it as an image and allows you to send it. Apparently, some image viewing tools (e.g., Windows 10 Photos), when you open an and "copy" into clipboard, take the whole file, and so it can be pasted into WhatsApp Web. Others (like IrfanView) only copy the image meta-data, and so it cannot be pasted. And of course anything that does not have a file behind it (like a screenshot in memory) cannot be pasted.

Maybe this can give a clue as to the implementation gap here.


Return to “General support”

Who is online

Users browsing this forum: adisib, RJARRRPCGP and 16 guests