Files and directories won't open directly from Firefox Snap
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: jonas.gamao, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1.28 MB,
video/mp4
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0
Steps to reproduce:
- Save a file from the web
- Click the file or click "Open Containing Folder"
Actual results:
Nothing pops up
Expected results:
File/directory should open using their respecting applications, such as Gwenview and Dolphin in my case.
Reporter | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
:stransky, are you the right person to ask about these types of issues? Seems specific to Snap...
Comment 2•4 years ago
|
||
(In reply to :Gijs (he/him) from comment #1)
:stransky, are you the right person to ask about these types of issues? Seems specific to Snap...
No, I don't use Ubuntu/Snap. I guess it's a kind of snap sandboxing issue here, better to ask someone from Ubuntu/Canonical. Better to move such Ubuntu specific but to Ubuntu BZ - https://bugs.launchpad.net/ubuntu/
Comment 3•4 years ago
|
||
:jlorenzo, I'm told you might know about our Snap efforts and who to ping about this issue?
Comment 4•4 years ago
|
||
Thanks for filing this bug, jonty.68, and looping me in, :Gijs!
This bug looks very similar to bug 1652941. jonty.68, could you run snap run firefox
and tell me if you any error message when you click the "Open Containing Folder" button?
Reporter | ||
Comment 5•4 years ago
|
||
(In reply to Johan Lorenzo [:jlorenzo] from comment #4)
Thanks for filing this bug, jonty.68, and looping me in, :Gijs!
This bug looks very similar to bug 1652941. jonty.68, could you run
snap run firefox
and tell me if you any error message when you click the "Open Containing Folder" button?
In every instance I clicked "Open containing folder", it kept trying to open VS Code, and when I click an image, it kept trying to open Brave
$ snap run firefox
Gtk-Message: 04:35:47.790: Failed to load module "colorreload-gtk-module"
Gtk-Message: 04:35:47.790: Failed to load module "appmenu-gtk-module"
Sandbox: /tmp/.X11-unix/X0 is inaccessible (No such file or directory); can't isolate network namespace in content processes
env: ‘/snap/bin/code’: Permission denied
env: ‘/snap/bin/code’: Permission denied
env: ‘/snap/bin/code’: Permission denied
env: ‘/snap/bin/brave’: Permission denied
env: ‘/snap/bin/brave’: Permission denied
Comment 6•4 years ago
|
||
That's odd! I tried to reproduce this issue. On my fresh Ubuntu 18.04, nautilus opens up when I click "Open containing folder". In my case, I downloaded a tar.bz2 file[1] and I was asked what application I wanted to use. I chose the archive manager and it worked fine.
I'm surprised it tried to open VS Code or Brave. That's not the default behavior. What happens when you open the same image from nautilus?
[1] It was actually Firefox from our official website.
Comment 7•4 years ago
|
||
I have the same issue and I noticed that if I open a file/tar it works fine the problem seems to be related to opening with other applications. For example, if I click a torrent file to open with qBittorrent will only try to load and the stop, this also happens with other applications and also snap:// doesn't open ubuntu store, it does nothing.
Comment 8•4 years ago
|
||
I'm sorry, I don't manage to repro on a fresh ubuntu. Here's how I got the latest Firefox to open a snap://
link: https://drive.google.com/file/d/1PU6hWBFYBgp_WQe3yNVVl-jZz7HkFvZx/view
Can you both show me what happens on your side?
Reporter | ||
Comment 9•4 years ago
|
||
Sorry for delayed reply.
(In reply to Johan Lorenzo [:jlorenzo] from comment #6)
That's odd! I tried to reproduce this issue. On my fresh Ubuntu 18.04, nautilus opens up when I click "Open containing folder". In my case, I downloaded a tar.bz2 file[1] and I was asked what application I wanted to use. I chose the archive manager and it worked fine.
I'm surprised it tried to open VS Code or Brave. That's not the default behavior. What happens when you open the same image from nautilus?
[1] It was actually Firefox from our official website.
I'm using Plasma so I use Dolphin. For images, Firefox installed from Apt, the "Open Containing Folder" opens Dolphin, and the image itself opens Gwenview. Snap version doesn't do anything.
I tried downloading a ZIP file. I tried to open up the file directly and saving the file. The former worked perfectly, while the latter failed miserably.
Comment 10•4 years ago
|
||
I wonder if you need [1], similarly to bug 1652941 comment 7. That said, xdg-desktop-portal-kde
seems to be in active development[2]. Ken, is KDE + Snap supported on Ubuntu?
[1] https://packages.ubuntu.com/focal/xdg-desktop-portal-kde
[2] https://github.com/flatpak/xdg-desktop-portal#using-portals
Comment 11•4 years ago
|
||
For me it seems the problem is solved on latest firefox snap
Comment 12•4 years ago
|
||
(In reply to Johan Lorenzo [:jlorenzo] from comment #10)
I wonder if you need [1], similarly to bug 1652941 comment 7. That said,
xdg-desktop-portal-kde
seems to be in active development[2]. Ken, is KDE + Snap supported on Ubuntu?[1] https://packages.ubuntu.com/focal/xdg-desktop-portal-kde
[2] https://github.com/flatpak/xdg-desktop-portal#using-portals
Yes xdg-desktop-portal-kde is supported. It should be installed by anyone with plasma-discover-backend-snap, which kubuntu and neon should have.
Anyone with this issue, please comment with the output of this:
snap version
Reporter | ||
Comment 13•3 years ago
|
||
Firefox version 90.0b6
$ snap version
snap 2.50.1
snapd 2.50.1
series 16
neon 20.04
kernel 5.11.0-7614-generic
Updated•2 years ago
|
Description
•