Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initialPosition doesn't use coordinates properly #4246

Closed
cinnamon-msft opened this issue Jan 15, 2020 · 10 comments · Fixed by #10902
Closed

initialPosition doesn't use coordinates properly #4246

cinnamon-msft opened this issue Jan 15, 2020 · 10 comments · Fixed by #10902
Labels
Area-Settings Issues related to settings and customizability, for console or terminal Area-UserInterface Issues pertaining to the user interface of the Console or Terminal Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal. Resolution-Fix-Committed Fix is checked in, but it might be 3-4 weeks until a release.

Comments

@cinnamon-msft
Copy link
Contributor

Environment

Windows build number: 10.0.19041.0
Windows Terminal version (if applicable): 0.8.10091.0

Any other software?

Steps to reproduce

Set initialPosition to 0,0 using one monitor.

Expected behavior

Terminal launches in the top left corner of the screen.

Actual behavior

Terminal launches in the top, but not in the left corner exactly.
image

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Jan 15, 2020
@carlos-zamora carlos-zamora added Area-Settings Issues related to settings and customizability, for console or terminal Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal. and removed Needs-Tag-Fix Doesn't match tag requirements labels Jan 15, 2020
@angelog0
Copy link

BTW, where is initialPosition documented? Shouldn't it be described here?

Thanks..

@DHowett-MSFT DHowett-MSFT removed the Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting label Jan 16, 2020
@DHowett-MSFT
Copy link
Contributor

That looks suspiciously like the 7px shadow cast off the edge of the window 😉

@DHowett-MSFT DHowett-MSFT added the Area-UserInterface Issues pertaining to the user interface of the Console or Terminal label Jan 16, 2020
@DHowett-MSFT DHowett-MSFT added this to the Terminal Backlog milestone Jan 16, 2020
@UweKeim
Copy link

UweKeim commented Jun 23, 2020

I'm also urgently looking for finally being able to set it pixel-perfect at 0,0.

Also specifing the width and height in pixels instead of columns and rows would be helpful for compensating the lack of being able to start docked to the left half of my monitor.

@DHowett
Copy link
Member

DHowett commented Jun 23, 2020

initialPosition is in pixels! This bug is caused by the OS lying about the size of the window’s borders subtly 😄

@UweKeim
Copy link

UweKeim commented Jun 23, 2020

Thanks, @DHowett, I know. I was refering to the width and height in my second sentence.

Regarding the bug, I'm fighting these "wrong" positions and dimensions since years.

@MenaceInc
Copy link

Having problems with this as well.
Trying negative values has worked in the past for the likes of Chrome but it doesn't do anything for WT.

@UweKeim
Copy link

UweKeim commented Aug 12, 2021

I ended up installing "Display Fusion" (paid version) and added a rule to automatically and pixel-perfect position the Windows Terminal window upon start.

@zadjii-msft
Copy link
Member

Oh my gosh, #10583 was a dupe of this one all along. This should be fixed by #10902 and released in 1.11. Thanks everyone!

@ghost ghost added the Needs-Tag-Fix Doesn't match tag requirements label Aug 12, 2021
@zadjii-msft zadjii-msft added the Resolution-Fix-Committed Fix is checked in, but it might be 3-4 weeks until a release. label Aug 12, 2021
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Aug 12, 2021
@ghost
Copy link

ghost commented Aug 31, 2021

🎉This issue was addressed in #10902, which has now been successfully released as Windows Terminal Preview v1.10.2383.0.:tada:

Handy links:

@ghost
Copy link

ghost commented Aug 31, 2021

🎉This issue was addressed in #10902, which has now been successfully released as Windows Terminal Preview v1.11.2421.0.:tada:

Handy links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Settings Issues related to settings and customizability, for console or terminal Area-UserInterface Issues pertaining to the user interface of the Console or Terminal Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal. Resolution-Fix-Committed Fix is checked in, but it might be 3-4 weeks until a release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants