Bug 4971 - Ctrl key out of sync on macOS clients
Summary: Ctrl key out of sync on macOS clients
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VNC (show other bugs)
Version: 4.1.1
Hardware: Macintosh macOS
: P2 Normal
Target Milestone: MediumPrio
Assignee: Pierre Ossman
Depends on:
Blocks: 3523
  Show dependency treegraph
Reported: 2014-01-29 10:28 CET by Karl Mikaelsson
Modified: 2018-05-02 16:53 CEST (History)
2 users (show)

See Also:
Acceptance Criteria:


Description Karl Mikaelsson cendio 2014-01-29 10:28:28 CET
Every now and then on the Mac OS X client, the Ctrl key behaves like it's been pressed while it's not. I haven't yet figured out what key combination triggers this, but I mostly experience this in Emacs which has lots of key combinations with Ctrl. Pressing Ctrl again makes it get back in sync.
Comment 1 Karl Mikaelsson cendio 2014-01-29 10:31:35 CET
For the record: I've seen this on my Mac mini with OS X 10.9, ThinLinc Client 4.1.1.
Comment 2 Pierre Ossman cendio 2014-02-04 15:05:00 CET
We got a customer report on issue 14942. The issue also describes a way to reproduce the problem:

"It can be caused by holding (cmd+shift+4) (used on mac to make a 

I verified this on our 10.9 machine in the lab with ThinLinc in windowed mode, and it resulted in state 0x9 getting stuck. Pressing and releasing first shift, then cmd got me back to normal.
Comment 3 Pierre Ossman cendio 2014-09-17 10:42:05 CEST
There are two bugs at play here. One is a server side issue where it gets confused about two Alt_L presses with a shift in between and without a release. This has been moved to bug 5258.

The other bug is that we do not see the release of Cmd and Shift when 4 is grabbed as a hot key. Need to add some logic for this, probably triggering a release of all keys like we do for loss of focus.

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