#842 closed enhancement (fixed)
html5 client clipboard support
Reported by: | Josh | Owned by: | Josh |
---|---|---|---|
Priority: | major | Milestone: | 0.16 |
Component: | html5 | Version: | trunk |
Keywords: | Cc: | aradtech |
Description
The HTML5 client should support text data exchange between the remote and local clipboards.
But! The local clipboard cannot be accessed from any browser at will. You can only access it during a clipboard event, i.e. if the user has pasted something in the browser window.
Therefore, the user would have to copy from their local application, paste into the html5 client, and then use the paste in the remote application. Maybe we can press CTRL+C for them to automate the remote paste?
Anyway, to get data that has been copied into the remote clipboard, we must display some kind of dialog to allow the user to manually copy to their local clipboard: user copies to clipboard in remote application, html5 client prompts with the text, user selects text and copies into their local clipboard.
Attachments (2)
Change History (7)
Changed 4 years ago by
Attachment: | Screen Shot 2015-04-22 at 20.36.23.png added |
---|
comment:1 Changed 4 years ago by
r9118 demonstrates prompting the user with remote clipboard data. You can copy from this prompt box manually and the data eventually makes it to your local clipboard.
Right now there is no client UI in the html5 client once we are connected, so not sure how this could be worked in to be slicker.
Maybe like the Guacamole people do it http://guac-dev.org/doc/gug/using-guacamole.html#client-screen.
comment:2 Changed 4 years ago by
r9139 + r9140 + r9141 make the clipboard quite useful.
It works as described above - you should paste into the browser to get data onto the remote clipboard (meaning you have to paste again in the remote application).
In the other direction, a prompt will appear if you copy something to the remote clipboard so you can manually copy it back to your local clipboard.
Changed 21 months ago by
Attachment: | clipboard-html5-macos.patch added |
---|
PoC to fix the HTML5 clipboard synchronization with macos clients (tested with chrome)
text copied to remote clipboard