New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 761141 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Oct 1
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Tab Preview shows a "scaled up" image of a tab before page is reloaded

Project Member Reported by pkl@chromium.org, Aug 31 2017

Issue description

Note that Chrome takes a snapshot of a tab before the tab is put in the background. If WebView was evicted before the tab is brought to the foreground, this snapshot is displayed (in grayscale) so user does not need to stare at a blank tab while it is waiting for the real web page to be reloaded.

It has been observed recently (usually in Chrome Canary) that the snapshot is displayed in highly zoomed in before the refresh.

No specific repro steps have been found. pinkerton thought he saw that on his iPad. pkl thinks that it was spotted on his iPhone as well.

 

Comment 1 by pkl@chromium.org, Sep 1 2017

Cc: linds...@chromium.org
On my iPhone SE using Chrome Canary 62.0.3198.0. I swiped on the toolbar from left to right to change to the previous tab. As the tab to the left is showing half, I can see that the captured snapshot looks scaled up. I swiped through all the way to change tab and then immediately took 2 screenshots. The first screenshot (ScaledUp.png) shows the scaled up version of the snapshot and the second screenshot (Normal.png) is the page after page reload completed.

BTW, I just launched Chrome Canary after doing many other stuff, so it is likely that all tabs have been evicted because Chrome was evicted.
ScaledUp.png
291 KB View Download
Normal.png
264 KB View Download
Owner: jif@chromium.org
Status: Assigned (was: Untriaged)
Sounds like it's a snapshot issue. Maybe you're not specifying scale of the CGContext somewhere? 
This has been happening for a long time. I'll see if I can find any old bug trackers about this, but from what I've been told this is basically WAI. 

Comment 4 by pkl@chromium.org, Sep 7 2017

pinkerton: Please confirm if this is the same problem you were experiencing.
Yes, this is *a* problem I am seeing on iPad and I see it all the time. 

I also see that when warm-starting chrome the page is zoomed in a bit, just like the attached screenshot, but the page is live. So I wonder if that's related to when we take snapshots and if backgrounding somehow triggers this, right before the snapshot is taken.
Labels: -Type-Bug Type-Bug-Regression
This looks like a regression in M62. I have tried on couple of devices (iPhone6 and iPhone6+) and on both devices I am not able to reproduce this issue with M61 stable. But on M62 i can reproduce using the steps below.

1. Launch Google Chrome
2. Open few websites in different tabs. (wait for each webpage to finish loading before opening new tab)
3. Tap Menu --> Help
4. Back ground the app wait for like 3seconds.
5. Force quit the app and launch.
6. Start swiping on the toolbar to goto previous tabs

Observe that webpages are zoomed in while the page is loading.

On my initial bisecting on M62 I findout the following tobe a good and bad versions. But sometimes my results are little inconsistent with different websites. I will continue to check if I can find any other good/bad range, but please do take a look if anything looks suspicious in the range below.

Good Version 62.0.3182.0 #5200820
Bad Version 62.0.3183.0 #aef0ed1

Comment 7 by pkl@chromium.org, Sep 13 2017

git log 5200820..aef0ed1
That shows >500 commits, but < 40 are from folks working on iOS.
It's also possible that it may be some changes that affected timing of when the snapshot is taken.
Owner: ----
Status: Untriaged (was: Assigned)
jif@ is no longer on the team. Releasing his bugs.
Owner: edchin@chromium.org
Status: Assigned (was: Untriaged)
Ed, could you take a look at this tab switcher issue? Does this still reproduce?  I know that if we capture the snapshot in landscape, then turn to portrait, it has a similar effect.
Status: WontFix (was: Assigned)
Closing bugs for older tab switcher UIs.

Sign in to add a comment