microsoft / microsoft/terminal

Touch Zoom with two fingers don't work on Touch screen (but it works on Touch Pad)

Open
#3,149 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Area-TerminalControl Help Wanted Issue-Bug Priority-2 Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

Description of the new feature/enhancement

When I use two finger to zoom in or out (actually making text bigger or smaller), it works on my touch pad. But it actually don't work on my touch screen.

I think the experience would be much smoother if it worked the same on the touch pad and the touch screen.

What I also get is, if I scroll with finger on the touch screen it works. If I try to scroll with two fingers it flickers, as if the program doesn't realize I using two fingers and tries to read both inputs.

So the case with multiple fingers should probably be detected and handled specifically.

Proposed technical implementation details (optional)

If I use two fingers on the touch screen and move them together or away from each other the font size should decrease or increase respectively, exactly as it is now if I do that on the touch screen.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Start by reproducing two-finger movement on a Windows touch screen and comparing it with touchpad zoom, then trace the terminal's touch-input and font-zoom handling. Done means pinch gestures change the font size and two-finger scrolling no longer flickers, while single-finger scrolling continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.