-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Fix ShowHide for DefTerm #13129
Merged
Merged
Fix ShowHide for DefTerm #13129
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Well this one feels dumb. Make sure to also initially set the visibility of ConPTY windows created for DefTerm connections. * [x] Closes #13066 for real. * [x] tested manually.
ghost
added
Area-Windowing
Window frame, quake mode, tearout
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Priority-0
Bugs that we consider release-blocking/recall-class (P0)
Product-Conpty
For console issues specifically related to conpty
Product-Terminal
The new Windows Terminal.
Severity-Blocking
We won't ship a release like this! No-siree.
labels
May 19, 2022
zadjii-msft
added
Area-DefApp
and removed
Product-Conpty
For console issues specifically related to conpty
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Product-Terminal
The new Windows Terminal.
Severity-Blocking
We won't ship a release like this! No-siree.
Priority-0
Bugs that we consider release-blocking/recall-class (P0)
Area-Windowing
Window frame, quake mode, tearout
labels
May 19, 2022
DHowett
approved these changes
May 19, 2022
ghost
added
Area-Windowing
Window frame, quake mode, tearout
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Priority-0
Bugs that we consider release-blocking/recall-class (P0)
Product-Conpty
For console issues specifically related to conpty
Product-Terminal
The new Windows Terminal.
Severity-Blocking
We won't ship a release like this! No-siree.
labels
May 19, 2022
lhecker
reviewed
May 19, 2022
Comment on lines
+344
to
+347
if (_initialVisibility) | ||
{ | ||
THROW_IF_FAILED(ConptyShowHidePseudoConsole(_hPC.get(), _initialVisibility)); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a sucker for perf, but I think it'd be more robust to always call that function.
IMO this code is currently similar to:
if (dimensions != COORD{ 120, 30 })
{
THROW_IF_FAILED(ConptyResizePseudoConsole(_hPC.get(), dimensions));
}
But maybe it makes sense to do it this way of course... 🤔
lhecker
approved these changes
May 19, 2022
@msftbot merge this in 1 minutes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area-DefApp
Area-Windowing
Window frame, quake mode, tearout
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-0
Bugs that we consider release-blocking/recall-class (P0)
Product-Conpty
For console issues specifically related to conpty
Product-Terminal
The new Windows Terminal.
Severity-Blocking
We won't ship a release like this! No-siree.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Well this one feels dumb.
Make sure to also initially set the visibility of ConPTY windows created for DefTerm connections.
ShowWindow(SW_MINIMIZE)
doesn't work anymore #13066 for real.