Mouse events are not sent when the mouse is outside the top of the WT #22113

Open
opened 2026-01-31 08:03:46 +00:00 by claunia · 0 comments
Owner

Originally created by @BDisp on GitHub (Aug 19, 2024).

Windows Terminal version

Versão: 1.20.11781.0

Windows build number

10.0.22631.0

Other Software

No response

Steps to reproduce

Please clone this GitHub repository MouseTests and run. Keep pressing the mouse inside the console and move around it, as the gif show.

Expected Behavior

The mouse events should be sent while the mouse button is pressed and moving inside or outside the console until it's released.

Actual Behavior

The mouse events are sent as expected except from outside of the console on top.

MouseTests

With the conhost the mouse events are always sent from anywhere while the mouse isn't released.

Originally created by @BDisp on GitHub (Aug 19, 2024). ### Windows Terminal version Versão: 1.20.11781.0 ### Windows build number 10.0.22631.0 ### Other Software _No response_ ### Steps to reproduce Please clone this GitHub repository [MouseTests](https://github.com/BDisp/MouseTests.git) and run. Keep pressing the mouse inside the console and move around it, as the gif show. ### Expected Behavior The mouse events should be sent while the mouse button is pressed and moving inside or outside the console until it's released. ### Actual Behavior The mouse events are sent as expected except from outside of the console on top. ![MouseTests](https://github.com/user-attachments/assets/aa84e08d-a96f-43e2-a1ee-8ae199ba74d3) With the `conhost` the mouse events are always sent from anywhere while the mouse isn't released.
claunia added the Issue-BugIn-PRArea-InputNeeds-Tag-FixProduct-Terminal labels 2026-01-31 08:03:47 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22113