Using coordinates terminal window not positioned as intended by user #18640

Closed
opened 2026-01-31 06:19:58 +00:00 by claunia · 4 comments
Owner

Originally created by @elsaco on GitHub (Oct 10, 2022).

Windows Terminal version

main 43dbbd5

Windows build number

10.0.19044.0

Other Software

No response

Steps to reproduce

  • build terminal with commit 43dbbd590 included
  • set Center on launch is SUI
  • start terminal with wtd.exe --pos 100,100

Expected Behavior

  • terminal to be closer to the upper left corner (x=100, y=100)

Actual Behavior

  • terminal window is centered
Originally created by @elsaco on GitHub (Oct 10, 2022). ### Windows Terminal version main 43dbbd5 ### Windows build number 10.0.19044.0 ### Other Software _No response_ ### Steps to reproduce - build terminal with commit 43dbbd590 included - set `Center on launch` is SUI - start terminal with `wtd.exe --pos 100,100` ### Expected Behavior - terminal to be closer to the upper left corner (x=100, y=100) ### Actual Behavior - terminal window is centered
Author
Owner

@DHowett commented on GitHub (Oct 10, 2022):

Thanks for the report!
The interplay between these options is complicated.

When center on launch is set, the position is used to determine which monitor to center on. If you have multiple monitors, and you set X = -1 + Center, Terminal will be launched in the center of the monitor to the left of primary.

This is poorly explained, but it is by design.

@DHowett commented on GitHub (Oct 10, 2022): Thanks for the report! The interplay between these options is complicated. When `center on launch` is set, the position is used to determine _which monitor_ to center on. If you have multiple monitors, and you set `X = -1` + `Center`, Terminal will be launched in the center of the monitor to the left of primary. This is poorly explained, but it is by design.
Author
Owner

@DHowett commented on GitHub (Oct 10, 2022):

To be fair, perhaps this position specified on the command line should override the center option.

@DHowett commented on GitHub (Oct 10, 2022): To be fair, perhaps this position specified on the command line should override the center option.
Author
Owner

@DHowett commented on GitHub (Oct 10, 2022):

/cc @ianjoneill

@DHowett commented on GitHub (Oct 10, 2022): /cc @ianjoneill
Author
Owner

@ghost commented on GitHub (Dec 14, 2022):

:tada:This issue was addressed in #14229, which has now been successfully released as Windows Terminal Preview v1.16.3463.0 and v1.16.3464.0.🎉

Handy links:

@ghost commented on GitHub (Dec 14, 2022): :tada:This issue was addressed in #14229, which has now been successfully released as `Windows Terminal Preview v1.16.3463.0 and v1.16.3464.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.16.3464.0) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18640