Skip to content

bash window not respecting scaling settings #6085

@smacdonald-kai

Description

@smacdonald-kai

Existing issues matching what you're seeing

  • I was not able to find an open or closed issue matching what I'm seeing

Git for Windows version

$ git --version --build-options
git version 2.53.0.windows.1
cpu: x86_64
built from commit: a5512bdee37ed7142c233d21e2d347ffc4860ff3
sizeof-long: 4
sizeof-size_t: 8
shell-path: D:/git-sdk-64-build-installers/usr/bin/sh
rust: disabled
feature: fsmonitor--daemon
gettext: enabled
libcurl: 8.18.0
OpenSSL: OpenSSL 3.5.5 27 Jan 2026
zlib: 1.3.1
SHA-1: SHA1_DC
SHA-256: SHA256_BLK
default-ref-format: files
default-hash: sha1

Windows version

Windows 11

Windows CPU architecture

x86_64 (64-bit)

Additional Windows version information

$ cmd.exe /c ver
Microsoft Windows [Version 10.0.26200.7623]
(c) Microsoft Corporation. All rights reserved.

Options set during installation

$ cat /etc/install-options.txt
Editor Option: VIM
Custom Editor Path:
Default Branch Option: main
Path Option: CmdTools
SSH Option: OpenSSH
Tortoise Option: false
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Git Pull Behavior Option: FFOnly
Use Credential Manager: Enabled
Performance Tweaks FSCache: Enabled
Enable Symlinks: Disabled
Enable FSMonitor: Disabled

Other interesting things

I have a laptop with two external monitors:

Image

Monitor 1 is the laptop's built in screen and is set:

Image

Monitor 2 & 3 are both:

Image

Monitor 3 is set as Primary.

This has been an issue since 2.49.0.

I've had a variety of issues with the 4K builtin monitor, scaling, and moving things to/from external monitors FHD monitors. This specific one is just easily reproducible.

This may very well be a Windows issue and not a Git for Windows issue.

Terminal/shell

Git for Windows' bash, started from the "Search" bar.

Commands that trigger the issue

I start a bash instance. It spawns on Monitor 3^^. I move it around with Windows' win-shift-arrow keychord.

If non-maximized, moving to Monitor 1 results in the title bar being okay, but the text in the terminal being super-tiny.
Moving back to Monitor 3 fixes the problem.

If maximized, moving to Monitor 1 results in tiny text and a tiny title bar. Actually, I just noticed that the scrollbar is also tiny.
Moving back to Monitor 3 fixes the text but results in what looks like 3x title bar and scrollbar.
Hm. Perhaps the scaling is _not_ applied on the initial move to Monitor 1, but _is_ undone in the move back to Monitor 3?
Un-maximizing and re-maximizing on Monitor 3 fixes the 3x title bar and scrollbar.

^^I don't know how to force Windows to spawn an application on a specific monitor, so I can't test [ the first move is from Monitor 1 to Monitor 3 ].

Expected behaviour

Scaling is always respected/obeyed. Text looks "normal" on Monitor 1 instead of tiny. Title bar and scrollbar never accidentally become 3x their usual size.

Actual behaviour

See above. This is 100% reproducible.

Repository

No repo involved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions