Bug 8035 - Command+<key> gets stuck key on macOS
Summary: Command+<key> gets stuck key on macOS
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Web Access (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: 2022-11-25 10:01 CET by Pierre Ossman
Modified: 2022-11-29 12:42 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2022-11-25 10:01:48 CET
If you press e.g. Command+J on macOS, you get press event for both Command and J. But when you release the keys, you only get release events for Command. So J ends up stuck down from the server's perspective.

In most cases, this doesn't matter, and it will resolve itself once focus is lost or J is pressed by itself. Still, there are probably cases where it is important.

Upstream bug report:

https://github.com/novnc/noVNC/issues/1695

Browser bug reports:

https://bugzilla.mozilla.org/show_bug.cgi?id=1802465
https://bugs.chromium.org/p/chromium/issues/detail?id=1393524
https://bugs.webkit.org/show_bug.cgi?id=55291

Workaround got added upstream:

https://github.com/novnc/noVNC/pull/1698

Unfortunately, it means that applications cannot tell how long the key is pressed down. So it is not ideal.

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