Open Bug 1925709 Opened 1 year ago Updated 9 months ago

Missing full page zoom commands

Categories

(Firefox for Android :: General, enhancement)

Firefox 125
All
Android
enhancement

Tracking

()

Tracking Status
firefox137 --- affected
firefox138 --- affected
firefox139 --- affected

People

(Reporter: naesten, Unassigned)

Details

(Whiteboard: [qa-triaged])

User Agent: Mozilla/5.0 (Android 10; Mobile; rv:125.0) Gecko/125.0 Firefox/125.0

Steps to reproduce:

I looked for zoom options in the menu. I checked if there were settings under Accessibility to enable any zoom menu options.

Actual results:

I didn't find any.

Expected results:

I was expecting something analogous to the functionality provided by https://searchfox.org/mozilla-central/source/browser/components/tabbrowser/content/browser-fullZoom.js in the desktop browser - not the "pan-zoon" stuff, but the kind that makes the browser window look smaller to the web page as you zoom in.

It looks like CSSOM View calls this "page zoom": https://drafts.csswg.org/cssom-view/#page-zoom

Chrome for Android also seems to implements such UI at the moment, though I guess it might still be experimental; if you don't see it, make sure "Settings > Accessibility > Show zoom option in main menu" is on, which may require pasting chrome://flags/#enable-accessibility-page-zoom in the address bar and forcing that on - at least, I had to do that at some point when the menu item disappeared on me.

Since GeckoView doesn't have API for this (everything with zoom in it was for pan-and-zoom, double-tap zoom, or input auto zoom), and since GeckoView wishes to shield clients from the need to understand Gecko's principals, I'm assuming there's no way to directly interact with priviledged JavaScript code, and therefore the first step would be adding some full page zoom API to GeckoView.

Confirmed on the latest Nightly build (139.0a1 from 2025-04-02), latest Beta (138.0b2) and RC 137.0.

The menu part cannot be zoomed.

Device used: Samsung Galaxy S23 Ultra (Android 14).

Severity: -- → S4
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [qa-triaged]
You need to log in before you can comment on or make changes to this bug.