Skip to content

[VT Mouse Mode] Release is not fired when a drag begins inside and exits the terminal window #6401

@o-sdn-o

Description

@o-sdn-o

Environment

Windows build number: 10.0.18363.836
WSL profile

Steps to reproduce

Use WSL profile, enable the mouse tracking mode SGR (1006):

echo -e '\e[?1003;1006h'

If you press the mouse button in the terminal window and move the cursor outside the window and release the button there, the application running in the terminal does not receive a message that the button has been released.

When the mouse tracking mode is on, while holding any mouse button and moving the cursor outside the window, the mouse tracking should not stop.

Expected behavior

If the mouse button was pressed inside the terminal, then the message about releasing the mouse button should come even if the mouse cursor has moved outside the window.

Actual behavior

А message about releasing the mouse button (and any tracking messages) does not come if the mouse cursor has moved outside the window.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-InputRelated to input processing (key presses, mouse, etc.)Area-VTVirtual Terminal sequence supportHelp WantedWe encourage anyone to jump in on these.Issue-BugIt either shouldn't be doing this or needs an investigation.Product-ConhostFor issues in the Console codebaseProduct-TerminalThe new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions