fanglingsu / vimb

Vimb - the vim like browser is a webkit based web browser that behaves like the vimperator plugin for the firefox and usage paradigms from the great editor vim. The goal of vimb is to build a completely keyboard-driven, efficient and pleasurable browsing-experience.
https://fanglingsu.github.io/vimb/
GNU General Public License v3.0
1.34k stars 100 forks source link

Whatsapp web: cannot paste image from the clipboard #650

Open Kazhuu opened 3 years ago

Kazhuu commented 3 years ago

Steps to reproduce

Go to whatsapp web app and login. Then have screen capture on the clipboard taken with flameshot for example. Try to paste it to the chat.

Expected behaviour

Window should come up asking do you want to paste the image.

Actual behaviour

No popup comes up.

I'm using the latest trunk build. Text can be pasted to the chat by pressing C-V and then C-V again. But same doesn't happen with image for some reason. Any clue what prevents this? I checked console for JS errors too but none came up.

fanglingsu commented 3 years ago

@Kazhuu I can reproduce this by putting an image on clipboard xclip -selection clipboard -t image/png -i test.png and pasting it into https://www.textbox.io/. This seems not to work with webkit, but I'm not sure how this feature is called. But ob https://jsfiddle.net/madkdzre/ I can paste the image - so it seems to work at least in some cases.

Kazhuu commented 3 years ago

Yeah I get the same results as you above. I'm not so familiar with webkit or this feature what it's called. Hopefully someone can enlighten us with their knowledge what is the problem. I might look into this if I have time in the future. Thanks for the help!

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had activity within the last 60 days.