Zoom link won't open with Firefox snap
Categories
(Core :: Widget: Gtk, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox97 | --- | unaffected |
firefox98 | + | verified |
firefox99 | --- | fixed |
People
(Reporter: wlach, Assigned: emilio)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(3 files)
Try to open a Zoom link with the latest Firefox snap (e.g. https://us02web.zoom.us/j/<id>
)
Expected: Firefox prompts to open a URL handler, can launch Zoom
Actual: Firefox doesn't prompt to open anything, can't launch Zoom
This was working fine for me a couple of days ago so it must have regressed recently (It could also be due to an environment change, though I'm on Ubuntu 21.10 and haven't done anything other than normal updates).
Reporter | ||
Comment 1•3 years ago
|
||
Would be nice to use mozregression to track this down, but it doesn't support snaps :(
Reporter | ||
Comment 2•3 years ago
|
||
Oops, forgot to mention (though it's in about:support), this is with 98.0b6
Reporter | ||
Comment 3•3 years ago
|
||
Confirmed by installing snaps that this doesn't happen with release but does happen since 98.0b1. So presumably this bug got introduced at some point in the Nightly cycle.
Reporter | ||
Comment 4•3 years ago
|
||
Pascal, should this be tracked for the 98 release? It's a pretty significant regression on Ubuntu.
Comment 5•3 years ago
|
||
(In reply to William Lachance (:wlach) from comment #4)
Pascal, should this be tracked for the 98 release? It's a pretty significant regression on Ubuntu.
Definitely, thanks for the ping!
Olivier, Mike, could you have a look please? Thanks
Updated•3 years ago
|
Comment 6•3 years ago
|
||
Hello!
Confirming as well that the issue does not reproduce with Firefox snap 97.0.1. Reproduced the issue with Firefox snap 98.0b1 and it's reproducible with Firefox snap 98.0b7 on Ubuntu 21. Same behavior on Ubuntu 18 and 20 with Firefox snap 98.0b7.
I cannot reproduce the issue with normal Firefox 98.0b7. The Firefox prompt to open the URL handler is displayed accordingly while Zoom is installed.
Unfortunately, I am not aware of a way to bisect snap builds on Nightly, if there is one please let me know.
Comment 7•3 years ago
|
||
I can confirm the regression. There is indeed no convenient way of bisecting snap builds, I'll do it manually to try and nail down when the regression happened.
Comment 8•3 years ago
|
||
Last known good revision of the snap: 901 (https://github.com/oSoMoN/firefox-snap-experiments/actions/runs/1737662092), built from https://hg.mozilla.org/mozilla-central/rev/5c51b325c09f22a0d9384cfc5198f27ec9bdbfc8.
First bad revision of the snap: 905 (https://github.com/oSoMoN/firefox-snap-experiments/actions/runs/1740004895), built from https://hg.mozilla.org/mozilla-central/rev/e40a136dc8760f3fdd8a29fad47581d16d646c80.
Likely culprit: https://hg.mozilla.org/mozilla-central/rev/1985d591b13389a5b8983393359bcc0b70084ed3
Updated•3 years ago
|
Comment 9•3 years ago
|
||
Set release status flags based on info from the regressing bug 1516290
Comment 10•3 years ago
|
||
Robert, your fix in bug 1516290 seems to have caused this regression. The regression is more serious than the bug it fixed so my thinking is that given that we are in our last week of beta and that the other issue was a longstanding issue, backing out bug 1516290 from beta seems reasonable. What do you think? Are there side effects we should expect from a backout? Thanks
Comment 11•3 years ago
|
||
(In reply to Pascal Chevrel:pascalc from comment #10)
Robert, your fix in bug 1516290 seems to have caused this regression. The regression is more serious than the bug it fixed so my thinking is that given that we are in our last week of beta and that the other issue was a longstanding issue, backing out bug 1516290 from beta seems reasonable. What do you think? Are there side effects we should expect from a backout? Thanks
That seems fine to me.
Should be relatively easy to fix for nightly though (leaving ni open for that).
Comment 12•3 years ago
|
||
backout bugherder uplift |
Backed out changeset 1985d591b133 (Bug 1516290) for causing a functional regression in snap builds (Bug 1756083) a=backout
https://hg.mozilla.org/releases/mozilla-beta/rev/9e37658e45e4
Comment 13•3 years ago
|
||
Robert, from a quick glance it looks like it would be worth making this IsRunningUnderFlatpak()
function more generic, to reflect whether the application is running under confinement (flatpak, snap, or possibly others). What do you think?
Comment 14•3 years ago
|
||
(In reply to Olivier Tilloy from comment #13)
Robert, from a quick glance it looks like it would be worth making this
IsRunningUnderFlatpak()
function more generic, to reflect whether the application is running under confinement (flatpak, snap, or possibly others). What do you think?
Yes, that sounds sensible to me. Unfortunately I have very limited time for that myself in the moment. Emilio, the actual author of that function, might have, however.
Comment 15•3 years ago
|
||
I can confirm that the regression is gone in the latest snap beta build (98.0b8-1, revision 1022). Thanks Pascal!
Comment 16•3 years ago
|
||
We have also verified the issue with Firefox snap 98.0b8 on Ubuntu 16, 18, 20, and 21. The Firefox prompt to open the URL handler is displayed accordingly when visiting a Zoom meeting link.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 17•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 18•3 years ago
|
||
We never compile nsGNOMEShellService without MOZ_WIDGET_GTK.
Depends on D139474
Comment 19•3 years ago
|
||
Comment 20•3 years ago
|
||
Updated•3 years ago
|
Comment 21•3 years ago
|
||
Comment 22•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/800e87c42d1d
https://hg.mozilla.org/mozilla-central/rev/8159d4ecc9f8
https://hg.mozilla.org/mozilla-central/rev/90fd28271d6c
https://hg.mozilla.org/mozilla-central/rev/150a7e471401
Comment 23•3 years ago
|
||
Emilio, thanks for your work on this. I filed bug #1757209 for a regression I just noticed, which happens when $SNAP_INSTANCE_NAME
≠ MOZ_APP_NAME
(e.g. $SNAP_INSTANCE_NAME = firefox_nightly
whereas MOZ_APP_NAME = firefox
).
The implementation of GetSnapInstanceName()
needs to be reverted to get the value of $SNAP_INSTANCE_NAME
.
Description
•