Clipboard and language change #26
Replies: 1 comment
-
|
I'm so sorry it took... checks calendar... over three months to respond. I somehow missed the post notification. It's totally my bad. The Shift+Alt shortcut should work with some recent-ish changes to how input is processed. Tested on Brave browser (from Windows and Kubuntu) to Windows 11 Pro agent. However, due to security sandboxing of the browser, I can't prevent the Shift+Alt shortcut from also affecting the viewer's machine. As for clipboard sync, I prefer to keep the current implementation. Here's why: There was a security change to Firefox and Safari a while back that changed how clipboard access works. Granting permission to the clipboard no longer allows unfettered access. Instead, clipboard access can only occur in a short window following a "user activation event". And for read access, even if it happens within the activation event window, Firefox will still show an additional "Paste" prompt. You can read more about it here and how the implementation differs between browsers: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API#security_considerations I was working on Remotely at the time, which used a constant background sync. So it broke Remotely's implementation on Firefox, and I never got around to fully addressing it. Here's what happens on Firefox when trying to read the clipboard in the activation event window: I don't know if using the Ctrl+C and Ctrl+V for the activation event would work as expected, and I don't know where Firefox would show the prompt in that case. So that's the initial reason why I implemented it this way. But there are also important security considerations here. A tech might want to copy and paste sensitive data on the remote machine without it being transferred to their own machine. In that case, we need explicit clipboard buttons to prevent that from happening automatically. I'm open to alternative suggestions that satisfy security and browser requirements, but I would need to get a significant amount of community feedback in favor of the change. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
This is an amazing project, I look forward to new updates. Dear developer, will you add CTRL+C and CTRL+V functionality for exchanging data between the host and the agent, as well as SHIFT+ALT for changing the language on the computer I'm connected to?
I'm referring specifically to hotkeys, not the buttons in the Clipboard section.
Beta Was this translation helpful? Give feedback.
All reactions