1
0
Fork 0
mirror of https://github.com/pikvm/pikvm.git synced 2026-03-02 18:16:56 -05:00

Stuck keys when using shift key #278

Closed
opened 2026-02-20 13:23:51 -05:00 by deekerman · 8 comments
Owner

Originally created by @codisms on GitHub (Jun 19, 2021).

Originally assigned to: @mdevaev on GitHub.

Describe the bug
When connected to a Windows laptop via VNC, keys are sometimes stuck while typing, but always when used with the shift key. For example, entering the key "?" will result in a trail of slash characters ("/") until another key is pressed. (e.g. "?///////////////////////")

To Reproduce
Steps to reproduce the behavior, like:

  1. Connect to Windows laptop via VNC.
  2. Open Notepad, command prompt, Cygwin, PowerShell, etc.
  3. Begin typing with use of characters requiring the shift key. (e.g., "?", "<", ">", "|", "{", "}", double quote...)
  4. See trailing characters

Expected behavior
When a key is pressed, it shouldn't stick the key.

Desktop (please complete the following information):

  • OS: Windows 10
  • VNC client: Jump Desktop

Pi-KVM info:

  • Raspberry Pi board version RPi 4a
  • Pi-KVM platform: v2-hdmi
  • Video capture type: CSI bridge
  • KVMD version: 3.6.1
  • uStreamer: version: 4.4.1
  • Linux kernel: Linux pikvm 5.10.23-2-ARCH #1 SMP Thu Mar 18 18:33:35 MSK 2021 armv7l GNU/Linux

Note:
I don't know if this is related, but I also get random presses of the escape key.

Originally created by @codisms on GitHub (Jun 19, 2021). Originally assigned to: @mdevaev on GitHub. **Describe the bug** When connected to a Windows laptop via VNC, keys are sometimes stuck while typing, but always when used with the shift key. For example, entering the key "?" will result in a trail of slash characters ("/") until another key is pressed. (e.g. "?///////////////////////") **To Reproduce** Steps to reproduce the behavior, like: 1. Connect to Windows laptop via VNC. 2. Open Notepad, command prompt, Cygwin, PowerShell, etc. 3. Begin typing with use of characters requiring the shift key. (e.g., "?", "<", ">", "|", "{", "}", double quote...) 4. See trailing characters **Expected behavior** When a key is pressed, it shouldn't stick the key. **Desktop (please complete the following information):** - OS: Windows 10 - VNC client: Jump Desktop **Pi-KVM info:** - Raspberry Pi board version RPi 4a - Pi-KVM platform: v2-hdmi - Video capture type: CSI bridge - KVMD version: 3.6.1 - uStreamer: version: 4.4.1 - Linux kernel: Linux pikvm 5.10.23-2-ARCH #1 SMP Thu Mar 18 18:33:35 MSK 2021 armv7l GNU/Linux Note: I don't know if this is related, but I also get random presses of the escape key.
Author
Owner

@mdevaev commented on GitHub (Jun 19, 2021):

Could you try TigerVNC? What you described is similar to the client's problems.

@mdevaev commented on GitHub (Jun 19, 2021): Could you try TigerVNC? What you described is similar to the client's problems.
Author
Owner

@codisms commented on GitHub (Jun 20, 2021):

I downloaded TigerVNC and tried it. In my quick testing, the shift key doesn't seem to stick the key, but the random escape key still occurs. I also have an issue where if I copy something from my Mac and then Cmd-Tab into the VNC session, the contents of the clipboard are automatically pasted. Should I open separate issues for these?

@codisms commented on GitHub (Jun 20, 2021): I downloaded TigerVNC and tried it. In my quick testing, the shift key doesn't seem to stick the key, but the random escape key still occurs. I also have an issue where if I copy something from my Mac and then Cmd-Tab into the VNC session, the contents of the clipboard are automatically pasted. Should I open separate issues for these?
Author
Owner

@codisms commented on GitHub (Jun 20, 2021):

I connected using TigerVNC and ran showkey in a WSL window. It reports that it periodically receives a null value as a key press.

@codisms commented on GitHub (Jun 20, 2021): I connected using TigerVNC and ran `showkey` in a WSL window. It reports that it periodically receives a null value as a key press.
Author
Owner

@mdevaev commented on GitHub (Jun 20, 2021):

What is "null value"?

@mdevaev commented on GitHub (Jun 20, 2021): What is "null value"?
Author
Owner

@codisms commented on GitHub (Jun 20, 2021):

Key code zero.

@codisms commented on GitHub (Jun 20, 2021): Key code zero.
Author
Owner

@codisms commented on GitHub (Jun 20, 2021):

Screenshot_6_20_21__8_07_PM

@codisms commented on GitHub (Jun 20, 2021): ![Screenshot_6_20_21__8_07_PM](https://user-images.githubusercontent.com/7851229/122701897-1856ab00-d203-11eb-9500-5515802baba4.png)
Author
Owner

@codisms commented on GitHub (Jun 21, 2021):

This is an issue with the machine, not the KVM.

@codisms commented on GitHub (Jun 21, 2021): This is an issue with the machine, not the KVM.
Author
Owner

@mdevaev commented on GitHub (Jun 21, 2021):

I love problems that fix themselves :) Let me know if there are any other bugs with this.

@mdevaev commented on GitHub (Jun 21, 2021): I love problems that fix themselves :) Let me know if there are any other bugs with this.
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
starred/pikvm-pikvm#278
No description provided.