docker-firefox icon indicating copy to clipboard operation
docker-firefox copied to clipboard

Copy-paste not working

Open dflat1 opened this issue 2 years ago • 12 comments

Hi,

After installing the latest version, and running the browser in Google Chrome / Firefox, copying text from the docker firefox http webui did not work. Also, I couldn't paste text from the host computer into the docker firefox http webui.

Is it possible to fix the copy-paste functionality?

dflat1 avatar Jan 08 '22 14:01 dflat1

I can confirm the issue. Clipboard functionality is not working anymore in the latest release, at least not through browser.

BrunoX66 avatar Jan 12 '22 16:01 BrunoX66

I'm able to reproduce. Copy/paste from container to host does seem to work, but not the other way.

jlesage avatar Jan 17 '22 13:01 jlesage

Same problem here.. Forced to rollback to older version v1.17.1, because a clipboard feature is critical. @jlesage is any progress in the issue resolving or maybe there is some recommendations of how to fix this, e.g. by changing X11vnc startup commands? Thank you.

UPD: I've inspected two containers with two versions of docker-firefox builds - latest v1.18.0 and v1.17.1. What I see is that in both builds there is equal x11vnc configuration. Also, there is equal version of x11vnc:

/tmp # /usr/bin/x11vnc --version
x11vnc: 0.9.14 lastmod: 2015-11-14

but despite to equal versions in both containers, a size of x11vnc binary file is different which indicates to different builds.

v1.18.0

/tmp # ls -la /usr/bin/x11vnc
-rwxr-xr-x    1 root     root       1558920 Dec 30 00:57 /usr/bin/x11vnc

v1.17.1

/tmp # ls -la /usr/bin/x11vnc
-rwxr-xr-x    1 root     root       1566952 Apr  6  2021 /usr/bin/x11vnc

trancemind avatar Feb 01 '22 08:02 trancemind

I'm experiencing the same issue, is there a fix in the works?

barucoh avatar Feb 24 '22 14:02 barucoh

I'm still investigating, I'm not sure yet what is causing the problem. The same base image is working fine with other applications, so it looks like Firefox itself might have something to do with the problem.

jlesage avatar Feb 24 '22 19:02 jlesage

Hi @jlesage, sorry to bring this up again but are there any news about this?

barucoh avatar Mar 15 '22 11:03 barucoh

Having the same issue - I'm able to copy/paste from the container to the host but not the other way around. I see that the issue is being investigated, fingers crossed!

un4gi avatar Apr 28 '22 22:04 un4gi

I wasn't able to figure out much about what's going on either. I did update Firefox in one of the older images that was working and it seemed to break it, but I'm not sure if this was a firefox issue or maybe some dependency that did this. I was thinking about rolling my own based on an ubuntu image, but additional resources needed made it not an attractive option and I don't even know if it would work.

Alpine is compatible with flatpaks, but not app images as of right now. I may try the flatpack version of firefox to see what happens

typkrft avatar Apr 29 '22 01:04 typkrft

Hello Would something be in the works to fix this ? Many thanks !

tchirou avatar Jul 10 '22 13:07 tchirou

Hey @jlesage any chance there was some kind of progress with this issue?

OriMankali avatar Jul 11 '22 12:07 OriMankali

Yes, hopefully this will be fixed in the next version, using the new base image.

jlesage avatar Jul 11 '22 16:07 jlesage

Hi @jlesage any ETA on this fix? Ty!

CaTeNdrE avatar Sep 17 '22 08:09 CaTeNdrE

Following this issue as I'm also very interested when a fix is released

ChilliGeologist avatar Sep 29 '22 00:09 ChilliGeologist

Fixed with latest image.

jlesage avatar Oct 10 '22 03:10 jlesage