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

Revert "Hide the window from DWM until we're finished... (#12979)" #13098

Merged
merged 1 commit into from
May 13, 2022

Conversation

carlos-zamora
Copy link
Member

This reverts commit 14098d7.

Summary of the Pull Request

@zadjii-msft found that this is causing persisted windows on a secondary monitor to shrink a little each time. We're choosing to revert this commit until that gets resolved.

References

#12979

@DHowett DHowett merged commit 6ffc3dc into main May 13, 2022
@lhecker
Copy link
Member

lhecker commented May 13, 2022

Are you all sure this is a regression? We've had shrinking problems since a while...
Or is this one exacerbating the problem more than before?

@DHowett
Copy link
Member

DHowett commented May 13, 2022

Are you all sure this is a regression? We've had shrinking problems since a while... Or is this one exacerbating the problem more than before?

I believe they've gotten worse, and we got a report of the island failing to size properly with the cloaking change as well. Given how late it came in in the release cycle, better to revert and start fresh in 1.15!

@DHowett DHowett deleted the dev/cazamor/revert-dwm branch May 13, 2022 18:59
@DHowett DHowett restored the dev/cazamor/revert-dwm branch May 13, 2022 18:59
@DHowett DHowett deleted the dev/cazamor/revert-dwm branch May 13, 2022 18:59
@DHowett DHowett restored the dev/cazamor/revert-dwm branch May 13, 2022 18:59
carlos-zamora added a commit that referenced this pull request May 13, 2022
…tion (#12979)" (#13098)

This reverts commit 14098d7.

## Summary of the Pull Request
@zadjii-msft found that this is causing persisted windows on a secondary monitor to shrink a little each time. We're choosing to revert this commit until that gets resolved.

## References
#12979

(cherry picked from commit 6ffc3dc)
Service-Card-Id: 81910920
Service-Version: 1.14
zadjii-msft added a commit that referenced this pull request Aug 19, 2022
zadjii-msft added a commit that referenced this pull request Apr 6, 2023
…alization" (#13811)

This is a revert of the revert of #12979. We mainly reverted that PR
because of an issue where restored windows would grow/shrink slightly on
external displays. It was too close to the ship date for that release,
so we backed it out wholesale (in #13098). I think I've found the real
root of the problem, and fixed it here.

The money diff here from the original PR:
4c08b9a...c34495d.
Basically, I had put the part where we actually handle the creation of
the window into `_AppInitializedHandler`, when we should have left the
window to be created in `_HandleCreateWindow` We create it there,
_hidden_, and then should only _show_ it in `_AppInitializedHandler`.

I'm _NOT_ incorporating the change for #9053. I reverted that bit in
1fac403. I am too worried about that messing with the phwnd that I
wanted to get that reviewed and committed atomically, separately.

* fixes  #11561
* tested manually
* I work here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants