Issue metadata
Sign in to add a comment
|
Tabs are blank on resume, until they gain focus |
||||||||||||||||||||
Issue descriptionChrome Version: 69.0.3497.21 OS: ChromeOS What steps will reproduce the problem? (1) Use Chrome for a while. (2) Leave e.g. a crbug.com tab as the visible tab in a visible window. (3) Let the device sleep. (4) Wake the device. What is the expected result? Expect that the tab displays a list of bugs. What happens instead? Tab is blank black. If you click on the tab, giving it focus, then it will refresh and show a list of bugs. Possibly a tab-throttling issue, or a Viz/compositing one, so speculatively CC'ing some folks.
,
Aug 7
Probably not because the tab is visible. I've only seen this when the GPU process crashes.
,
Aug 10
A level 4 Screenshot appears! It attacks! Your Bug gains 1 Comment. This morning I had Calendar and the Gerrit tab in the screenshot open in the topmost windows of each monitor, and both were blank black. Other windows on the two monitors, which were only partially visible behind the two topmost ones, were not blank.
,
Aug 10
Just checked in chrome://inspect, to see whether the blank Calendar tab wakes up when I attach Dev Tools to it, and found that it isn't even listed in chrome://inspect (under Pages nor Apps). Its process is listed in Task Manager, and regularly consumes CPU or network resources, just not in chrome://inspect. Clicking to focus the Calendar tab causes it to spring to life, and immediately appear in chrome://inspect. Re-assigning to ResourceCoordinator component, and to chrisha@, since this seems most likely an issue with the page lifecycle experiments.
,
Aug 13
Wez, can you open chrome://discards and find the row corresponding to that tab, and share its contents? That will tell us whether or not the resource coordinator has frozen the tab, and whether or not it thinks it is visible. cc fdoray as owner of freezing logic
,
Aug 14
chrome://discards says the tab is visible, and was unloaded (see attached screenshot).
,
Aug 14
The tab also has a non-zero discard count, which means that it looks like it's been deliberately discarded, either proactively or urgently (coming soon to you in chrome://discards, an indication of the discard reason!) Discarding will happily discard occluded (but otherwise "active") tabs. They will only be reloaded when they actually receive input focus, and *not* when they simply become visible. This is to prevent all tabs from reloading when using expose mode to show all windows. How is the window subsequently becoming visible? Is this a visible foreground window immediately after resume? One working hypothesis would be that when the machine goes to sleep all windows are told they are no longer visible, in which case we might think it's eligible for discarding. Can you get the logs from the device? There's lots of information about discard decisions in there.
,
Aug 14
Re #7: Yes, I can get at the Chrome logs easily - will share them with you off-bug. And yes, my guess would be that something about the suspend/resume cycle causes the windows to (perhaps briefly) believe they are not visible - in particular there are some quirks around monitor wake-up that might be related.
,
Aug 20
fdoray: We had a chat about this last week and you mentioned fixing the reload logic to *not* require focus, but only require visibility? Mind taking care of that?
,
Jan 11
This issue has an owner, a component and a priority, but is still listed as untriaged or unconfirmed. By definition, this bug is triaged. Changing status to "assigned". Please reach out to me if you disagree with how I've done this. |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by fsam...@chromium.org
, Aug 7