Skip to content

mintty -p @N not opening on correct monitor #6093

@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 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

Microsoft Windows [Version 10.0.26200.7623]

Options set during installation

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

Monitor 1 is a 4K built-in monitor on my laptop. Monitors 2 and 3 are external FHD. See #6085 for configuration details.

Terminal/shell

Git for Windows' bash

Commands that trigger the issue

`mintty -p @2` or `mintty -p @3`

Expected behaviour

Terminal opens on the correct window.

Actual behaviour

Terminal opens on the wrong window.

Here's a full all-monitors screenshot with the "Identify" labels up (Dsiplay Settings -> Identify).

Image

Opening to Monitor 1 works as expected.
Opening to Monitor 2 with mintty -p @2 opens on the Identify-ied Monitor 3.
Opening to Monitor 3 with mintty -p @3 opens on the Identify-ied Monitor 2.

So the bad behaviour is that then "opened onto" monitor is not always the expected monitor.

Repository

No response

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