[GH-ISSUE #947] PrintScreen is prepended with AltLeft #757

Open
opened 2026-05-05 07:02:18 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @benwa on GitHub (Nov 13, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/947

Describe the bug
On keydown, pressing the PrintScreen button is registered as AltLeft. Once released, PrintScreen is registered as normal.

To Reproduce

Steps to reproduce the behavior:

  1. Move to client
  2. Set Logging to Debug1
  3. Open log
  4. Press PrintScreen
[2020-11-13T10:59:14] DEBUG1: recv key down id=0x0000ef61, mask=0x0000, button=0x0137
[2020-11-13T10:59:14] DEBUG1: mapKey ef61 (61281) with mask 0000, start state: 2000
[2020-11-13T10:59:14] DEBUG1: find best:  2000 0000
[2020-11-13T10:59:14] DEBUG1: best key index 1 of 1 (1 modifiers)
[2020-11-13T10:59:14] DEBUG1: found key in group 0
[2020-11-13T10:59:14] DEBUG1: state: 2000,0004,0004
[2020-11-13T10:59:14] DEBUG1: flip: 0004 (2000 vs 0004 in 0004 - 0000)
[2020-11-13T10:59:14] DEBUG1: desired state: 0000 2004,0004,0004
[2020-11-13T10:59:14] DEBUG1: flip: 0000 (2004 vs 0000 in fffb - 6020)
[2020-11-13T10:59:14] DEBUG1: mapped to 054, new state 2000
[2020-11-13T10:59:14] DEBUG1: keystrokes:
[2020-11-13T10:59:14] DEBUG1:   038 (000000a4) down
[2020-11-13T10:59:14] DEBUG1:   054 (0000002c) down
[2020-11-13T10:59:14] DEBUG1:   038 (000000a4) up
[2020-11-13T10:59:14] DEBUG: clipboard changed: lost ownership
[2020-11-13T10:59:14] DEBUG1: sending clipboard 0 changed
[2020-11-13T10:59:14] DEBUG1: sending clipboard 1 changed
[2020-11-13T10:59:14] DEBUG1: recv key up id=0x0000ef61, mask=0x0000, button=0x0137
[2020-11-13T10:59:14] DEBUG1: keystrokes:
[2020-11-13T10:59:14] DEBUG1:   054 (0000002c) up

Expected behavior
Only PrintScreen should register

Desktop (please complete the following information):

  • OS: Windows 10 20H2
  • Barrier: 2.3.3
Originally created by @benwa on GitHub (Nov 13, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/947 **Describe the bug** On keydown, pressing the <kbd>PrintScreen</kbd> button is registered as <kbd>AltLeft</kbd>. Once released, <kbd>PrintScreen</kbd> is registered as normal. **To Reproduce** Steps to reproduce the behavior: 1. Move to client 2. Set Logging to Debug1 3. Open log 3. Press <kbd>PrintScreen</kbd> ```log [2020-11-13T10:59:14] DEBUG1: recv key down id=0x0000ef61, mask=0x0000, button=0x0137 [2020-11-13T10:59:14] DEBUG1: mapKey ef61 (61281) with mask 0000, start state: 2000 [2020-11-13T10:59:14] DEBUG1: find best: 2000 0000 [2020-11-13T10:59:14] DEBUG1: best key index 1 of 1 (1 modifiers) [2020-11-13T10:59:14] DEBUG1: found key in group 0 [2020-11-13T10:59:14] DEBUG1: state: 2000,0004,0004 [2020-11-13T10:59:14] DEBUG1: flip: 0004 (2000 vs 0004 in 0004 - 0000) [2020-11-13T10:59:14] DEBUG1: desired state: 0000 2004,0004,0004 [2020-11-13T10:59:14] DEBUG1: flip: 0000 (2004 vs 0000 in fffb - 6020) [2020-11-13T10:59:14] DEBUG1: mapped to 054, new state 2000 [2020-11-13T10:59:14] DEBUG1: keystrokes: [2020-11-13T10:59:14] DEBUG1: 038 (000000a4) down [2020-11-13T10:59:14] DEBUG1: 054 (0000002c) down [2020-11-13T10:59:14] DEBUG1: 038 (000000a4) up [2020-11-13T10:59:14] DEBUG: clipboard changed: lost ownership [2020-11-13T10:59:14] DEBUG1: sending clipboard 0 changed [2020-11-13T10:59:14] DEBUG1: sending clipboard 1 changed [2020-11-13T10:59:14] DEBUG1: recv key up id=0x0000ef61, mask=0x0000, button=0x0137 [2020-11-13T10:59:14] DEBUG1: keystrokes: [2020-11-13T10:59:14] DEBUG1: 054 (0000002c) up ``` **Expected behavior** Only <kbd>PrintScreen</kbd> should register **Desktop (please complete the following information):** - OS: Windows 10 20H2 - Barrier: 2.3.3
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#757
No description provided.