Bug 8523 - Decomposed keyboard keys on macOS do not work
Summary: Decomposed keyboard keys on macOS do not work
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VNC (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks: keyboard
  Show dependency treegraph
 
Reported: 2025-02-20 11:32 CET by Pierre Ossman
Modified: 2025-02-25 13:27 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2025-02-20 11:32:29 CET
Characters with diacritic marks can in Unicode be represented either as a single codepoint (e.g. "Ä"), or as a combination (e.g. "A" + "¨").

Most systems use the single codepoint, and it is what we expect from keyboard layouts as it is what we need for VNC/RFB/X11.

But macOS likes the decomposed system with multiple codepoints. For keyboards it mostly stays sane with single codepoints, but at least the Hebrew layout uses decomposed symbols in some cases.

E.g. it can send U+05E9 + U+05C1 rather than the composed U+FB2B.

It looks like we need to normalise these so we can figure out what to send to the server.
Comment 1 Pierre Ossman cendio 2025-02-20 11:36:03 CET
Oddly enough, the related Yiddish layout doesn't have this issue with the exact same character. It generates the composed codepoint.

The issue doesn't happen on Windows as it doesn't have the problematic symbol.

Linux is also fine as there is no mechanism to send multiple values per key, so it has to use a composed version.

Note You need to log in before you can comment on or make changes to this bug.