View Issue Details

IDProjectCategoryView StatusLast Update
0000001Kohi EngineBugspublic2026-11-11 14:18
Reportertravisvroman Assigned Totravisvroman  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformDesktopOSWindowsOS VersionAny
Product Versionv0.14.0 
Target Versionv0.14.0Fixed in Versionv0.14.0 
Summary0000001: Pressing and releasing both shift keys only results in a single key-up event
Description

Ported over from GitHub issues: https://github.com/travisvroman/kohi/issues/16

Describe the bug
If the user presses both left and right shift keys, releases one, then the other, an event is only fired when the second key is released. Note that this seems to be a limitation in the Windows API layer not firing events until the last key is pressed.

Expected behavior
An event should fire every time a key is released.

Screenshots
N/A

Desktop (please complete the following information):

OS: Windows 10+

Additional context
Add any other context about the problem here.

Steps To Reproduce
Open the engine
Press the left shift key and hold
Press the right shift key and hold
Release the left shift key while still holding the right - note no event is fired
Release the right shift key, note the event is fired.
Try this with any combination/order of left/right shift key presses.
Tagsbug, Windows
Revision

Activities

travisvroman

2026-11-11 14:18

administrator   ~0000010

Finally fixed this long-standing issue. Fixed in trunk as of r114. Fix done by using rawinput to just handle the shift keys. May switch entire keyboard (maybe mouse) over to rawinput in the future.

Issue History

Date Modified Username Field Change
2026-10-19 17:29 travisvroman New Issue
2026-10-19 17:29 travisvroman Status new => assigned
2026-10-19 17:29 travisvroman Assigned To => travisvroman
2026-10-19 17:29 travisvroman Tag Attached: bug
2026-10-19 17:29 travisvroman Tag Attached: Windows
2026-11-11 14:18 travisvroman Status assigned => resolved
2026-11-11 14:18 travisvroman Resolution open => fixed
2026-11-11 14:18 travisvroman Product Version => v0.14.0
2026-11-11 14:18 travisvroman Fixed in Version => v0.14.0
2026-11-11 14:18 travisvroman Target Version => v0.14.0
2026-11-11 14:18 travisvroman Note Added: 0000010