[Win32 Input] Keys are not released when focus leaves the application #8913

Open
opened 2026-01-31 01:41:13 +00:00 by claunia · 0 comments
Owner

Originally created by @DHowett on GitHub (Jun 9, 2020).

Alt+Tab sends an Alt press, but no alt release.

I thought this was the same as #6421, but it also happens with Shift. Hold it down then focus another app.
This also happens if you do Ctrl+Tab to switch tabs. Ctrl is locked from the perspective of the application.

In conhost, applications receive key releases on focus loss.

Originally created by @DHowett on GitHub (Jun 9, 2020). Alt+Tab sends an Alt press, but no alt release. I thought this was the same as #6421, but it also happens with <kbd>Shift</kbd>. Hold it down then focus another app. This also happens if you do <kbd>Ctrl+Tab</kbd> to switch tabs. <kbd>Ctrl</kbd> is locked from the perspective of the application. In conhost, applications receive key releases on focus loss.
claunia added the Needs-TriageIssue-BugArea-InputProduct-Terminal labels 2026-01-31 01:41:14 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8913