Cannot open PDF over file:// protocol

UNCONFIRMED
Unassigned

Status

()

Firefox for Android
General
UNCONFIRMED
2 years ago
2 years ago

People

(Reporter: Jani, Unassigned)

Tracking

44 Branch
ARM
Android
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
Created attachment 8715795 [details]
Screenshot_2016-02-04-15-55-13.png

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160201143558

Steps to reproduce:

- Copy a PDF file to our device
- Navigate to file:///storage/emulated/0/
- Try to open a PDF file


Actual results:

- A toast saying "Cannot open file" is shown


Expected results:

- The PDF should've been opened to a PDF reader (eg Adobe PDF Reader)
(Reporter)

Updated

2 years ago
OS: Unspecified → Android
Hardware: Unspecified → ARM
(Reporter)

Comment 1

2 years ago
Hardware: Samsung Galaxy Note 10.1 N8000
OS: Stock Android 4.4.2 (latest from manufacturer)
Other: the same problem happens with 45.0b2 although the toast notification looks different.

Comment 2

2 years ago
Using a Samsung Galaxy Tab 4 10.1, Android 5.0.2 stock.
I think it's the same behaviour I stumbled upon. Because I use Firefox to browse locally stored html files on sdcard, I then also opens PDF:s the same way. But some times ago (maybe at version 42-43) that wasn't working anymore. The PDF:s used to open instantly in Adobe Reader when I tried to open them. Now a notification tell me that the file can't be downloaded (or opened). When I longpress the link with the file then I can choose to open the link (or file) with a app, for instance Adobe Reader. But I feels this is more complicated than before.

Comment 3

2 years ago
I'm now using Firefox 45.0 I will say with the same behaviour.
You need to log in before you can comment on or make changes to this bug.