guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amarjeet Singh <amarjee...@gmail.com>
Subject Re: Clipboard support using guacamole-common-js API
Date Tue, 21 Nov 2017 14:05:03 GMT
@Mike :  It is working : I am not facing the above issue as of now. I might
be sending the wrong keys.



On Tue, Nov 21, 2017 at 7:27 PM, Amarjeet Singh <amarjeetxc@gmail.com>
wrote:

> Hi Mike,
>
> I enabled Ctrl + V  ( Paste Event )  >>  then updated the guacClipboard
> << $scope.$broadcast('guacClipboard', data);  >> .
>
> Issue :  It was sending Ctrl + V  keys to the server and then the
> clipboard data , therefore server is pasting older data and on the next
> Ctrl + v , it is pasting the correct data.
>
> I stopped the guackeyDown broadcast  << $scope.$broadcast('guacBeforeKeyup',
> keysym, keyboard); >>  only for Ctrl + V and first sent the clipboard data
> to the server, now data is updated on the server >> then used
> guacSyntheticKeydown to send ctrl and V keys .
>
> It is copying the correct data but with an issue.
>
>
> Issue :  Suppose I have this text on the Notepad of the remote server "
> Guacamole  | " , As you see the cursor is after the space, when I paste
> text "amarjeet" from local to remote it becomes
>
> "Guacamoleamarjeet" : The space is not there.
>
>
> Please share your suggestions. I would be very grateful to you.
>
> I am looking into it.
>
> Thanks and Regards,
> Amarjeet Singh
>
> On Sat, Nov 18, 2017 at 10:23 AM, Mike Jumper <mike.jumper@guac-dev.org>
> wrote:
>
>> On Nov 17, 2017 17:40, "Amarjeet Singh" <amarjeetxc@gmail.com> wrote:
>>
>> ...
>> I have added the clipboard support without any plugins or without
>> pressing ctrl+shift+alt. for all browsers.
>>
>>
>> Can you describe the nature of your changes?
>>
>> - Mike
>>
>>
>

Mime
View raw message