mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 22:01:23 -06:00
[GH-ISSUE #1119] Unexpected punctuation characters are emitted when client keyboard layout is not English #896
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#896
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 @MadaraUchiha on GitHub (Apr 6, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1119
Describe the bug
When the target keyboard layout is set to a layout that doesn't match the host (in my case, QWERTY English), characters like , . / ' are emitted instead of the target layout character in that position.
For example, when the keyboard layout is set to Hebrew, pressing the key that in English layout would be
,should cause the characterתto be emitted, instead,,is emitted.To Reproduce
Steps to reproduce the behavior:
,keyExpected behavior
The client should type
תonto the text editor.Actual behavior
The client types
,onto the text editor.Screenshots
N/A
Desktop (please complete the following information):
Additional context
In the case of the Hebrew layout (but probably in other layouts as well), the punctuation keys are laid out differently, for example, to type
,in Hebrew, you'd press the key in the QWERTY layout position of', to type.you'd hit/and so on. Since these keys appear in both layout (albeit in different positions), the original English characters are emitted.Hebrew characters (i.e. those that don't appear in the English QWERTY layout) work fine, you type
mand getצas expected, for instance.Attached is an image of a Hebrew keyboard with the keys marked, for illustration

Related: #724 #860
@abutbul commented on GitHub (Aug 11, 2021):
Some info: This does reproduce in Windows 10 but does not in Linux (Ubuntu 20.04 for example).
I have been trying to find keyboard layouts in Windows which will not send
,instead ofתbut so far none have proven to work.