wrong application selected to open file downloaded

NEW
Unassigned

Status

()

6 years ago
5 years ago

People

(Reporter: urykhy, Unassigned)

Tracking

18 Branch
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
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)

Updated

6 years ago
Component: Untriaged → File Handling

Comment 1

6 years ago
[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
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
(Reporter)

Comment 3

5 years ago
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 → ---
Created attachment 8344582 [details]
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.

Updated

5 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.