Skip to content

Conversation

@zadjii-msft
Copy link
Member

@zadjii-msft zadjii-msft commented Aug 9, 2021

Summary of the Pull Request

Turns out, we'd only ever use the non-client size to calculate the size of the window, but not the actual position. As we learned in #10676, the nonclient area extends a few pixels past the visible borders of the window.

PR Checklist

Validation Steps Performed

  • Works with the IslandWindow
  • Works with the NonClientIslandWindow

@ghost ghost added 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. Priority-3 A description (P3) Product-Terminal The new Windows Terminal. labels Aug 9, 2021
@zadjii-msft zadjii-msft added the Needs-Second It's a PR that needs another sign-off label Aug 9, 2021
@ghost ghost requested review from DHowett, PankajBhojwani, leonMSFT, lhecker and miniksa August 9, 2021 18:22
Copy link
Member

@DHowett DHowett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems right..? to me

@DHowett DHowett added the AutoMerge Marked for automatic merge by the bot when requirements are met label Aug 9, 2021
@ghost
Copy link

ghost commented Aug 9, 2021

Hello @DHowett!

Because this pull request has the AutoMerge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit 7acec30 into main Aug 9, 2021
@ghost ghost deleted the dev/migrie/b/10583-initialPosition00 branch August 9, 2021 18:27
@ghost ghost added the Area-Settings Issues related to settings and customizability, for console or terminal label Aug 12, 2021
DHowett pushed a commit that referenced this pull request Aug 25, 2021
## Summary of the Pull Request

Turns out, we'd only ever use the non-client size to calculate the size of the window, but not the actual position. As we learned in #10676, the nonclient area extends a few pixels past the visible borders of the window. 

## PR Checklist
* [x] Closes #10583
* [x] I work here
* [ ] Tests added/passed
* [n/a] Requires documentation to be updated

## Validation Steps Performed
* [x] Works with the `IslandWindow`
* [x] Works with the `NonClientIslandWindow`
@ghost
Copy link

ghost commented Aug 31, 2021

🎉Windows Terminal Preview v1.10.2383.0 has been released which incorporates this pull request.:tada:

Handy links:

@ghost
Copy link

ghost commented Aug 31, 2021

🎉Windows Terminal Preview v1.11.2421.0 has been released which incorporates this pull request.:tada:

Handy links:

This pull request was closed.
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 AutoMerge Marked for automatic merge by the bot when requirements are met Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Second It's a PR that needs another sign-off Priority-3 A description (P3) Product-Terminal The new Windows Terminal.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"initialPosition" doesn't respect window frame size initialPosition doesn't use coordinates properly

4 participants