Bug 101750 - [Browser] Clicking on link to PDF file does nothing
Summary: [Browser] Clicking on link to PDF file does nothing
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.2 M2   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-24 21:59 EDT by Robin Green CLA
Modified: 2005-09-13 11:02 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Green CLA 2005-06-24 21:59:24 EDT
In the Web Browser in the Eclipse examples, clicking on a link to a PDF file
doesn't work. It seems to be doing something for about 1 second, but it doesn't
display the PDF file, or offer any option to save it.

This is with mozilla 1.7.3 (also with 1.7.8). No mozilla plugins are installed.
Comment 1 Robin Green CLA 2005-06-24 22:04:22 EDT
Test case: Go to http://overholt.ca/wp/?p=24 in the Eclipse Web Browser example,
and click on the link to the .pdf presentation.
Comment 2 Steve Northover CLA 2005-07-07 19:05:02 EDT
Does Mozilla display the .pdf file outside of Eclipse?
Comment 3 Robin Green CLA 2005-07-07 19:14:00 EDT
Outside of Eclipse, it brings up a dialog box saying:

"The file "GUADEC2005-EclipseIDE.pdf" is of type application/pdf (PDF document),
and Mozilla does not know how to handle this file type. The file is located at
http://overholt.ca/eclipse/

"What should Mozilla do with this file?
o Open it with the default application (xpdf)
o Open it with [_____________________] [choose]
o Save it to disk

[] Always perform this action when handling files of this type

[OK] [Cancel]"
Comment 4 Grant Gayed CLA 2005-08-23 15:32:02 EDT

*** This bug has been marked as a duplicate of 83444 ***
Comment 5 Grant Gayed CLA 2005-08-26 12:18:46 EDT
sorry, it was a bit hasty to mark this as a duplicate; reopening
Comment 6 Grant Gayed CLA 2005-09-06 15:47:35 EDT
- it's not a general download problem, but seems specific to .pdf.  Our
HelperAppLauncherDialogFactory does get invoked when clicking on, for instance,
an eclipse download .zip
- it works fine for mozilla versions <= 1.5, then stops working as of 1.6
Comment 7 Grant Gayed CLA 2005-09-13 11:02:07 EDT
fixed > 0913 on gtk and motif

If a plug-in is installed for viewing a type that's not handled by the browser 
itself (such as .pdf) then the plug-in is utilized, otherwise a Save filepicker 
is shown.