Hi everyone,

yea it's related to firefox (since version 127) due the introduction of support of Clipboard API: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/127#apis

However, the behavior differs from the implementation on the Chrome (or chrome based browsers), in fact operations such as "readText()" and "writeText()" must be called contextually to an action and not imperatively.

Therefore firefox in the case of writeText() shows an action window which, if pressed, will perform the paste. A bit of strange behavior.

The line in the code i think is this: https://github.com/apache/guacamole-client/blob/0995eb8eb83e0838c3faedddc358f468fbbb03b2/guacamole/src/main/frontend/src/app/clipboard/services/clipboardService.js#L202


Maybe must be implemented a check that prevent running this action in firefox?


If i find some time i can do a pull request if you want.


Il 08/01/25 11:33, Strotmann, Jonah ha scritto:

Ahoy everyone,

one of our users noticed that a pop-up with the option “paste”  randomly appears while using the Firefox browser for Guacamole.

After some testing I managed to reproduce this behaviour on my machine using the up-to-date version of Firefox (134.0) as well as the newest (tag latest) docker image for guacamole.

Also, it seems like other people noticed the same behaviour: https://www.reddit.com/r/selfhosted/comments/1fbfxf8/guacamole_paste_popup/

Did more people on this list have this problem and/or found a solution to it?

Best regards

Jonah

Reply via email to