Just following up on this.

I just built 1.6.0-RC1 and am still having this issue in Safari 18.4 on macOS 
15.4.1. Any time I click on a connection on the homepage, it immediately pops 
up the “Paste” button wherever my cursor is. I also get the same exact issue in 
Safari in iOS 18.4.1. The popup also happens whenever entering the slide-in 
menu while in a connection.

If anyone comes up with a fix in a development branch, I’m happy to test on my 
hardware. 

Thanks!

-Nathaniel Belles

> On Mar 12, 2025, at 07:28, steph01 
> <[email protected]> wrote:
> 
> 
> 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?
>> <image001.png>
>>  
>> Best regards
>> Jonah
>>  

Reply via email to