Closed Bug 1766196 Opened 3 years ago Closed 2 years ago

Firefox Snap Ubuntu 22.04 : "Save as" not working

Categories

(Core :: Widget: Gtk, defect)

Firefox 99
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: eray, Unassigned)

References

(Blocks 1 open bug)

Details

Steps to reproduce:

I don't know if it's a bug or a parameter :
When I click right button of my mouse and I click on "Save as" functionnality it's not working.

Actual results:

When I click on "Save as" nothing happened.

Expected results:

Normally a box should be open for save the page.

Someone reported in https://askubuntu.com/questions/1404941/no-file-save-dialog-for-snap-applications that installing these two packages helped:

xdg-desktop-portal xdg-desktop-portal-gtk

Thank's for your response.

I have found a best clean method : I removed the snap Firefox package and I use the official Mozilla deb package, it's work very fine and it's most ligth.

I don't undestand why Firefox it's installed by default with the snap package. I think it's not a good idea.

Eray

Blocks: snap

On first attempt, I didn't manage to reproduce your issue using latest versions Nightly 102.0a1 and Firefox 100.0 on Ubuntu 22.04.
eray, could you please add a more useful description to this report, by providing more specific steps to reproduce, as a list, step by step?

Flags: needinfo?(eray)
Component: Untriaged → Widget: Gtk
Product: Firefox → Core

I'm closing as invalid because we have no feedback fromt the reporter who mentionned moving away from Snap, and there's no repro on our side as well. There have been a lot of things fixed around that area, it's likely not a problem anymore.

If anyone still repro, please reopen with more context.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Flags: needinfo?(eray)
Resolution: --- → INVALID

I have just upgraded a remote desktop from xubuntu 20.04 to 22.04.1.
I have exactly the problem as described in this report.
I have Ubuntu on a laptop and desktop and the firefox snap is great. But here I have this problem.
it the snap 104.0.2 Sept 6

when I launch firefox in a terminal and attempt to save an image, this appears in the terminal:

(firefox:14400): Gtk-WARNING **: 21:47:15.584: Could not find the icon 'user-home-ltr'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://icon-theme.freedesktop.org/releases

... and then this:

(firefox:14400): Gtk-WARNING **: 21:48:34.388: Can't open portal file chooser: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.freedesktop.portal.Desktop': timed out (service_start_timeout=120000ms)
^[[1;2D

firefox is also extremely slow to start. About 20 seconds. Other desktop activities are normal, even launching something as heavy as intellij is normal

(In reply to Tim Richardson from comment #7)

... and then this:

(firefox:14400): Gtk-WARNING **: 21:48:34.388: Can't open portal file chooser: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.freedesktop.portal.Desktop': timed out (service_start_timeout=120000ms)
^[[1;2D

Have you verified like in comment #5 that you may be missing packages ? This specific error makes me confident you just lack those packages, and this would be a migration issue rather than a bug on our side.

Flags: needinfo?(tim)

I already checked. There are no missing packages. I changed the desktop to Ubuntu from Xubuntu, it made no difference. THis is a nomachine workstation virtual desktop session. It does not set up the session properly. snaps don't work by default. I am using the workaround for that and firefox launches.

Flags: needinfo?(tim)
You need to log in before you can comment on or make changes to this bug.