Bug? Mod buttons race condition? Getting Shift+f10 to work #204

Open
opened 2026-02-20 08:21:10 -05:00 by deekerman · 0 comments
Owner

Originally created by @BeanBagKing on GitHub (Apr 16, 2025).

Sorry for the title, I'm not exactly sure what is causing this or if it's even a bug, so I'm not sure how to briefly summarize this. I'll be happy to edit it if someone has a better idea.

I've been trying to figure out how to open a terminal during Windows installation, typically Shift+f10.

I'm not sure why the pass through from my physical keyboard doesn't work. However, I can see from the sent keystrokes in the lower left that, while holding down shift (ShiftLeft) and pressing an F key, the F key isn't registered. This is as opposed to ShiftLeft + a standard key which does show up as "KeyA, ShiftLeft".

Sticky mod keys isn't supported yet (+1 to https://github.com/jetkvm/kvm/issues/211)

I should be able to hold shift on my physical keyboard and "press" the F10 button on the virtual keyboard though. I do see this briefly register as "F10, ShiftLeft". However, the terminal isn't appearing. This is where a race condition might come into play. As I was troubleshooting, I was holding shift on my physical keyboard and rapidly clicking the F10 button on the virtual keyboard when suddenly the terminal appeared! I'm honestly not sure what the race condition would be, since I would expect this to work first time, it's just the behavior that seems like a race. Rapidly sending the same signal over and over and suddenly it works.

Video of the behavior: https://www.youtube.com/watch?v=fFJiQDvjbMA

Originally created by @BeanBagKing on GitHub (Apr 16, 2025). Sorry for the title, I'm not exactly sure what is causing this or if it's even a bug, so I'm not sure how to briefly summarize this. I'll be happy to edit it if someone has a better idea. I've been trying to figure out how to open a terminal during Windows installation, typically Shift+f10. I'm not sure why the pass through from my physical keyboard doesn't work. However, I can see from the sent keystrokes in the lower left that, while holding down shift (ShiftLeft) and pressing an F key, the F key isn't registered. This is as opposed to ShiftLeft + a standard key which does show up as "KeyA, ShiftLeft". Sticky mod keys isn't supported yet (+1 to https://github.com/jetkvm/kvm/issues/211) I should be able to hold shift on my physical keyboard and "press" the F10 button on the virtual keyboard though. I do see this briefly register as "F10, ShiftLeft". However, the terminal isn't appearing. This is where a race condition might come into play. As I was troubleshooting, I was holding shift on my physical keyboard and rapidly clicking the F10 button on the virtual keyboard when suddenly the terminal appeared! I'm honestly not sure what the race condition would be, since I would expect this to work first time, it's just the behavior that seems like a race. Rapidly sending the same signal over and over and suddenly it works. Video of the behavior: https://www.youtube.com/watch?v=fFJiQDvjbMA
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/kvm#204
No description provided.