Closed Bug 1791442 Opened 2 years ago Closed 1 year ago

Wrong profile used when non-snap Firefox launched by a snap

Categories

(Toolkit :: Startup and Profile System, defect)

Firefox 104
defect

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox107 --- wontfix
firefox108 --- wontfix
firefox109 --- wontfix
firefox110 --- wontfix
firefox111 --- fixed

People

(Reporter: wm, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

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

Steps to reproduce:

  • Launch Firefox from a snap (in my case Yarn)

Actual results:

  • Firefox came up in wrong profile

Expected results:

  • Firefox should have come up with my normal default profile

(it seems this was already reported and fixed once, see bug 1674150)

The Bugbug bot thinks this bug should belong to the 'Toolkit::Startup and Profile System' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Startup and Profile System
Product: Firefox → Toolkit

The severity field is not set for this bug.
:mossop, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dtownsend)

Mike, this is the bug related to bug 1674150 comment 14. I don't know if another was ever filed though?

Severity: -- → S2
Flags: needinfo?(dtownsend) → needinfo?(mozilla)

It wasn't. I'll fix it in this bug.

Flags: needinfo?(mozilla)
Assignee: nobody → mozilla
Status: UNCONFIRMED → NEW
Ever confirmed: true
Regressed by: 1297520

Set release status flags based on info from the regressing bug 1297520

Flags: needinfo?(mozilla)

I'm discussing with Canonical to figure out the right thing here.

Flags: needinfo?(mozilla)

Set release status flags based on info from the regressing bug 1297520

Pushed by mozilla@kaply.com:
https://hg.mozilla.org/integration/autoland/rev/959bcc2a6588
Explicitly check for SNAP_NAME of firefox to detect Snap. r=emilio

Backed out for causing xpcshell tests failures in test_snap_empty.js.

Flags: needinfo?(mozilla)

Working on a fix.

Flags: needinfo?(mozilla)
Attachment #9308365 - Attachment description: Bug 1791442 - Explicitly check for SNAP_NAME of firefox to detect Snap. r?Mossop → Bug 1791442 - Explicitly check for SNAP_NAME of firefox to detect Snap. r?emilio

Make snap xpcshell tests run with the right environment variables
instead of tweaking them at runtime.

Attachment #9308365 - Attachment is obsolete: true
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/60cda7d831ca
Explicitly check for SNAP_NAME of MOZ_APP_NAME to detect Snap. r=mkaply,jmaher,xpcom-reviewers,nika

Backed out for causing bc failures on browser_ua_snap_ubuntu.js.

Push with failures

Failure log

Backout link

Flags: needinfo?(mozilla)
Flags: needinfo?(mozilla) → needinfo?(emilio)
Assignee: mozilla → emilio
Flags: needinfo?(emilio)
Attachment #9311718 - Attachment description: Bug 1791442 - Explicitly check for SNAP_NAME of MOZ_APP_NAME to detect Snap. r=mkaply!,#xpcom-reviewers!,jmaher! → WIP: Bug 1791442 - Explicitly check for SNAP_NAME of MOZ_APP_NAME to detect Snap.
Attachment #9311718 - Attachment description: WIP: Bug 1791442 - Explicitly check for SNAP_NAME of MOZ_APP_NAME to detect Snap. → Bug 1791442 - Explicitly check for SNAP_NAME of MOZ_APP_NAME to detect Snap.
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ada1aefdeb18
Explicitly check for SNAP_NAME of MOZ_APP_NAME to detect Snap. r=mkaply,jmaher,xpcom-reviewers,nika
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch

Emilio, this is marked as an S2, should we uplift to beta or can it ride the 111 train? Thanks

Flags: needinfo?(emilio)
Flags: needinfo?(emilio) → needinfo?(mozilla)

I think this can ride the trains.

Severity: S2 → S3
Flags: needinfo?(mozilla)
See Also: → 1812557
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: