Closed Bug 1722571 Opened 4 years ago Closed 4 years ago

Firefox PDF rendering problem

Categories

(Firefox :: PDF Viewer, defect)

Firefox 90
Desktop
All
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox-esr78 --- unaffected
firefox90 --- wontfix
firefox91 --- verified
firefox92 --- verified

People

(Reporter: joe70511, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Attached file problem.pdf

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

Steps to reproduce:

Opened the file (Windows 10)

Actual results:

high CPU & not correctly displayed

Expected results:

It should be correctly displayed. It is in Acrobat reader & Chrome

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

Component: Untriaged → PDF Viewer

I can't seem to reproduce, the rendering looks fine to me.

Can you attach a screenshot?

Flags: needinfo?(joe70511)

The problem of high CPU and memory usage with this specific PDF seems to have been fixed in Latest Nightly by Bug 1722352.

Flags: needinfo?(joe70511)

See attached.
The CPU/memory problem is severe on my laptop, which may be related to this issue

Could you try with Firefox Nightly, so we can confirm this bug is fixed for you too?

Flags: needinfo?(joe70511)

How do I access Firefox Nightly ?

Flags: needinfo?(joe70511)

Somewhat better using 91.0b7

The pdf does render eventually - several minutes later, with nothing else running.
Still is killing my laptop which has 12G memory.
Not sure what is going on here.

Again, no issue with Adobe Reader, Chrome or Edge. On all of these, the page comes up almost instantly.
Dramatic difference with them and Firefox.

I have a new laptop on order. I'll see if things are better on it once it arrives and is set up, but I doubt it.

You can download Nightly from https://www.mozilla.org/firefox/channel/desktop/.
The changes from bug 1722352, which maybe fixed this, are also in latest Beta (the next one, Beta 8. The one you're testing with is Beta 7).

Flags: needinfo?(joe70511)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Has Regression Range: --- → yes

Just auto-updated to 91.0b8.
The rendering now is way faster- several seconds- and accurate.
Still slower than with the other apps, but I can live with that.
Looks like this bug is resolved.
Thanks for your help.

Flags: needinfo?(joe70511)

(In reply to joe70511 from comment #11)

Just auto-updated to 91.0b8.
The rendering now is way faster- several seconds- and accurate.
Still slower than with the other apps, but I can live with that.
Looks like this bug is resolved.
Thanks for your help.

Thanks! So this is fixed by the pdf.js update from bug 1722352, in particular by https://github.com/mozilla/pdf.js/pull/13770.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
See Also: → 1721218

I have confirmed the issue in Firefox Release v90.0.2 and I have verified the fix in Firefox Beta v91.0b9 and Firefox Nightly v92.0a1 from 2021-07-30.

Status: RESOLVED → VERIFIED
OS: Unspecified → All
Hardware: Unspecified → Desktop
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: