microsoft / microsoft/terminal

Inconsistent gutters/margins on HiDPI displays with `snapToGridOnResize`

Open
#4,175 15 comments 12 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

It looks like on my 200% scale device it's snapping at the half-grid.


A 50x15 window at 150% scale with Ctrl+Shift+A:
image

After resizing the window to 51x15:
image

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

Reproduce the described behavior on a HiDPI display using a 50x15 window at 150% scale, Ctrl+Shift+A, and a resize to 51x15. Trace the snapToGridOnResize behavior and compare the resulting gutters and margins; done means resizing no longer produces half-grid or inconsistent spacing.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop-dev, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.