Firefox can't open files in flatpak programs on linux
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox132 | --- | fixed |
People
(Reporter: lucaswilm, Assigned: jhorak)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 1 obsolete file)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0
Steps to reproduce:
- Open a page with option to download image (eg: https://unsplash.com/photos/7xX02q5ktys);
- Click to download;
- In the Firefox's popup window, choose the "open with" option;
- Select GIMP (flatpak) (or any other flatpak app installed that can open images) and wait for the image to open;
Actual results:
Nothing happens.
Expected results:
The image should've been opened in GIMP.
Initially I thought this problem was because of (flatpak-ed) GIMP and I reported a bug: https://github.com/flathub/org.gimp.GIMP/issues/136. Later, I noticed that, despite GIMP's flatpak having access to the /tmp/ folder, the image still wouldn't open there. With the support I received, it was realized that the "open with" option works perfectly only for .deb programs. The problem seems to be with the way Firefox handles flatpak programs.
One detail is, on the second attempt to open the image in Firefox, the GIMP name, that I had selected before, simply becomes "flatpak".
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•8 months ago
|
Assignee | ||
Updated•7 months ago
|
Assignee | ||
Comment 3•7 months ago
|
||
This happens because we're using executable got from g_app_info_get_executable
(btw should be used for the debugging purposes: https://docs.gtk.org/gio/method.AppInfo.get_executable.html) to launch the application and not g_app_info_launch
or g_app_info_get_commandline
.
Assignee | ||
Comment 4•1 month ago
|
||
The GAppInfo supports starting up flatpak applications where the simple
command does not work.
Comment 6•25 days ago
|
||
bugherder |
Updated•18 days ago
|
Description
•