microsoft/Terminal

Tab drag causes mousedown in tmux

Open

#13,191 opened on May 27, 2022

View on GitHub
 (5 comments) (0 reactions) (0 assignees)C++ (3,212 forks)batch import
Area-InputArea-TerminalControlHelp WantedIssue-BugPriority-2Product-Terminal

Repository metrics

Stars
 (35,764 stars)
PR merge metrics
 (Avg merge 27d 19h) (24 merged PRs in 30d)

Description

Windows Terminal version

1.13.11432.0

Windows build number

10.0.22000.0

Other Software

tmux 3.0a inside WSL2

Steps to reproduce

  • Open a tmux session inside WSL2 (Ubuntu 20.04.3 in my case)
  • Drag the current tab downwards so it overlays the screen area (and do it quite fast)

Expected Behavior

The tmux session should be unaffected by the drag action outside of it.

Actual Behavior

Onmousedown / drag apparently is triggered and causes the selection to change and scroll mode to start. This only happens if you drag quite fast.

https://user-images.githubusercontent.com/5270359/170699426-7528dbdd-d5cc-4ddd-9ffc-b82d7630a4ac.mp4

The latest preview version 1.14.1452.0 also has this issue and 1.12 had it as well.

Contributor guide