Open Bug 820895 Opened 12 years ago Updated 2 months ago

wrong application selected to open file downloaded

Categories

(Firefox :: File Handling, defect)

18 Branch
x86
Linux
defect

Tracking

()

People

(Reporter: urykhy, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

User Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0
Build ID: 20121207120901

Steps to reproduce:

1. download file from `http://catalog.gaw.ru/index.php?page=document&id=37605`



Actual results:

2. FF show a dialog, and suggest to open pdf with a Gimp.


Expected results:

3. PDF file must be opened with okuar (as specified in Edit->Prefs->Applications)
Component: Untriaged → File Handling
[testday-20121221] edwardb

The default was 'Document Viewer' on the Linux machine used.
Visited the website containing .pdf files to download.
Clicked on one.  Up popped the dialog box.  

Chose to open that link using the default application on display: 'Document Viewer'.
The file downloaded, and the default document viewer opened.

Visited another website with more .pdf files.
Repeated the process, and still, the default document viewer opened as expected.

Bug Status: Resolved, INVALID
Closing this as WFM, but please reopen the bug if you can still reproduce the issue.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
sorry guys, i still have the issue (FF 21.0)

for link in original report - i got dialog with `open with Gimp`,
for other pdf files - they opened via pdf.js (as expected)

i find some difference in HTTP headers:
good reply:
Content-Type	application/pdf

bad reply:
Content-Type	application/x-force-download; name="spec_seriya_1986be.pdf"
Content-Disposition	attachment; filename="spec_seriya_1986be.pdf"
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
Attached image screenshot.png
I can reproduce this issue on Ubuntu 13.10 32-bit, with latest Aurora, build ID: 20131208004003 with http://catalog.gaw.ru/index.php?page=document&id=37605

No matter if I select "Preview in Aurora" or to open with Gimp a .pdf file from Edit-> Preferences-> Applications, I keep on getting the dialog shown in the attached screenshot.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → S3
Attachment #9383089 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: