[GH-ISSUE #1495] Screenshot corrupted when pasting from MacOS (client) to Win10 (server) #1136

Open
opened 2026-05-05 07:31:32 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @asedim on GitHub (Jan 4, 2022).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1495

What happened?

When I take a screenshot on the Mac (client) using control+shift+command+4 and then try to paste it with ctrl+v on the Windows (server) I get following issues on

Surprisingly I can paste the picture successfully to MS Paint so I know that the clipboard data is being synchronized but is somehow corrupted or incompatible. I also don't have this issue when pasting the image the other way around; from Windows to Mac.

Version

v2.4.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

No response

What OSes are you seeing the problem on? (Check all that apply)

Windows, macOS

What OS versions are you using?

Server: Windows 10
Client: MacOS Big Sur

Relevant log output

[2022-01-04T08:12:04] INFO: screen "Mac" grabbed clipboard 0 from "Windows"
[2022-01-04T08:12:04] INFO: screen "Mac" grabbed clipboard 1 from "Windows"
[2022-01-04T08:12:06] INFO: switch from "Mac" to "Windows" at 1918,557
[2022-01-04T08:12:06] INFO: entering screen
[2022-01-04T08:12:06] INFO: screen "Mac" updated clipboard 0
[2022-01-04T08:12:06] INFO: screen "Mac" updated clipboard 1

Any other information

No response

Originally created by @asedim on GitHub (Jan 4, 2022). Original GitHub issue: https://github.com/debauchee/barrier/issues/1495 ### What happened? When I take a screenshot on the Mac (client) using control+shift+command+4 and then try to paste it with ctrl+v on the Windows (server) I get following issues on - Slack (via Chrome) ![image](https://user-images.githubusercontent.com/11590250/148021424-32f0b6d3-47fb-41a6-a962-eebb95d07e6a.png) - GMail (via Chrome) ![image](https://user-images.githubusercontent.com/11590250/148021535-84ad88e9-1ad9-46c2-bfe8-cc76a70b70a6.png) - Photopea (via Chrome) ![image](https://user-images.githubusercontent.com/11590250/148021677-b3fab5f3-395c-45ab-8336-c1201c98f70a.png) - https://evercoder.github.io/clipboard-inspector/ (via Chrome) ![image](https://user-images.githubusercontent.com/11590250/148021586-02774343-f9c1-41eb-b316-4140aaac56dd.png) - Discord, Skype - nothing happens on paste - win+v - there is no entry of the copied image Surprisingly I can paste the picture successfully to MS Paint so I know that the clipboard data is being synchronized but is somehow corrupted or incompatible. I also don't have this issue when pasting the image the other way around; from Windows to Mac. ### Version v2.4.0 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? _No response_ ### What OSes are you seeing the problem on? (Check all that apply) Windows, macOS ### What OS versions are you using? Server: Windows 10 Client: MacOS Big Sur ### Relevant log output ```shell [2022-01-04T08:12:04] INFO: screen "Mac" grabbed clipboard 0 from "Windows" [2022-01-04T08:12:04] INFO: screen "Mac" grabbed clipboard 1 from "Windows" [2022-01-04T08:12:06] INFO: switch from "Mac" to "Windows" at 1918,557 [2022-01-04T08:12:06] INFO: entering screen [2022-01-04T08:12:06] INFO: screen "Mac" updated clipboard 0 [2022-01-04T08:12:06] INFO: screen "Mac" updated clipboard 1 ``` ### Any other information _No response_
Author
Owner

@widget- commented on GitHub (Jun 23, 2023):

Behavior is also inconsistent between screenshot types. If in Edge I use Web Capture (Cmd+Shift+S) and copy the entire page, I can paste into mspaint, then copy from mspaint and it's fine. Selecting an area results in a corrupted image.

But if I do a section or if I use the system-wide screenshot (Ctrl+Cmd+Shift+4) then it will look like this:

image

(This is supposed to be white text on a dark grey background, with a 🤯 (exploding head) emoji.)

<!-- gh-comment-id:1604599298 --> @widget- commented on GitHub (Jun 23, 2023): Behavior is also inconsistent between screenshot types. If in Edge I use Web Capture (Cmd+Shift+S) and copy the entire page, I can paste into mspaint, then copy from mspaint and it's fine. Selecting an area results in a corrupted image. But if I do a section or if I use the system-wide screenshot (Ctrl+Cmd+Shift+4) then it will look like this: ![image](https://github.com/debauchee/barrier/assets/7691630/4c3854b0-8d90-4ee7-93ea-2c9637ce633d) (This is supposed to be white text on a dark grey background, with a 🤯 (exploding head) emoji.)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#1136
No description provided.