Closed Bug 2008628 Opened 10 months ago Closed 9 months ago

Firefox gets to odd zoom levels (e.g. 93%, 103%, 113%, 123%) and doesn't return to 100%, if you zoom in with keyboard and then zoom out with mousewheel

Categories

(Firefox :: Toolbars and Customization, defect)

defect

Tracking

()

VERIFIED FIXED
149 Branch
Tracking Status
firefox149 --- verified
firefox150 --- verified

People

(Reporter: dholbert, Assigned: mconley)

References

(Regressed 1 open bug)

Details

Attachments

(1 file, 1 external file)

STR:

  1. Zoom in using the keyboard three times, with Ctrl and + (this takes you to 133%)
  2. Zoom out using them mouse four times, with Ctrl and mousewheel-down.

ACTUAL RESULTS:
Zooming in with the keyboard takes you to 110%, 120%, 133%.
And then zooming out with the mouse takes you down by 10% for each tick, so you end up at 123%, 113%, and then 103%, and then 93% (skipping past 100%)

EXPECTED RESULTS:
The first zoom-out action should probably take you from 133% to 120%. (That's what happens if you zoom out with Ctrl and -.)
Whatever happens, you should be able to return to 100% no matter what method you use for zooming in / zooming out.

Summary: Firefox gets to odd zoom levels (e.g. 103%, 113%, 123%) if you zoom in with keyboard and then zoom out with mousewheel → Firefox gets to odd zoom levels (e.g. 93%, 103%, 113%, 123%) and doens't return to 100%, if you zoom in with keyboard and then zoom out with mousewheel
Attached video screencast of bug —

In the screencast, I dump devicePixelRatio at various zoom levels to demonstrate that the zoom level is the "real" one that we're setting, and not just a Firefox frontend display-only glitch, for example.

Assignee: nobody → mconley
Status: NEW → ASSIGNED
Summary: Firefox gets to odd zoom levels (e.g. 93%, 103%, 113%, 123%) and doens't return to 100%, if you zoom in with keyboard and then zoom out with mousewheel → Firefox gets to odd zoom levels (e.g. 93%, 103%, 113%, 123%) and doesn't return to 100%, if you zoom in with keyboard and then zoom out with mousewheel
Pushed by mconley@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/13b5697a0cb4 https://hg.mozilla.org/integration/autoland/rev/745f8b192352 Make keyboard and wheel zoom levels consistent. r=NeilDeakin,tabbrowser-reviewers,sthompson
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
QA Whiteboard: [qa-triage-done-c150/b149] [qa-ver-needed-c150/b49]
Flags: qe-verify+
QA Whiteboard: [qa-triage-done-c150/b149] [qa-ver-needed-c150/b49] → [qa-triage-done-c150/b149] [qa-ver-needed-c150/b149]
QA Contact: dlucaci

Reproduced with Firefox 148.0a1 (2025-01-05) on Windows 10.
Verified as fixed with Firefox 150.0a1 (20260303095635) and Firefox 149.0b3 (20260302093328) Windows 10 and Ubuntu 22.04.

Status: RESOLVED → VERIFIED
Has STR: --- → yes
QA Whiteboard: [qa-triage-done-c150/b149] [qa-ver-needed-c150/b149] → [qa-triage-done-c150/b149] [qa-ver-done-c150/b149]
Flags: qe-verify+
See Also: → 2027442
Regressions: 2027442
See Also: 2027442 →
See Also: → 389628
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: