Closed Bug 1923672 Opened 1 year ago Closed 10 months ago

Default zoom level does not affect UI elements in PDF reader

Categories

(Firefox :: PDF Viewer, defect)

Firefox 131
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: nathanphillips4501, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0

Steps to reproduce:

Fresh install of Firefox 131 on Windows 11. Open any PDF with Firefox.

Actual results:

Changed default zoom level to 120% from 100%, UI elements in PDF reader did not change size. (Bar at the top, chapter listings on left side.)

Expected results:

Increasing the default zoom should increase the size of the UI in the PDF reader. I distinctly remember this working only a few releases ago.

The Bugbug bot thinks this bug should belong to the 'Firefox::PDF Viewer' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → PDF Viewer

I am not able to reproduce the issue on Win11x64 using Firefox build 131.0 (20240923135042) and this pdf doc https://www.diodes.com/assets/Datasheets/AP2114.pdf.
Nathan Phillips, can you please attach a screencast with the issue and if possible the link to the pdf? Thank you.

Flags: needinfo?(nathanphillips4501)
Attached image 120.png
Flags: needinfo?(nathanphillips4501)

I used the same PDF that you linked. To be more clear: I'm not sure if this is intended behavior or not, but when I go into settings -> general and change between any number of default zoom values, the UI elements (bar at the top, sidebar with page links, etc.) doesn't change size.

The severity field is not set for this bug.
:calixte, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(cdenizet)

As far as I know, I don't think it has ever been possible to scale the UI itself in using the zoom setting (I just tried with 108 and it isn't possible).
This setting is just for web pages.
That said, you can maybe create this pref ui.textScaleFactor (in about:config), and set it to a number to rescale the Firefox UI and even the pdf viewer one.
:Nathan, is it ok for you ?

Flags: needinfo?(cdenizet) → needinfo?(nathanphillips4501)

If it's never been a feature that's fine (although I do think it would be a good addition, especially for accessibility reasons). For some reason I remembered it being a thing.

Flags: needinfo?(nathanphillips4501)

:Nathan, is the pref ui.textScaleFactor not enough to fulfill your needs ?

The severity field is not set for this bug.
:calixte, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(cdenizet)

ui.textScaleFactor is the right way to increase the UI and there is no reason to have something specific to pdf.js.

Status: UNCONFIRMED → RESOLVED
Closed: 10 months ago
Flags: needinfo?(cdenizet)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: