Closed Bug 1756742 Opened 3 years ago Closed 3 years ago

"Firefox is already running" always happens on Flathub Beta Firefox

Categories

(Core :: Widget: Gtk, defect)

Firefox 98
defect

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: yalterz, Assigned: jhorak)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0

Steps to reproduce:

I'm on F36 with some GNOME 42.beta packages running Wayland. I'm running Firefox 98.0b8 from Flathub with socket=wayland and MOZ_ENABLE_WAYLAND=1.

  1. Run Firefox.
  2. Click on a link in any other app, or even just try to flatpak run org.mozilla.firefox.

Actual results:

Firefox is already running, but is not responding. To use Firefox, you must first close the existing Firefox process, restart your device, or use a different profile.

Expected results:

Link opens in new tab.

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.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Found a fix: enabling --socket=session-bus (e.g. through Flatseal).

Jan, do we need --socket=session-bus on the flatpak build or so?

Flags: needinfo?(jhorak)

(In reply to Emilio Cobos Álvarez (:emilio) from comment #3)

Jan, do we need --socket=session-bus on the flatpak build or so?

Well, preferably not, the firefox beta creates the org.mozilla.firefox_beta.<profile_name> dbus service to receive remote requests. So we should rather adding additional --own-name=org.mozilla.firefox_beta.* to the https://searchfox.org/mozilla-central/source/taskcluster/docker/firefox-flatpak/runme.sh#163 if we want to cover also the beta channel.

Flags: needinfo?(jhorak)
Assignee: nobody → jhorak
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/2483d641c96f
Allow DBUS service org.mozilla.firefox_beta.* for the flatpak;r=emilio
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: