-
Notifications
You must be signed in to change notification settings - Fork 55
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
Clipboard paste doesn't work in Google Chrome #319
Comments
Are you saying that google-chrome is running in the server session and is being accessed using the xpra-html5 client running in Firefox? As a nested browser? What is your full xpra server version? |
@totaam Yes, that is correct. Basically, I am using Google Chrome to browse the internet on the server through XPRA. Server XPRA version is v6.1.1-r0. |
I see that #301 is also one of your tickets and is also clipboard related. Is that one fixed? |
Yes, only thing that is still not working is pasting into Chrome from client-side, and I think this must have something to do with Chrome itself. |
Running my server in a Fedora 41 VM (as I don't want to interfere with my day to day browser session on my local desktop).
TILs:
What's wrong with |
I can also reproduce this bug using
At first glance, the only noticeable difference that I can see is |
This xpra server commit fixes things: Xpra-org/xpra@8f446c4 You should have been able to also workaround this issue by selecting Either fix works-for-me(tm). Let me know if you are still having issues. |
@totaam Thank you for looking into this. I updated to the latest master of the HTML5 client and tried setting the preferred clipboard format to |
@gashtal you can easily apply Xpra-org/xpra@8f446c4 to your existing installation. |
@totaam Great suggestion. I modified the file manually and clipboard copy now works in both direction in every application. Copy/pasting clipboard content even seems to be faster than before. 😄 |
Following up on this issue, currently I can copy/paste data in and out of applications through the HTML5 client using Firefox, with the exception of Google Chrome.
With Google Chrome, copy from server to client works, but not from client to server. If I copy something from client-side, I can paste it in other applications that are open in the same session, but not Google Chrome. If I first paste the clipboard content in another application that is open in the same session and copy again from that application, then I can paste the content in Google Chrome. This seems like it might be due to come security policy in Google Chrome that is preventing paste of data directly from the client-side. If I connect to the same open session using XPRA's OpenGL client instead, I can copy/paste data directly to the same Google Chrome instance without any issues.
Client OS: Windows 10 x64
Client browser: Firefox 129.0.2 x64
Server OS: Ubuntu 22.04
HTML5 Client: v15
The text was updated successfully, but these errors were encountered: