Launchpad has imported 1 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=1674150.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2020-10-29T15:27:06+00:00 Olivier Tilloy wrote:

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/86.0.4240.111 Safari/537.36

Steps to reproduce:

It's been reported several times on https://forum.snapcraft.io/ that when 
invoked from an application packaged as a classic snap¹ to open a hyperlink, 
firefox installed as a deb package (on Debian/Ubuntu) opens with the wrong 
profile by default.
This issue was investigated in https://launchpad.net/bugs/1835024, and we found 
out that the culprit is nsToolkitProfileService::IsSnapEnvironment()².

To reproduce the issue, ensure that a firefox window is open, then from
a terminal run `SNAP_NAME=foobar firefox http://example.org`.


¹ https://snapcraft.io/docs/snap-confinement
² 
https://hg.mozilla.org/mozilla-central/file/tip/toolkit/profile/nsToolkitProfileService.cpp#l1838


Actual results:

This opens the requested URL (http://example.org) in a separate firefox
window, with a different profile than that of the already open firefox
window.


Expected results:

This should have opened the requested URL in a new tab in the same
window that was already open.

Reply at: https://bugs.launchpad.net/snapd/+bug/1835024/comments/21


** Changed in: firefox
       Status: Unknown => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1835024

Title:
  firefox fails to use the default profile from classic snaps

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1835024/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to