New issue
Advanced search Search tips

Issue 911508 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Dec 4
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 0
Type: Bug

Blocking:
issue 911327



Sign in to add a comment

Tab icons are missing

Project Member Reported by edwardjung@chromium.org, Dec 4

Issue description

Chrome Version: (copy from chrome://version)
OS: Win 10, MacOS 10.13
Canary - 73.0.3630.0

What steps will reproduce the problem?
(1) Open a new tab
(2) Load a site

What is the expected result?
Should see the new loading animation during connecting and loading, and favicon on completion.

What happens instead?
No animation, no favicon. Just the title. Favicon / loader appears if you hover over the tab, like the tab hasn't refreshed.

Happening on Windows too. 



 
Screen Shot 2018-12-04 at 10.01.17.png
13.1 KB View Download
Video on MacOS
missing-loader-icon.mov
385 KB View Download
Labels: ReleaseBlock-Dev
Status: Started (was: Assigned)
Project Member

Comment 3 by bugdroid1@chromium.org, Dec 4

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0bfabec2ac11decb989a7a03ea5980eaf56893e6

commit 0bfabec2ac11decb989a7a03ea5980eaf56893e6
Author: Peter Boström <pbos@chromium.org>
Date: Tue Dec 04 16:11:04 2018

Revert "Fix layout/repaint of tab on focus or alert change."

This reverts commit d80f1a220d9c95ab45afb8fdc44a2b926893132a.

Reason for revert: Tab icons are no longer reliably laid out.

Bug:  chromium:911508 

Original change's description:
> Fix layout/repaint of tab on focus or alert change.
> 
> Also removes code associated with "show close button on hover" in
> non-touch situations because showing of close button on inactive tabs is
> now purely a function of tab size and the code had no effect.
> 
> Previously, tabs were relying on invalidation of the tabstrip to repaint
> when active status changed. This resulted in cases where when the number
> of tabs at minimum size exceded the size of the browser window, pinned
> tabs would not repaint when a new tab was added, resulting in them
> appearing to still be active (until something else invalidated the
> tabstrip, like a mouse event or resize).
> 
> Now we're using InvalidateLayout() and SchedulePaint() correctly to make
> sure things which could change the render or layout state of a tab
> result in the tab being laid out and/or repainted.
> 
> Bug:  896849 
> Change-Id: If2fcdafe80a0d22dc1d7c5c2c4a703729b8ed55b
> Reviewed-on: https://chromium-review.googlesource.com/c/1357329
> Commit-Queue: Dana Fried <dfried@chromium.org>
> Reviewed-by: Peter Boström <pbos@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#613252}

TBR=pbos@chromium.org,dfried@chromium.org

Change-Id: Ic7f3900d75aab0eda985368785b9182835b15d35
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug:  896849 
Reviewed-on: https://chromium-review.googlesource.com/c/1361301
Reviewed-by: Peter Boström <pbos@chromium.org>
Commit-Queue: Peter Boström <pbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#613567}
[modify] https://crrev.com/0bfabec2ac11decb989a7a03ea5980eaf56893e6/chrome/browser/ui/views/tabs/tab.cc
[modify] https://crrev.com/0bfabec2ac11decb989a7a03ea5980eaf56893e6/chrome/browser/ui/views/tabs/tab_controller.h
[modify] https://crrev.com/0bfabec2ac11decb989a7a03ea5980eaf56893e6/chrome/browser/ui/views/tabs/tab_strip.cc
[modify] https://crrev.com/0bfabec2ac11decb989a7a03ea5980eaf56893e6/chrome/browser/ui/views/tabs/tab_strip.h
[modify] https://crrev.com/0bfabec2ac11decb989a7a03ea5980eaf56893e6/chrome/browser/ui/views/tabs/tab_strip_unittest.cc
[modify] https://crrev.com/0bfabec2ac11decb989a7a03ea5980eaf56893e6/chrome/browser/ui/views/tabs/tab_unittest.cc

Status: Fixed (was: Started)
Summary: Tab icons are missing (was: [Tab loading animation] Favicon + loader is missing)
Not directly related to the tab-loading animation. Tab icons aren't laid out when the tab contents change, the favicon + animations appear again if you click on a tab switch windows back and forth.
Cc: dfried@chromium.org
Labels: Merge-TBD
[Auto-generated comment by a script] We noticed that this issue is targeted for M-72; it appears the fix may have landed after branch point, meaning a merge might be required. Please confirm if a merge is required here - if so add Merge-Request-72 label, otherwise remove Merge-TBD label. Thanks.
Labels: -Merge-TBD -M-72 -Target-72 M-73 Target-73
Culprit landed in 73.0.3630.0 so this should not hit M72 at all.
Thank you for catching this. Can't imagine why I didn't.
Might have been an interaction with a later change to tab loading animations than the one I was working off of.

I'll fix and resubmit.
Cc: pbos@chromium.org
 Issue 911719  has been merged into this issue.

Sign in to add a comment