New issue
Advanced search Search tips

Issue 896742 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Minimized windows show grey frames after session restore

Project Member Reported by ellyjo...@chromium.org, Oct 18

Issue description

After <https://chromium-review.googlesource.com/c/chromium/src/+/1268396>, windows that are restored at session end get restored as minimized windows. However, the first time they are un-minimized from that state, they paint grey frames until the un-minimize animation finishes. Repro steps:

1) Create two windows
2) Minimize window B
3) In window A, navigate to chrome://restart
4) Un-minimize window B after the restart
 
This is a re-occurrence of  issue 712244 .

When a window is minimized, we set its ui::Layer to be not visible for consistency with aura platforms. We also suspend the compositor, so that we don't draw blank frames.

When fixing that bug, there were two options
A: don't force minimized/hidden ui::Layers to be non-visible (because that doesn't match things on mac)
B: work around it by just suspending the compositor on the transition to being minimized

We went with B for expediency. It appears that we have to go with A (and disable or change expectations on the tests that enforce that behavior).

Sign in to add a comment