Closed Bug 1190205 Opened 9 years ago Closed 5 years ago

Unable to display ReadCube's Enhanced PDF

Categories

(Firefox :: General, defect)

39 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: madbiologist2016, Unassigned)

References

()

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:39.0) Gecko/20100101 Firefox/39.0
Build ID: 20150629114836

Steps to reproduce:

I opened the page at http://www.readcube.com/articles/10.1038%2Fismej.2014.25 and a generically formatted extract of the document was displayed with a heading stating "! Your browser does not support the Enhanced PDF".

"Enhanced PDF" is a link and following it gives further information - see https://www.readcube.com/enhancedpdf





Expected results:

Chromium correctly displays the original document.
The link works for me, no warning is shown.
Please try to reproduce using a new profile: https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
Still occurring on Firefox 39 with a new profile.  I've updated the platform info to Linux x86.
OS: Unspecified → Linux
Hardware: Unspecified → x86
Hardware: x86 → x86_64
Do I need to Log in or open a specific document?
If I follow exactly your STR (open the URL with a clean Firefox profile) I have no issues.
Flags: needinfo?(s.j.turner)
No need to login (I don't have a ReadCube account) or open a specific document.

Could this be caused by Ubuntu's packaging of Firefox?  If that is the case I will report this bug in their bugtracker.  I've attached a copy of my about:buildconfig
Flags: needinfo?(s.j.turner)
You may use a build from Mozilla: https://nightly.mozilla.org/
I've just downloaded and installed the latest nightly build 42.0a1 (2015-08-04).  This issue is still occurring.
I've just found this:

http://support.readcube.com/knowledgebase/articles/473990-supported-web-browsers-for-viewing-shared-articles

Apparently ReadCube requires hardware accelerated graphics.

My about:support shows "GPU Accelerated Windows	0/1 | Basic (OMTC)"

It looks like my AMD Radeon HD 7870 2GB is not utilised by default.  I'm using a 3.19-based kernel with mesa 10.5.2.
I've set webgl.force-enabled to true and pdfjs.enableWebGL to true and restarted Firefox.  This hasn't changed the information for GPU Accelerated Windows and the ReadCube issue is still occurring.  Is there any other preferences I can force on?
I've just set layers.acceleration.force-enabled to true (and kept the other changes I mentioned in comment #9).  This has changed GPU Accelerated Windows to 1/1 OpenGL (OMTC) but the ReadCube issue is still occurring.
layers.acceleration.disabled should be false.

Please try updating all your drivers first. Post what driver and version you are using. Make sure that other programs detect your graphics card correctly. You may also test alternative drivers (open sourced vs proprietary).
layers.acceleration.disabled is (and was) false.

I'm using latest available version of the open source xserver-xorg-video-ati driver, namely version 7.5.0-1ubuntu2.

I'm not able to test the proprietary fglrx (Catalyst) driver.
Happens on Windows too. Moved to exact component.
QA Whiteboard: [bugday-20150803]
Component: Untriaged → PDF Viewer
OS: Linux → All
Status: UNCONFIRMED → NEW
Ever confirmed: true
The page does not use the pdf.js viewer built into firefox.
Component: PDF Viewer → Untriaged
I see the warring with Fx44b7 Win10 and gfx.direct2d.disabled=true. If changed the gfx.direct2d.disabled to false and restart Firefox, the page will works fine.


about:support - Graphics differences for me after change the pref and restart:
Added the Direct2D Enabled	true
DirectWrite Enabled	false (10.0.10586.0) to DirectWrite Enabled	true (10.0.10586.0)
AzureCanvasBackend	skia to AzureCanvasBackend	direct2d 1.1
AzureContentBackend	cairo to AzureContentBackend	direct2d 1.1
Component: Untriaged → General
Hardware: x86_64 → All
Firefox 51, Linux, still does not work.

Please test this on latest Firefox, if it still doesn't work, then it is likely an issue with readcube themselves - the article there no longer exists. I'd suggest contacting them in the first instance if this is still a problem, they are welcome to contact us to discuss the issue if there is one.

If you think there may be an issue getting the right graphics enabled, then please discuss at https://support.mozilla.org.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE

This is now working on Firefox 64 on Linux with webgl.force-enabled set to false and layers.acceleration.force-enabled set to true. pdfjs.enableWebGL is false but as comment 14 said, the page does not use the pdf.js viewer built into firefox.

Resolution: INCOMPLETE → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: