Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab drag causes mousedown in tmux #13191

Open
fabianlupa opened this issue May 27, 2022 · 5 comments
Open

Tab drag causes mousedown in tmux #13191

fabianlupa opened this issue May 27, 2022 · 5 comments
Labels
Area-Input Related to input processing (key presses, mouse, etc.) Area-TerminalControl Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.) Help Wanted We encourage anyone to jump in on these. Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-2 A description (P2) Product-Terminal The new Windows Terminal.
Milestone

Comments

@fabianlupa
Copy link

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.

Video.mp4

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

@fabianlupa fabianlupa added the Issue-Bug It either shouldn't be doing this or needs an investigation. label May 27, 2022
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels May 27, 2022
@lhecker
Copy link
Member

lhecker commented May 30, 2022

I can't reproduce the issue. I suspect a race condition at play here if anything.

@fabianlupa
Copy link
Author

I retried with an empty .tmux.conf. Only set -g mouse on needs to be set for this to occur for me.

@lhecker
Copy link
Member

lhecker commented May 30, 2022

Thanks! Putting set -g mouse on into .tmux.conf makes this easily reproducible!

@lhecker lhecker added Product-Terminal The new Windows Terminal. Priority-2 A description (P2) labels May 30, 2022
@zadjii-msft
Copy link
Member

Hmm. This is sorta like #9109, but different. Hmm.

@zadjii-msft zadjii-msft added Help Wanted We encourage anyone to jump in on these. Area-Input Related to input processing (key presses, mouse, etc.) Area-TerminalControl Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.) labels May 31, 2022
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label May 31, 2022
@zadjii-msft zadjii-msft added this to the 22H2 milestone May 31, 2022
@zadjii-msft zadjii-msft removed the Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting label Jun 9, 2022
@zadjii-msft
Copy link
Member

(FWIW still repros around 1.16-1.17 timeframe)

@zadjii-msft zadjii-msft modified the milestones: 22H2, Backlog Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Input Related to input processing (key presses, mouse, etc.) Area-TerminalControl Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.) Help Wanted We encourage anyone to jump in on these. Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-2 A description (P2) Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

3 participants