Closed Bug 268044 Opened 20 years ago Closed 19 years ago

When trying to view a PDF file, the dialog box to choose the helper application always keeps its OK button disabled.

Categories

(Firefox :: File Handling, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED EXPIRED

People

(Reporter: dhutanga, Assigned: bugs)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041102 Firefox/1.0RC1 (Debian package 0.99+1.0RC1-3)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041102 Firefox/1.0RC1 (Debian package 0.99+1.0RC1-3)

When I try to open a PDF file, Firefox gives me a dialog box asking "What should
Firefox do with this file?". Regardless of what response I give (choosing a
helper application vs downloading the PDF file), Firefox won't enable its OK
button. I tried opening a Word document it works fine.

Reproducible: Always
Steps to Reproduce:
1. Click on a link to a PDF file
2. A dialog box comes up
3. Choose a helper application, or choose to download; it doesn't matter which one


Actual Results:  
The dialog box's OK button never enables itself, preventing me to proceed

Expected Results:  
The OK button should have been enabled once a valid response is given (eg. a
helper application is chosen).
firefox forked this code -> to the firefox product
Assignee: file-handling → bugs
Product: Browser → Firefox
QA Contact: ian → bmo
Possibly a duplicate of bug #264492 (which is - by the way - still unconfirmed)?
At least the effect is the same.

In the bug #264492 comment area is also a hint how to fix (and reproduce) this bug. 

--> Can you check your mimeTypes.rdf in your profile if the path to your PDF
viewer application is broken? Don't forget to create a backup of your profile if
something goes wrong...
I forgot some questions about your screenshot:

The screenshot shows the path "/usr/bin/X11/gv" in the "open with" selection
box: Is this the initial screen or have you selected this application before
taking the screenshot?

If your screenshot shows the initial screen (without user interaction):
Does this application exist ("/usr/bin/X11/gv") and do you have appropriate
rights (especially execution flags)? If the answer is yes, your bug is only
related to bug #264492 - but not a duplicate.
In response to comment #3, I tried the solution given in bug #264492, it worked!

In mimeTypes.rdf, the specified PDF handler pointed to an application that had
been removed. I just replaced it with a valid path and it now works.
Re comment #4:

I'm afraid I can't remember whether "/usr/bin/X11/gv" was given to me by default
without my intervention. I tried it again earlier but it now gave me
"kghostview" as the only option (gv had been removed by then).

I'm no expert but I think the bug is because of invalid path in mimeTypes.rdf.
In my cases it was referring to a non-existant file.
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: