Closed Bug 1658482 Opened 4 years ago Closed 4 years ago

zoom.maxPercent doesn't change the max zoom percentage

Categories

(Firefox :: General, defect)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: xidorn, Unassigned)

References

Details

I tried to change it to 500, and restart the browser, the zoom level is still capped on 300%.

I saw bug 718474 which may be related.

Have you tried changing toolkit.zoomManager.zoomValues to add 5 to the end of the list in about:config?

Flags: needinfo?(xidorn+moz)

Yeah, adding that seems to work. It's interesting that I need to change two places to get a single behavior change... If it's controlled by zoomValues, does it make more sense to just remove maxPercent then?

Flags: needinfo?(xidorn+moz)

maxPercent is still useful if the desired max value is less than 300%. See https://searchfox.org/mozilla-central/rev/358cef5d1a87172f23b15e1a705d6f278db4cdad/toolkit/content/viewZoomOverlay.js#88-90 where we remove any steps in the zoomValues that are above maxPercent.

I'll close this bug as "invalid" since we have found what was going on and it is just the two preference values that depend on each other.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
Resolution: WORKSFORME → INVALID
You need to log in before you can comment on or make changes to this bug.