-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feedback Loop #5
Comments
Hmm, you are right. I remember testing it with BMP images, and that worked because it could recognize that the image in the clipboard has already been set. However, I seem to have changed the format to jpeg at some point, and that essentially loops between the two machines until the compression reaches its worst point (because the image gets reencoded from the clipboard format to the transmission format every time, which for jpeg often changes the bytes due to its lossy nature):
In general the problem is that we can't (I think) "tag" certain clipboard content with an ID we can recognize, so the detection if something has already been set is a bit weird. For text, I'm not quite sure why it would loop between machines forever (however, I only really have two devices I use mysti with, maybe there are problems with more). |
Using BMP it seems to be better, but the general problem with many messages being exchanged (most of them essentially unnecessarily) remains. |
It seems that copy and paste between two machines often times result in a feedback loop.
So the process seems to be:
Machine A copies data to System Clipboard. This is then synced to Machine B's clipboard.
Machine B's clipboard change is detected by Mysti, which re-sends the data to Machine A.
Machine A then detects a clipboard change and sends it back to Machine B.
The cycle continues forever.
This seems to happen always when copying images. Sometime for text.
The text was updated successfully, but these errors were encountered: