
Firefox fails to open pdf downloads in default application
Firefox 136.0.1, Linux 6.8.0-55, have set Okular as default pdf application, however Firefox will not open pdf file when downloaded nor will it open the file when selecting Open File from the Download Icon on the toolbar. Only was I can get to file is to select Show in Folder option and open from within Dolphin.
Izabrano rješenje
I would suggest running more than 1 version of Firefox. There have been several users here missing data because all there info was in 1 browser that failed for whatever reason. If this version of Firefox goes BOOM, my data is in another version and on multiple devices using sync. see screenshot
FYI... SYNC IS NOT A DATA BACKUP SERVICE Sync info... https://support.mozilla.org/en-US/kb/how-do-i-set-sync-my-computer https://support.mozilla.org/en-US/kb/how-do-i-choose-what-information-sync-firefox https://www.mozilla.org/en-US/firefox/features/sync/ https://hacks.mozilla.org/2018/11/firefox-sync-privacy/ Sync is not a backup tool but it is a good sync/transfer/move tool https://support.mozilla.org/en-US/forums/contributors/707681
Pročitaj ovaj odgovor u kontekstu 👍 0Svi odgovori (9)
What OS? What Desktop? X11 or Wayland? What happens on this site? https://www.irs.gov/downloads/irs-pdf I'm able to open in Firefox or select the app to open with. see screenshots Can you show proof the issue and provide steps to replicate?
Operating System: openSUSE Tumbleweed 20250316
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.6-1-default (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5825U with Radeon Graphics
Memory: 62.1 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: HP
Product Name: HP ProBook 455 15.6 inch G9 Notebook PC
Izmjenjeno
I used the Mozilla troubleshooting utility to provide all the system information but obviously that does not work either.
Operating System: Kubuntu 24.04 KDE Plasma Version: 5.27.12 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.13 Kernel Version: 6.8.0-55-generic (64-bit) Graphics Platform: X11 Processors: 28 × Intel® Core™ i7-14700F Memory: 31.1 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 4060/PCIe/SSE2 Manufacturer: iBUYPOWER Product Name: Intel(R) Core(TM) i7-14700F
Unable to create the first two images, I never get an option to select an application or to download to a folder of my selection. Clicking on any pdf file automatically downloads file to Downloads and then I have to Open Containing Folder and manually select the file. Can not show the Download folder either as Spectacle closes the dropdown as soon as I open Spectacle.
Trying to download screen captures fail as I get the message ERROR UPLOADING IMAGE Invalid or no image received
Update: Since this version of Firefox had numerous issues besides the pdf control, I decided to remove the entire steaming pile: First renamed both profiles as .bak Second sudo snap remove firefox Third sudo snap install firefox
So now I've got a new all default settings steaming pile which I changed the download preference to "Always ask you where to save files" and changed the default pdf handler to /use/bin/okular
Result is the same behavior regarding pdf's and I still can not upload images
Thanks for the attempt. Try downloading Firefox from Mozilla. Download, unzip, and run firefox-bin from the folder and see if you have the same issue. https://www.mozilla.org/en-US/firefox/all/#product-desktop-release You can also see what happens with your OS using a live usb stick.
Also try a different version of Firefox(Beta, Dev, or Nightly)and see if you have the same issue. https://www.mozilla.org/en-US/firefox/channel/desktop/
Thanks for the suggestion. firefox-bin is working fine from a temporary folder, apparently still using my old profiles since it remembered this site. The snap install was trash from multiple user profile settings issues, thus my decision to trash and reinstall. So, what do you suggest in order to get this properly installed and not run from temp?
I run my Mozilla versions and Waterfox from my downloads folder on a few laptops. see screenshot There is this install process, but I've been running from the download folder for years with no issue... your choice. i just create a link on my destkop pointing to the firefox-bin and waterfox-bin files.
Odabrano rješenje
I would suggest running more than 1 version of Firefox. There have been several users here missing data because all there info was in 1 browser that failed for whatever reason. If this version of Firefox goes BOOM, my data is in another version and on multiple devices using sync. see screenshot
FYI... SYNC IS NOT A DATA BACKUP SERVICE Sync info... https://support.mozilla.org/en-US/kb/how-do-i-set-sync-my-computer https://support.mozilla.org/en-US/kb/how-do-i-choose-what-information-sync-firefox https://www.mozilla.org/en-US/firefox/features/sync/ https://hacks.mozilla.org/2018/11/firefox-sync-privacy/ Sync is not a backup tool but it is a good sync/transfer/move tool https://support.mozilla.org/en-US/forums/contributors/707681
Izmjenjeno
Thanks a lot. Will change the way I manage my browser installs and take advantage of your suggestions.
Since you state you have multiple versions of your browsers, this implies you are in charge of your "updates" which Firefox now force-feeds me. Is this true? No more "Congrats... you have been updated to the latest steaming pile"?
It sounds like Firefox is having trouble linking the downloaded PDF with your default application (Okular), which can happen due to MIME handling issues in certain Linux environments.
Here are a few steps you can try:
1. Adjust Firefox’s File Handling Settings • Go to Firefox Settings > General > Applications. • Find “Portable Document Format (PDF)” in the list. • Choose “Use Okular” or manually select it if not listed (usually found at /usr/bin/okular).
2. Fix MIME Type Associations via Terminal
Check what app is set for opening PDFs:
xdg-mime query default application/pdf
If it doesn’t return Okular, run
xdg-mime default okularApplication_pdf.desktop application/pdf
3. Verify KDE File Associations • Go to System Settings > Applications > File Associations. • Search for PDF, then make sure Okular is at the top of the list.
4. Try Manual Opening via Dolphin
Since you can open the PDF from Dolphin, the issue seems isolated to how Firefox is handling the file action—not a system-wide problem.
5. Check Firefox Installation Type
If you’re using Firefox via Flatpak or Snap, the sandbox may be blocking access to system apps like Okular. Try using the native version installed via your package manager (e.g., apt, pacman, dnf, etc.).
I ran into a similar issue while testing PDF integration for a project on my blog,https://www.surahayaseen.com, where I explore file handling problems and browser compatibility. If you’re interested in troubleshooting PDF-related errors or improving user experience with downloadable files, feel free to check it out
Izmjenjeno