Skip to content

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

Merged
Dustin L. Howett (DHowett) merged 1 commit into
mainfrom
dev/cazamor/revert-dwm
May 13, 2022
Merged

Dustin L. Howett (DHowett) merged 1 commit into
mainfrom
dev/cazamor/revert-dwm

Conversation

@carlos-zamora

Copy link
Copy Markdown

This reverts commit 14098d7.

Summary of the Pull Request

Mike Griese (@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

@lhecker

Leonard Hecker (lhecker) commented May 13, 2022 •

Copy link
Copy Markdown
Member

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
Copy Markdown
Member

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
Dustin L. Howett (DHowett) deleted the dev/cazamor/revert-dwm branch May 13, 2022 18:59
@DHowett
Dustin L. Howett (DHowett) restored the dev/cazamor/revert-dwm branch May 13, 2022 18:59
@DHowett
Dustin L. Howett (DHowett) deleted the dev/cazamor/revert-dwm branch May 13, 2022 18:59
@DHowett
Dustin L. Howett (DHowett) restored the dev/cazamor/revert-dwm branch May 13, 2022 18:59
Carlos Zamora (carlos-zamora) pushed 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
Mike Griese (zadjii-msft) added a commit that referenced this pull request Aug 19, 2022
Mike Griese (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