Firefox snap document handling fails
Categories
(Firefox :: File Handling, defect)
Tracking
()
People
(Reporter: support, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0
Steps to reproduce:
Upgrade Ubuntu 20.04 to 22.04 which changed Firefox from .deb install to snap install. After the change all file link handling except saving the file appears to be broken. Selecting a PDF link brings up a page like it was going to display, but the page is blank. Selecting a .doc, .docx, .xls, .xlsx or other file from the office suite select the default "System Handler" Selecting this option does nothing, no errors, no output, nothing happens.
Actual results:
URL handler does nothing and document display for PDF files comes up blank. Any attempt to point the default action to run a program like LibreOffice in settings shows the selected option only until the cursor is moved at which point it immediately reverts to the original default action.
Version "Snap for Ubuntu Canonical-002-1.0
Linux Ubuntu 22.04 LTS
Expected results:
The system Handler should refer the file to the system and the system should select the appropriate application based on the mime type
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox Build System::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
This same behavior occurred on two different systems (one laptop and one desktop) on upgrade to Ubuntu 22.04 LTS from Ubuntu 20.04 LTS.
Updated•2 years ago
|
Comment 3•2 years ago
|
||
all file link handling except saving the file appears to be broken. Selecting a PDF link...
It is not 100% clear to me what the exact STR are here, but I assume we end up going through launchDownload
(there might be other code paths, but that's what I found after 5 minutes) ?
Comment 4•2 years ago
|
||
I suspect this may be similar to bug 1805020, if not the same.
There's quite a few issues around Snap builds.
Comment 5•2 years ago
|
||
I'm marking as duplicate, though if you still see the problem and can provide us a textual log from about:support, that may help verifying.
Note: This bug is most certainly not resolved. Any time I attempt to access a file as an attachment or a link on a website, depending on the file type I get one of two sets of options. If the file is a pdf the options it sometimes asks if the file should be downloaded, opened in Firefox, or saved and sometimes it just opens the file giving me no other option. If the file is something like a text file or a word document or a spreadsheet, the only option is open with "System Handler" or save the file. Selecting system handler does nothing. If I look at the options under "Open With" it says "no applications found, yet it clearly recognizes the type of file. If I try to search for the application assigned I get the following options:
See attached screenshot of display.
So, while it clearly recognizes the file type it never links to the proper application. The only option that works is to download the file and then when I select it, the proper application opens. This is not the behavior of the previous version which had the ability to include real helper apps that would allow you to open the file directly. Is this no longer an option????
Description
•