fix: ensure WebContents::WasShown runs when window is shown#49421
fix: ensure WebContents::WasShown runs when window is shown#49421jkleinsc merged 1 commit intoelectron:mainfrom
Conversation
|
@cptpcrd possible to add a new test for this case? You also need to sign your commit |
706b214 to
94695f6
Compare
The actual bug only seems to reproduce when entering fullscreen fails. As noted in #43112, I'm not aware of any way to trigger that without user intervention. If there is a way, then it would certainly be possible to add a test.
Done. |
|
@cptpcrd can you rebase this? sorry for delay |
Avoids a freeze when failing to enter fullscreen on macOS.
94695f6 to
2051696
Compare
|
Release Notes Persisted
|
|
I have automatically backported this PR to "39-x-y", please check out #50341 |
|
I have automatically backported this PR to "42-x-y", please check out #50342 |
|
I have automatically backported this PR to "41-x-y", please check out #50343 |
|
I have automatically backported this PR to "40-x-y", please check out #50344 |
Description of Change
Fixes #49347 (a regression from #47151) by calling
WebContents::WasShownwheneverOnWindowShowruns, unless it was previously called byShoworShowInactive.Checklist
npm testpasses (except for a few failures that appear to be spurious)Release Notes
Notes: Fixed window freeze when failing to enter/exit fullscreen on macOS.