Closed Bug 1570849 Opened 6 years ago Closed 1 year ago

Extension browser action popup size does not account for zoom level

Categories

(WebExtensions :: General, defect, P3)

Desktop
All
defect

Tracking

(firefox68 affected, firefox69 affected, firefox70 affected, firefox92 unaffected, firefox93 affected, firefox94 affected)

RESOLVED DUPLICATE of bug 1647056
Tracking Status
firefox68 --- affected
firefox69 --- affected
firefox70 --- affected
firefox92 --- unaffected
firefox93 --- affected
firefox94 --- affected

People

(Reporter: dan, Unassigned)

References

Details

(Keywords: polish)

Attachments

(2 files)

Attached image popup_zoom_in.png

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

Steps to reproduce:

  1. Install any extension that includes a popup page triggered by a browser action. I verified the same issue in Axe Developer Tools (https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/), uBlock Origin (https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/), and NoScript Security Suite (https://addons.mozilla.org/en-US/firefox/addon/noscript/)
  2. Click on the browser action to display the popup
  3. Use Ctrl+mousewheel to zoom the popup content in and out

Actual results:

The contents of the popup do zoom in and out as expected, but the window containing the contents does not change size; when zooming out to <100%, this results in blank spaces at the bottom and right of the content, and when zooming in to >100%, this results in the content being cut off (see attached popup_zoom_in.png).

In the >100% case, I can see vertical and horizontal scroll bars flash in for a brief moment, then disappear (leaving the cut off content inaccessible).

This issue makes it difficult for an extension using a popup to meet accessibility standard WCAG 2.0 1.4.4.

Expected results:

The popup window should resize to fit the content as-zoomed, like it resizes to fit the 100% zoom content during content updates.

If it is zoomed to the point where it exceeds the maximum allowable popup window size, this should include making scroll bars available to navigate to the cut off content.

Attached image popup_zoom_out.png

Clarification: the user agent in the OP is not what I repro'd the issue with; I observed the issue on 68.0.1, user agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0"

Tested the issue on several machines & FF versions:
[Platform affected]: Windows 10, Mac OS X, Ubuntu 18.04
[Environment- FF versions]: nightly 70.0a1, beta 69.0b9, release 68.0.1

  • on all cases(platforms & environments) + all three web extensions installed the issue can be reproduced.
    Additionally, on other browser like Chrome the issue cannot be reproduced because there the zoom isn't possible - is blocked.
    Further, I will set a component, if isn't the right one please fell free to change it.
    Thanks.
Status: UNCONFIRMED → NEW
Component: Untriaged → General
Ever confirmed: true
OS: Unspecified → All
Product: Firefox → WebExtensions
Hardware: Unspecified → Desktop
Version: 68 Branch → Trunk
Keywords: polish
Priority: -- → P3
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1647056
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: