Closed Bug 1756083 Opened 3 years ago Closed 3 years ago

Zoom link won't open with Firefox snap

Categories

(Core :: Widget: Gtk, defect, P1)

Firefox 98
x86_64
Linux
defect

Tracking

()

RESOLVED FIXED
99 Branch
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)

Attached file about:support

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).

Would be nice to use mozregression to track this down, but it doesn't support snaps :(

Blocks: snap
Keywords: regression

Oops, forgot to mention (though it's in about:support), this is with 98.0b6

See Also: → 1740963

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.

Pascal, should this be tracked for the 98 release? It's a pretty significant regression on Ubuntu.

Flags: needinfo?(pascalc)

(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

Severity: -- → S2
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(pascalc)
Flags: needinfo?(olivier)
Flags: needinfo?(mozilla)
Priority: -- → P1
QA Whiteboard: [qa-regression-triage]

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.

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.

Has Regression Range: --- → yes
Regressed by: 1516290

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

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

Flags: needinfo?(robert.mader)

(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).

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

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?

(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.

Flags: needinfo?(robert.mader) → needinfo?(emilio)

I can confirm that the regression is gone in the latest snap beta build (98.0b8-1, revision 1022). Thanks Pascal!

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.

Flags: needinfo?(emilio)
Assignee: nobody → emilio
Status: NEW → ASSIGNED

We never compile nsGNOMEShellService without MOZ_WIDGET_GTK.

Depends on D139474

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/800e87c42d1d Cleanup snap name handling and enable portal when running under either flatpak or snap. r=stransky https://hg.mozilla.org/integration/autoland/rev/8159d4ecc9f8 Remove useless ifdef. r=stransky
Flags: needinfo?(mozilla)
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/150a7e471401 Don't run snap tests in non-gtk platforms.
Regressions: 1757209

Emilio, thanks for your work on this. I filed bug #1757209 for a regression I just noticed, which happens when $SNAP_INSTANCE_NAMEMOZ_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.

Flags: needinfo?(emilio)

Thanks, will fix.

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

Attachment

General

Created:
Updated:
Size: