Bug 1613565 - Firefox will not open files in external applications
Summary: Firefox will not open files in external applications
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: firefox
Version: 6.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jan Horak
QA Contact: Desktop QE
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-07 21:30 UTC by Andrew Mike
Modified: 2019-03-27 09:48 UTC (History)
8 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2019-03-27 09:48:03 UTC


Attachments (Terms of Use)

Description Andrew Mike 2018-08-07 21:30:49 UTC
Description of problem:
When opening files from a URL, Firefox will not try to open it in an external application.

Version-Release number of selected component (if applicable):
firefox 60.1.0-6

How reproducible:
Consistently, on a RHEL 6.10 system with a GUI installed per https://access.redhat.com/solutions/5238.

Steps to Reproduce:
1.Open Firefox. 
2. Set pdfjs.disabled = true in about:config.
3. Open a PDF in a URL (like https://www.gutenberg.org/files/11/11-pdf.pdf).

Actual results:
The file is immediately downloaded. When the folder icon in the download pop-up is clicked, instead of Nautilus appearing, the "Launch Application" window is shown.

Expected results:
The file open dialog box should pop up and ask whether to open the PDF in evince or download it. When the folder icon in the download pop-up is clicked, the Nautilus window for the download folder should be displayed.

Additional info:

Comment 2 Ron Yorston 2018-08-13 10:02:43 UTC
Possibly related: https://bugs.centos.org/view.php?id=15113 'Firefox is unable to determine how to open Word documents'

Comment 3 Jan Horak 2018-08-20 13:26:06 UTC
There's is a fix for this by changing XDG_DATA_DIRS in /usr/bin/firefox to:
export XDG_DATA_DIRS="$MOZ_LIB_DIR/firefox/bundled/share:/usr/share"


Note You need to log in before you can comment on or make changes to this bug.