New issue
Advanced search Search tips

Issue 849821 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Nov 21
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Zooming on an extension page causes that extension's popup to be zoomed

Reported by s...@stuartpb.com, Jun 5 2018

Issue description

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

Steps to reproduce the problem:
(This issue applies for any Chrome extension, but Tabalanche is where I discovered it, hence why theses repro steps use it as a basis: this could just as easily be tested with a more cut-down test-case extension that only includes a popup page and a separate page.)

1. Navigate to a page that's part of an extension, such as the [Tabalanche Dashboard](chrome-extension://bmdmojejipbodfjbnennbnakhpboaoje/dashboard.html).
2. Zoom in on that Dashboard page (eg. using ctrl+mouse wheel up).
3. Click the Tabalanche button to open the extension's popup.

What is the expected behavior?
As there's no UI affordance for controlling the zoom factor of browser pop-ups, the pop-up page should be scaled to 100% zoom.

What went wrong?
Chrome applies a zoom factor to the pop-up, based on its shared origin with the zoomed extension page, that can't be altered without revisiting one of the extension's other pages and resetting the zoom factor there.

WebStore page: https://chrome.google.com/webstore/detail/tabalanche/bmdmojejipbodfjbnennbnakhpboaoje

Did this work before? N/A 

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

Comment 1 by s...@stuartpb.com, Jun 5 2018

This issue is tagged as Windows, but it reproduces on ChromeOS.
Labels: Needs-Triage-M67

Comment 3 by woxxom@gmail.com, Jun 6 2018

Zoom is applied per site (URL origin, technically) so the popup is affected too because it has the same URL origin as any other extension page.
Labels: Triaged-ET M-69 Target-69 FoundIn-69 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Mac 10.13.3, Win-10 and Ubuntu 17.10 using chrome reported version #67.0.3396.62 and latest canary #69.0.3450.0.
This is a non-regression issue as it is observed from M60 old builds. 

Hence, marking it as untriaged to get more inputs from dev team.

Thanks...!!
Cc: rdevlin....@chromium.org
Components: UI>Browser>Zoom
Owner: wjmaclean@chromium.org
Status: Assigned (was: Untriaged)
As woxxom@ mentioned in #3, zoom is per origin, and the popup is hosted at the extension origin.  While I agree this is a bit odd, I'm not sure it's necessarily broken (the user may not want the popup zoomed, but the same could happen with the user wanting example.com/foo zoomed but not example.com/bar).

wjmaclean@, looks like you own zoom - any thoughts here?
Labels: Hotlist-DesktopUIChecked
Status: WontFix (was: Assigned)
Update:

***UI Mass Triage***

We were unable to reproduce this bug on Windows (7, 8, 8.1, 10), Mac (10.13.1, 10.13.6, 10.14.2) and Linux (14.04 LTS). If this bug still reproduces for you, please reopen or file a new issue.

Thanks!
Still reproduces for me. Version 70.0.3538.110 (Official Build) (64-bit), Linux.
I'm not sure about the comment in #6, as this easily reproduces for me on ToT Linux (72.<something-or-other>).

As rdevlin.cronin@ mentions, this *is* consistent with how zoom is implemented as a per-origin setting. Note also that changing the default page zoom to, for example, 200%, will also result in both the dashboard page and the popup being zoomed to 200%.

I'm not entirely sure what to suggest ... it's not entirely obvious there's a solution that fits all cases.
The solution that works in all cases is to fix popup zoom to whatever
the UI scale is, because there's no zoom UI for popups.

On Wed, Nov 28, 2018, at 11:32 AM, wjmacl… via monorail wrote:

Sign in to add a comment