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

Closed
opened 2026-01-31 01:41:16 +00:00 by claunia · 1 comment
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:17 +00:00
Author
Owner

@DHowett commented on GitHub (Jun 9, 2020):

Nevermind -- I tested this incorrectly.

@DHowett commented on GitHub (Jun 9, 2020): Nevermind -- I tested this incorrectly.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8916