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

Issue 716269 link

Starred by 1 user

Issue metadata

Status: Verified
Merged: issue 708863
Owner:
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

MD settings doesn't show profile icon at HiDPI res.

Project Member Reported by lgar...@chromium.org, Apr 28 2017

Issue description

Chrome 59.0.3071.25
OSX 10.12.4

What steps will reproduce the problem?
(1) Visit chrome://settings/ on a HiDPI screen.
(2) Press the profile icon.

What is the expected result?
The profile icon in the viewport shows up as HiDPI.

What happens instead?
The profile icon shows at 1x.

The hi-res profile icon is clearly available, though, because the dropdown in the upper-right is able to show it HiDPI at similar dimensions (see screenshots).
 
Screen Shot 2017-04-27 at 16.05.28.png
351 KB View Download
Screen Shot 2017-04-27 at 17.09.34.png
158 KB View Download
Mergedinto: 708863
Status: Duplicate (was: Untriaged)
This has been fixed and should be rolling out shortly
How shortly are we talking?

There is only one commit in  Issue 708863 . It was on April 12, and does not seem to have addressed the HiDPI issue.
Cc: dbeam@chromium.org
Owner: dbeam@chromium.org
Status: Assigned (was: Duplicate)
dbeam@, https://codereview.chromium.org/2807373003 has a TODO about  Issue 710660  for HiDPI, but that bug seems bot be about blue borders and implies high-res images are already implemented.

But I'm clearly not seeing high-res images on Canary on my computer. Could you re-triage?

Comment 4 by dbeam@chromium.org, May 2 2017

Cc: -dbeam@chromium.org dschuyler@chromium.org
What happens if the page is refreshed. I'm asking because there was something previously observed were the first view of the icon was lower res, and subsequent views are hires. I'm wondering if that's happening in this case or whether it's consistently low res.
> What happens if the page is refreshed.

Still low-res on:
- Chrome 60.0.3087.0
- OSX 10.12.4
- 4K external monitor driven @2x.

(Even if I refresh the page.)
Screen Shot 2017-05-02 at 14.22.31.png
82.4 KB View Download
Screen Shot 2017-05-02 at 14.22.34.png
203 KB View Download

Comment 7 by dbeam@chromium.org, May 2 2017

Cc: tbuck...@chromium.org bettes@chromium.org
Labels: -Pri-3 M-60 Hotlist-MD-Settings-People OS-Chrome OS-Linux OS-Mac OS-Windows Pri-2
Status: Started (was: Assigned)
able to reproduce on Linux via --force-device-scale-factor=2

Comment 8 by dbeam@chromium.org, May 2 2017

Cc: tommycli@chromium.org
i think just sending the avatar icon at the web UI's device scale factor is probably sufficient here (there's also zoom and other little bits to account for, but it's less big of a deal, IMO).  

here's a pretty simple fix for that:
https://codereview.chromium.org/2857753003

for what it's worth: the user switcher (which is always showing on the top of the browser frame) seems to be 1x and it's probably been like this for a long time... so this probably isn't the end of the world (but maybe it's just not respecting a forced device scale factor?)
settings_people_icon_3x.png
188 KB View Download
settings_people_icon_2x.png
120 KB View Download
settings_people_icon_1.5x.png
110 KB View Download
2017-05-02-152712_190x235_scrot.png
7.2 KB View Download
> and other little bits to account for

Also, dragging a window from a 1x monitor to a 2x monitor. But it seems `srcset` doesn't handle that in other web content, so I won't be too sad if we don't handle that case. ;-)

> for what it's worth: the user switcher (which is always showing on the top of the browser frame) seems to be 1x 

I presume you mean on Linux, right? (On Mac, 2x works correctly; see the screenshots in the first post.)
the user switcher icon** (the blurry little head and shoulders, my last attachment)
> Also, dragging a window from a 1x monitor to a 2x monitor.

that, putting something half on two monitors, page zoom, pinch zoom, etc. etc.
Project Member

Comment 12 by bugdroid1@chromium.org, May 3 2017

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

commit 5e3e6c3816510119e1c71f53f2f9b01459cfd0ca
Author: dbeam <dbeam@chromium.org>
Date: Wed May 03 00:20:58 2017

MD Settings: make avatar icon account for scale factor

R=tommycli@chromium.org
BUG= 716269 

Review-Url: https://codereview.chromium.org/2857753003
Cr-Commit-Position: refs/heads/master@{#468831}

[modify] https://crrev.com/5e3e6c3816510119e1c71f53f2f9b01459cfd0ca/chrome/browser/ui/webui/settings/profile_info_handler.cc

Status: Fixed (was: Started)
Cc: sureshkumari@chromium.org
Labels: Needs-Feedback
Tested the issue on Windows-10 (HiDPI),Mac Retina-10.12.4 and Linux Ubuntu-14.04 (HiDPI) using chrome version 60.0.3088.3 with the steps mentioned in comment#0.
Observed that the profile icon displayed same as avatar icon.
Please find the attached screen cast and please confirm the expected behavior.

Thanks.

716269.mp4
868 KB View Download
Status: Verified (was: Fixed)
Looks great to me on Canary!
Screen Shot 2017-05-04 at 12.29.47.png
83.8 KB View Download
Screen Shot 2017-05-04 at 12.30.16.png
84.5 KB View Download

Sign in to add a comment