New issue
Advanced search Search tips

Issue 744566 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Incorrectly sized icons in extension options page

Reported by mauricio...@gmail.com, Jul 17 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

Steps to reproduce the problem:
Create an extension which uses the OptionsV2 style, with a multitude of icons: 16px, 19px, 32px, 48px, 64px, 96px, 128px (test case included).

Open its options popup.

What is the expected behavior?
Chrome should load the most appropriate image, resulting in a crisp icon.

What went wrong?
Instead, it uses the 48px icon and resizes it to 32px via CSS. The icon ends up being blurry.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 59.0.3071.115  Channel: stable
OS Version: 10.0
Flash Version: 

Tested on both stable and canary, but without a HiDPI display.
 
chrome-options-bug.zip
2.9 KB Download

Comment 1 by woxxom@gmail.com, Jul 17 2017

Repro note just in case:
1. install the extension attached in the report
2. click its toolbar icon
3. click Options
4. in the center of the page there'll be a small panel: 
   rightclick the gray icon, click "Inspect"
5. in devtools click "Computed" sub-panel
5. in devtools point the cursor over the highlighted element's "data:image/png"
6. observe the icon size displayed in the tooltip and in the subpanel

EXPECTED: the source image size matches the screen size: 32x32
OBSERVED: the source image size is 48x48x, the screen size is 32x32
demo-fs8.png
28.8 KB View Download
Components: Platform>Extensions
Labels: OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Tested on Chrome Stable #59.0.3071.115, Canary #61.0.3154.0 on Windows 10 and able to reproduce the issue. 

This is a non-regression issue and able to reproduce from M-45 #45.0.2454.85.Marking it as untriaged so that issue gets addressed.

Observations - Issue is also noticed on Mac 10.12.5 and Ubuntu 14.04.

Thanks.

744566.png
784 KB View Download
Correction for Comment #2, Verified on Canary #61.0.3159.0
Owner: kelvinjiang@chromium.org
Status: Assigned (was: Untriaged)

Sign in to add a comment