-
Notifications
You must be signed in to change notification settings - Fork 59
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
Firefox broke the clipboard polling with an annoying popup #301
Comments
I assume that you mean the Nothing has been changed when it comes to click handling for quite some time. |
Befor that, we had 8.1. It occours after the Firefox Update. With an older Version of Firefox, everything worked just fine. But after the update, you just have right clicks |
Please specify the exact Firefox versions that have / do not have this problem so that I can try to reproduce it. |
Tried it, left click works fine but Firefox seems to have added a new clipboard popup mis-feature. |
I'm currently using Firefox 125.0.2 (new Version came up today) with XPra 5.0.8 and HTML5 Client 12 I have disabled the clipboard in default-settings.txt by adding clipboard=no. Unfortunately without success |
Is there any restriction, which Browser can be used? I couldn't find anything in the Documentary/Git Page |
There is no way to track which browsers / versions / platforms / OS / connection / server combinations work as there are just too many variables. |
@totaam Is this issue a "bug" in Firefox and needs to be solved by them, or can it be resolved from XPRA's side? I finally managed to get the HTML5 client to work, only to discover I cannot actually use it because of this bug. |
@gashtal as per above, just disable the clipboard and things work fine with Firefox. |
@totaam Unfortunately, disabling clipboard is not an ideal solution as I heavily rely on clipboard sharing when using XPRA. I will go back to the OpenGL client and wait for this issue to be fixed in the HTML5 client. Thank you for all the time and effort you are putting into the HTML5 client. |
Originally recorded in #283 which is somewhat related. What a mess! Some links and notes:
caniuse: clipboard.read - looks like Firefox 128 will have better clipboard support? Though we may have to request the permission. So, for now, either use a secure context or disable the clipboard? |
Hi @totaam We already deactivated the Clipboard in the Firefox-Browser. |
The commit above at least restores the clipboard copy from server to client, only client-to-server is disabled for Safari and Firefox. There is now also a clipboard diagnostic page shipped with the client: https://github.com/Xpra-org/xpra-html5/blob/master/html5/clipboard.html @trawn-88 I will be adding a button to the top bar so that users can trigger a clipboard copy to the server. Not user-friendly at all, but that's the best we can do with Firefox versions before 128. |
@trawn-88 please try the current version, it should look like this: The copy icon on the right hand side of the top bar syncs the clipboard to the server explicitly. |
I'll try as soon as possible and give you a Feedback |
@totaam Thank you for providing this work-around. I am currently trying to get it to work, but have not had much luck so far. As an example, I launch chrome with the following command:
Then, I connect to the HTML5 session via browser, copy some text from the client, click on the "client to server" icon and the "Paste" button comes up. I click on the "Paste" button. At this point, if I open up a terminal and run Regarding server to client which you mentioned should work as is, it doesn't seem to work for me regardless of which application I try to copy data from to the client. P.S. I am running Ubuntu 22.04 on the sever. |
If you see the clipboard contents with |
Server: Ubuntu 22.04.04 |
@trawn-88 server to client worked for me on the very first attempt. I copied some text on the server using xclip: echo foo | xclip -i -selection CLIPBOARD With
And I can correctly paste Note: you may need to click (anywhere on the page) to trigger the copy event. Firefox 124 on Windows 10. Not using |
Can you kindly clarify how I can see the debug log when I enable clipboard debugging? |
Open the javascript console: Firefox Browser Console |
I am accessing the server through an Apache proxy. If I connect to the session by directly going to |
Hmm, maybe another Firefox bug, then? 😅 |
FWIW: I can no longer reproduce the problem with Firefox. |
When started in Firefox (Version 125.0.1) - every Mouse Click is a right click
Client OS: [e.g. Windows 11]
It works normal in older Versions
The text was updated successfully, but these errors were encountered: