[RESOLVED] pdf files show as black page

Ask for help about NoScript, no registration needed to post
matw

[RESOLVED] pdf files show as black page

Post by matw »

New Windows 7 install -> new Firefox install -> new noscript install

Noscript seems to work as usual ... until ... I try to open a pdf file. ...
I click on the pdf icon to allow this pdf file to display
I get an error dialog box from Adobe that has no error message (i.e. i'ts blank)
The page displays black.
I set noscript to "temporarily allow all this page" and the page still displays black.

The error console shows no error.

I disable noscript. The pdf file loads and displays just fine.
I enable noscript. The page displays black.

Please suggest what I might try to diagnose what is going on.

--matw
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: pdf files show as black page

Post by dhouwn »

matw wrote:Please suggest what I might try to diagnose what is going on.
The content of the Error Console helps in most cases, but I am not so sure about this one.
Last edited by dhouwn on Fri Apr 23, 2010 7:07 pm, edited 1 time in total.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a5pre) Gecko/20100423 Firefox/3.7
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: pdf files show as black page

Post by Giorgio Maone »

Could you try to reinstall latest Adobe Reader version?
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Guest

Re: pdf files show as black page

Post by Guest »

Removed and installed Acrobat Reader (9.3)
Removed and installed firefox 3.6.3
Did not reinstall noscript, as the plugin was disabled (unistall didn't remove everything. I am unsurprised.)
A pdf page displayed fine.
Enabled noscript -> the same pdf page displays black.

Possibly relevant fact: Adobe CS4 suite is installed on this system (includes Acrobat Pro). I am not sure what program is actually getting called to open pdf web pages. I don't see an indication within the browser. Will try to investigate what "reader" gets run outside of firefox.

--matw
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Guest

Re: pdf files show as black page

Post by Guest »

Acrobat Pro was the default reader.
Changed and verified that Acrobat Reader was the new default reader.
The pdf web page reader in firefox looked a little different.
The behavior with respect to noscript was the same.

--matw
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: pdf files show as black page

Post by Giorgio Maone »

Could you try on a clean profile, with just NoScript ?
(BTW, uninstalling it "doing nothing" is surpristing indeed, it may hint at a corrupted profile).
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Guest

Re: pdf files show as black page

Post by Guest »

I just reinstalled and ensured that the <username>\AppData\Roaming\Mozilla\Firefox folder had been cleared out and replaced.

Unfortunately, opening pdf web pages in firefox now show black pages. This is before installing the noscript plugin, so I have to get that working before I can say anything about the behavior with noscript.

Bummer. Thank you for the suggestions. Corruption somewhere seems likely. When I get firefox and adobe working together again, I will try adding noscript and report on how it works.

--matw
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Guest

Re: pdf files show as black page

Post by Guest »

After many experiments from removing profiles.ini to reinstalling firefox and noscript, I can say that I have not yet found a way to make black-page occurrences happen all the time. However, it is pretty easy to get a black page.

At the time of my last post, enabling and disabling Java Console made a difference, even if noscript was disabled. However, after a firefox reinstall (without noscript) pdf pages display properly whether or not Java Console is enabled.

Black pages seem to happen most often when a site is forbidden and I then double click on the pdf icon at the center to allow the pdf to be displayed. While in this state, firefox may or may not display a black page depending on my subsequent action (it is all quite confusing). The behavior is sensitive to the manner by which the web page is subsequently invoked (reload current page, double click on a desktop link, click on link in the sidebar, ...). Quitting and restarting firefox, after saving (or not) open tabs, causes various results.

When I manage to get firefox into a state where black-pages become likely, I found that removing profiles.ini brought firefox into a somewhat well behaved state. While in this state, it is usually sufficient, when firefox blocks a pdf page, to avoid black-pages by not doubelclicking on the pdf icon and instead allowing the domain (temporarily or permanently).

So, it seems that there is a noscript dependency, but I can't say much beyond that.

Regards, --matw
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: pdf files show as black page

Post by Giorgio Maone »

Wild guess: since I've never seen black rectangle instead of PDF pages, but I did see black artifacts caused by bad graphic drivers under unusual or stressful conditions, could you check if your drivers are up to date?
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Guest

Re: pdf files show as black page

Post by Guest »

A "Wild guess" is welcome. :)

The graphics driver is the latest according to Device Manager.

Throughout, Error Console, remained silent, so it isn't much help here. (Error Console works however)

I am pretty much out of my skill range here, but I would like to know what program is failing when I get a black page. Can I coax firefox and noscript (and whoever else) into telling me what it is doing as it does it?

--matw
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: pdf files show as black page

Post by therube »

URL of this PDF?

Not particularly relevant, but can't hurt to read through: PDF pages don't appear in web browser window (Acrobat 4.0-6.0.x, Acrobat Reader 4.0-5.x, Adobe Reader 6.0x)

You say Acrobat Reader 9.3, but is it actually 9.3.2 (& if not there is an update to 9.3.2).

Possibly relevant fact: Adobe CS4 suite is installed on this system (includes Acrobat Pro).
Having both Pro & Reader installed jogs a memory, let me see what I can find.

Again possibly not relevant but, PDF pages don't appear in web browser window (Acrobat 7.0 and 3D, Adobe Reader 7.0-8.0, and Acrobat 8).

(I was actually thinking of this, but it is a different issue, PDF's don't open in SeaMonkey.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 SeaMonkey/2.0.4
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: pdf files show as black page

Post by Giorgio Maone »

Could you (temporarily?) install Foxit Reader as well, letting it activate its plugin, and see if anything changes?
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: pdf files show as black page

Post by dhouwn »

Or alternatively PDF-XChange Viewer.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a5pre) Gecko/20100425 Firefox/3.7
JamesM

Re: pdf files show as black page

Post by JamesM »

I had this problem. I have Acrobat pro 8 installed as well as adobe reader. I discovered that in the Preferences/Internet, the "Display PDF in browser" checkbox was ticked in both Acrobat Pro and in reader. Unchecking it in Acrobat Pro solved the problem.

Hope this helps anyone else with similar problem.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
me

Re: pdf files show as black page

Post by me »

edit, preferences, accessibility
either uncheck replace document colors or change custom colors to white background with black text
i do not know how these settings were changed in the first place!
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Post Reply