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

Issue 916135 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 8
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug



Sign in to add a comment

History/Bookmark/ReadingList/RecentTabs are passing favicon-size parameters to FaviconLoader in the wrong order.

Project Member Reported by mrsuyi@chromium.org, Dec 18

Issue description

Chrome Version: 73.0.3645.0
OS: iOS

What steps will reproduce the problem?
(1)Visit github.com or cs.chromium.org;
(2)Open History panel.

The same thing happens in Bookmark/ReadingList/RecentTabs.

What is the expected result?
The favicon should be shown.

What happens instead?
Only fallback favicon is shown.

 
Status: Started (was: Untriaged)
Project Member

Comment 2 by bugdroid1@chromium.org, Dec 18

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

commit a4b960dbe46c2ee541af6e9811fdea78c63563d0
Author: Yi Su <mrsuyi@chromium.org>
Date: Tue Dec 18 17:25:50 2018

Fix reversed parameters for FaviconForUrl.

History/Bookmark/ReadingList/RecentTabs are getting favicons by calling
FaviconLoader::FaviconForUrl with reversed parameter "size" and
"min_size".

Bug:  916135 
Change-Id: I79b4a3e2677d49b15ddcd9e44aca7e2bc2d93e42
Reviewed-on: https://chromium-review.googlesource.com/c/1382498
Reviewed-by: Mark Cogan <marq@chromium.org>
Commit-Queue: Yi Su <mrsuyi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#617545}
[modify] https://crrev.com/a4b960dbe46c2ee541af6e9811fdea78c63563d0/ios/chrome/browser/ui/bookmarks/bookmark_home_view_controller.mm
[modify] https://crrev.com/a4b960dbe46c2ee541af6e9811fdea78c63563d0/ios/chrome/browser/ui/history/history_mediator.mm
[modify] https://crrev.com/a4b960dbe46c2ee541af6e9811fdea78c63563d0/ios/chrome/browser/ui/reading_list/reading_list_mediator.mm
[modify] https://crrev.com/a4b960dbe46c2ee541af6e9811fdea78c63563d0/ios/chrome/browser/ui/recent_tabs/recent_tabs_mediator.mm

Status: Fixed (was: Started)
Labels: M-72 Merge-Request-72
Project Member

Comment 5 by sheriffbot@chromium.org, Dec 18

Labels: -Merge-Request-72 Merge-Review-72 Hotlist-Merge-Review
This bug requires manual review: M72 has already been promoted to the beta branch, so this requires manual review
Please contact the milestone owner if you have questions.
Owners: govind@(Android), kariahda@(iOS), djmm@(ChromeOS), abdulsyed@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Canary verification please.
Status: Assigned (was: Fixed)
Tested in 
Build: 73.0.3665.0 Canary
Device details: iPhone X(iOS 11.4.1), iPhone XS Max(iOS 12.1.2)

Issue is still reproducible on following the steps mentioned in comment#0.

Link to video:
https://drive.google.com/file/d/1cN_5wcgfpy0hVC5JnDVkPSSkFi7VQsiK/view?usp=sharing
Labels: -Hotlist-Merge-Review -Merge-Review-72
Please re-request merge when ready.
Labels: -M-72
Status: Fixed (was: Assigned)
Summary: History/Bookmark/ReadingList/RecentTabs are passing arguments to FaviconLoader in the wrong order. (was: History/Bookmark/ReadingList/RecentTabs are not showing favicons for some websites.)
I think currently our favicon services are very buggy. This CL only works for cases that are caused by passing improper icon-size parameters, and I don't have any idea how much it can improve. At this time maybe we should not merge it in M72 since it has been buggy for quite a long time :D

I would prefer to narrow down this bug to a smaller scope and close it. Fixing favicons for all websites would be a big project and requires much longer time to finish.
Summary: History/Bookmark/ReadingList/RecentTabs are passing favicon-size parameters to FaviconLoader in the wrong order. (was: History/Bookmark/ReadingList/RecentTabs are passing arguments to FaviconLoader in the wrong order.)

Sign in to add a comment