mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 22:01:23 -06:00
[GH-ISSUE #894] Pasting from Windows server to MacOS Big Sur client results in Kanji #712
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#712
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jasontfox on GitHub (Sep 29, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/894
Describe the bug
Hi, this is no doubt a strange one. I have a Windows 10 Server (2.3.3) and a MacOS Client (2.3.3). The Mac is running Big Sur, MacOS 11.0. If I copy text from my Windows server machine and paste it into the Messages app on the Mac it appears to paste as Kanji or some wide-character values. I've attached a picture of the text I copy and then the resulting paste into Messages.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Pasting the original text value into Messages
Screenshots

Text to copy:
Result:

Desktop (please complete the following information):
Additional context
Interestingly, pasting the same text into Safari or Discord on the Mac does not result in Kanji.
@toastedcrumpets commented on GitHub (Oct 1, 2020):
I have the same issue pasting from Ubuntu into windows. Not sure what is going on.
@vraicovi commented on GitHub (Nov 17, 2020):
Same problem from Windows 10 (Version 2004 - Build 19041.630) to Big Sur (11.0.1).
@NuclearMonster commented on GitHub (Nov 18, 2020):
also have this issue with Big Sur (client) and Windows 10 (host
@PCAri75 commented on GitHub (Dec 3, 2020):
Also having this issue w/ Win10 20H2 (19042.630) as the host and macOS Big Sur 11.0.1 as the client, and experienced the problem in 2.3.1, 2.3.2, and 2.3.3.
Having a different problem, too, where typing on my Win10 host's keyboard results in crazy gibberish on the macOS client.
UNLESS!
Unless the Win10 host has Barrier open and in the foreground on the desktop - THAT was fun to suss out.
Now I'm trying to find others with the same problem rather than starting a new thread and figured those in this thread might have some leads on that? (apologies in advance for mingling issues)
@vraicovi commented on GitHub (Dec 12, 2020):
I'm not having the same experience as you. Almost a month later now and I'm on the same builds of Windows and macOS.
I am still unable to paste text from Windows to Mac - it shows up in Kanji. I'm still unable to paste images. These both worked prior to upgrading to Big Sur. I tried bringing the host Barrier (Win10) to the foreground and tried again with no success. Unlike you, I have no issues typing from my Win10 host's keyboard on my macOS client.
@vraicovi commented on GitHub (Dec 12, 2020):
The handful of times that I checked this thread and replied, I missed this line. I just tested it myself and can confirm the same behavior. I only have pasting issues into Messages.
@jasontfox commented on GitHub (Dec 14, 2020):
I gave up on an official solution. I ended up writing an applescript service to copy the existing clipboard data into the clipboard again and that fixes it. It just means I have to hit CMD-CTRL-V to paste or I get the kanji :)
@vraicovi commented on GitHub (Dec 25, 2020):
Any chance you'll share, @SuburbanSpetsnaz? I'm a novice to applescript and my attempts are not yielding the desired results:
set the clipboard to (get the clipboard)@hdwatts commented on GitHub (Jan 4, 2021):
Also having this issue, only occurs when pasting into Messages. I can paste into a text editor, recopy, and then paste properly into iMessage.
@jasontfox commented on GitHub (Jan 4, 2021):
Yes, sure thing! I just used this little bit of script and then installed it as a service:
do shell script "pbpaste | pbcopy"you can also just do
pbpaste | pbcopyin a terminal. It's a kludge for sure, but it made things somewhat better until (if) there's a real fix.@treellama commented on GitHub (Jun 22, 2021):
Curiously, if you select "Paste and Match Style" from the edit menu (command option shift V) it works
@ChrisRegado commented on GitHub (Sep 2, 2021):
This was an issue in upstream Synergy as well, which was fixed in this commit:
0b2722c55e