Opening downloaded PDF
Categories
(Firefox :: File Handling, defect)
Tracking
()
People
(Reporter: skuroedov, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0
Steps to reproduce:
I have downloaded and opened PDF with a space in it's name:
file:///C:/Users/kuroese/AppData/Local/Temp/Reading comprehension.pdf
Actual results:
Firefox tried to open file with name ending in space of URL:
file:///C:/Users/kuroese/AppData/Local/Temp/Reading
And opened second tab with trying to open file with name of rest of path:
www.comprehension.pdf
Expected results:
Firefox should have opened file:///C:/Users/kuroese/AppData/Local/Temp/Reading comprehension.pdf
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•5 years ago
|
||
I tried to reproduce the problem but couldn't.
Is Firefox set as the default OS handler for pdf files?
How did you try to open the pdf, just double clicking on the file, or some other ways?
Comment 3•5 years ago
|
||
The problem is in file association, If you use Adobe Reader (predefined) all is ok if you assign Adobe Reader manually not .
The same if you assign manually Firefox.exe
Comment 4•5 years ago
|
||
Could you please provide more detailed steps? what do you mean by "manually"?
Comment 5•5 years ago
|
||
Hi,
"manually" is select Adobe Reader from the list of available program for open a .pdf and not (Predefined)
If you select Firefox.exe from the installation folder and open the .pdf you can see a truncated string of the file path, instead if you use Acrobat Reader receive an application error.
The same problem is in ESR version.
Comment 6•5 years ago
|
||
I'm sorry but I still don't understand which steps you are following.
Let's go with more order:
- What is the default PDF handler in your OS, what is opened when you just double click on a pdf?
- How is PDF set in about:preferences under the Applications category (Preview In Nightly, Always Ask)?
- Where is the PDF file you are trying to open, is it a link on a page or is it just a file on your computer?
- How do you open the pdf, double click on the file, click on a link to it from a web page?
Comment 7•5 years ago
|
||
- default PDF handler tested with Adobe Reader, Edge & Firefox if I open with default all OK
- PDF set in about:preferences : request everytyme
- the pdf is a link.
- Click on link
Comment 8•5 years ago
|
||
Tested the same problem today on 72.0.1
Comment 9•5 years ago
|
||
Ok (also thanks for the email with more details), I can now reproduce the bug, after setting pdf to "Ask me everytime" and picking a firefox version. As a side note, my default pdf handler in Windows is Edge Beta atm.
Using http://www.romagnafaentina.it/Notizie-ed-eventi/Notizie-dall-Unione/Pubblicato-il-bando-per-il-sostegno-all-affitto-delle-abitazioni as an example url, and clicking on "Bando Affitto 2020".
The good thing is that it looks like has been fixed in Firefox 73 by bug 1601905.
Updated•1 year ago
|
Description
•