Super G icon appears smaller than usual on zooming in to 110% & beyond on chrome://bookmarks/
Reported by
sanyam.g...@etouch.net,
Aug 24
|
|||||
Issue descriptionChrome Version: Version: 70.0.3532.0 (Official Build)Revision 9370f7bac1142a9288e4c29f9e659c5dc63858f3-refs/branch-heads/3532@{#1}(32/64-bit) OS: Windows (7,8,8.1,10), Linux (14.04 LTS) Pre-condition: 1. Sign-in to chrome with valid credentials. 2. Enable 'Omnibox rich entity suggestions' from 'chrome://flags'. What steps will reproduce the problem? 1. Launch Chrome, navigate to NTP and bookmark the NTP. 2. Navigate to 'chrome://bookmarks/' , zoom the page and observe. Actual Result : Super G icon appears smaller than usual on zooming in to 110% & beyond. Expected Result: Super G icon should not appear smaller than usual on zooming in to 110% & beyond. This is a non-regression issue, seen from M-69 series(since build #69.0.3441.0 as this feature is introduced from this build) Kindly review the attached screen-cast for reference. Note : Issue is not reproducible on Mac(10.12.6, 10.13.1, 10.13.6, 10.14) OS Thank you..!!
,
Sep 10
spqchan@, do you know who can triage this bug related to zooming in on the bookmarks page? CC tommycli@ also, as this has to do with the google search favicon, so he might have an idea what's going on here.
,
Sep 13
summary - can repro, I think the favicon service is returning a 1x icon for the 2x case for chrome://newtab? Happy to dig further if needed. I'm not sure this is an omnibox bug but could be misaken if omnibox is populating the favicon cache wrong somehow. ------- On M71 canary I got an ok scaling on Windows, but the favicon was a blank document rather than the G icon. Then I browsed around for a bit, tried to get Google entity suggestions, etc. And then I got the G icon and was able to repro. The bookmarks manager's <div> for that icon: <div id="icon" class="website-icon" style="background-image: -webkit-image-set(url("chrome://favicon/size/16@1x/chrome://newtab/") 1x, url("chrome://favicon/size/16@2x/chrome://newtab/") 2x);"></div> is nearly identical to other icons: <div id="icon" class="website-icon" style="background-image: -webkit-image-set(url("chrome://favicon/size/16@1x/[other_site_url]") 1x, url("chrome://favicon/size/16@2x/[other_site_url]") 2x);"></div> and the actual .website-icon elements are sized correctly. Applying the affected icon's <style> to an unaffected .website-icon repros it, so that narrows it down to the -webkit-image-set Applying a webkit-image-set with only a 1x icon makes the problem go away, adding the 2x one, or having it be the only icon in the set, brings it back. It looks like we're returning the same bits (or at least the same size) for 1x and 2x, but the 2x asset isn't any bigger: a-1x) chrome://favicon/size/16@1x/chrome://newtab/ a-2x) chrome://favicon/size/16@2x/chrome://newtab/ b-1x) chrome://favicon/size/16@1x/http://www.google.com b-2x) chrome://favicon/size/16@2x/http://www.google.com On my setup, google.com's entry (b) returns a 2x image but the newtab page (a) does not.
,
Nov 13
CC a favicon owner for triage, per comment 3
,
Nov 14
***Mass UI Triage*** Hi, Just to update: Issue is still reproducible on Windows(7,8,8.1,10) and Linux(14.04) OS using Latest canary #72.0.3610.0 Please find the screen-cast for reference. Could anyone please take a look in to this issue. Thank You!
,
Nov 14
I took a quick look although I'm not very familiar with the details here, pkotwicz@ may know better. Wrt comment 3: chrome://favicon uses GetRawFaviconForPageURL() which is (according to the documentation) expected to return the closest available bitmap, without resampling. The reason why it behaves differently for google.com (or any regular web page) seems to be that the codepath differs in FaviconServiceImpl::GetFaviconForPageURLImpl(), where native pages are treated differently. For the regular codepath, I think the key difference could be that HistoryBackend::GetFaviconsForURL() does some resampling (which is questionable). My impression is that the UI shouldn't make assumptions about the size of the image returned by chrome://favicon.
,
Nov 16
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by nyerramilli@chromium.org
, Aug 24