Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clipboard sync for Chrome remote desktop not working #948

Closed
2 tasks done
arichardson opened this issue Nov 8, 2024 · 3 comments
Closed
2 tasks done

Clipboard sync for Chrome remote desktop not working #948

arichardson opened this issue Nov 8, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@arichardson
Copy link

Before Submitting Your Feature Request

  • Check that there isn't already a similar feature request to avoid creating a duplicate.
  • I have seen the FAQ.

Problem

I am not able to get Maccy to work as expected with Chrome remote desktop, changing the selected item does not sync the clipboard to the remote system when I select a new item, instead it keeps the previous clipboard entry.

It appears that there is no web API to detect clipboard change, so the remote desktop synchronization takes place whenever the window loses focus. I previously used CopyQ and that worked fine - I believe this is because the CopyQ selection popup menu is a different app that removes focus from the remote desktop window, so it happened to work.

Solution

I believe an easy workaround for this would be to briefly remove focus before pasting either unconditionally or when the foreground app is Chrome (app ID is com.google.Chrome or com.google.Chrome.app.<randomstring> when running in a separate Window).

@arichardson arichardson added the enhancement New feature or request label Nov 8, 2024
@p0deje
Copy link
Owner

p0deje commented Nov 9, 2024

Interesting, it might as well help with pasting to Microsoft RDP sessions. I'll play around.

@p0deje p0deje closed this as completed in ef40d5d Nov 22, 2024
@p0deje
Copy link
Owner

p0deje commented Nov 22, 2024

I've added a fix for Chrome Remote Desktop.app, can you check when 2.2. is released?
It won't work for Chrome because this is a hacky workaround that I don't want to be applied for all regular copies in Chrome window.

@arichardson
Copy link
Author

Thank you very much! I can confirm this fixes the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants