Firefox Snap won't open links to WhatsApp API

Bug #1956005 reported by Santiago Fernández Núñez
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mozilla Firefox
New
Unknown
firefox (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

The .deb version of Firefox handles links to WhatsApp API (https://api.whatsapp.com/send/?phone=....) without any problem: these links open the WhatsApp web client.

Snap version of Firefox doesn't know how to handle these links. It opens the pop up "Choose an application to open whatsapp lnks" that only shows the option System Handler (which fails opening them if selected).

Choosing Firefox is not possible as /bin and similar folders are out of range for the snap.

Tags: snap
Revision history for this message
Santiago Fernández Núñez (santiagofn) wrote :
summary: - Snap won't open Whatsapp API links
+ Firefox Snap won't open links to WhatsApp API
description: updated
Revision history for this message
Santiago Fernández Núñez (santiagofn) wrote :

Seems like the "Open in Firefox" option is missing for these links (see next attachment):

Revision history for this message
Santiago Fernández Núñez (santiagofn) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in firefox (Ubuntu):
status: New → Confirmed
Revision history for this message
LDZ (linuxopenconnection) wrote :

I am having this issue for zoom and slack or anything else that needs an external app. I have been having this issue for at least 3 months.. Also, I noticed that my firefox snap is not classic version so I am not sure if that makes a difference.

Revision history for this message
LDZ (linuxopenconnection) wrote :

I looked at firefox snap and didn't see a --classic confinement option to install.. But, I am also new to snap so I might just be ignorant of how to apply this setting

Revision history for this message
Olivier Tilloy (osomon) wrote :

I can confirm links to https://api.whatsapp.com/ do not open correctly in the firefox snap, and they do in the deb. However replacing "api" by "web" seems to be enough to work around the problem.

tags: added: snap
Changed in firefox (Ubuntu):
importance: Undecided → Low
Revision history for this message
Olivier Tilloy (osomon) wrote :

LDZ: the firefox snap is not classic, it is strictly confined, you won't be able to install it with the "classic" mode.

Revision history for this message
In , Olivier Tilloy (osomon) wrote :

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

Steps to reproduce:

(initially reported on Launchpad: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1956005)

When using the Firefox snap, clicking a hyperlink to api.whatsapp.com shows a dialog that offers to use the "System Handler" to open the link, whereas when using e.g. the deb package on Ubuntu, Firefox doesn't try to delegate opening the link to an external handler.

Example link: https://api.whatsapp.com/send/?phone=+1234567890&text=foobar&app_absent=0

Changed in firefox:
status: Unknown → New
Revision history for this message
In , Release-mgmt-account-bot (release-mgmt-account-bot) wrote :

The [Bugbug](https://github.com/mozilla/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.

Revision history for this message
HD (hernan-david-hd) wrote :

This URL https://api.whatsapp.com/send/?text=https%3A%2F%2Fyoutu.be%2F8WgmjTwqtKY&type=custom_url&app_absent=0

in Firefox opens this box (attached)

Then a gnome error message
"No Apps available - No apps installed can open (This URL), You can fine more applications in software"

Button (Find more in Software)

Firefox can`t find "gnome-software"
((( because the real name is ubuntu-software, and by the way there is not whatsapp app there"

Revision history for this message
Hildo Guillardi Júnior (hildogjr) wrote :

Still on Firefox 109.0 (64 bits) snap for Canonical-002 1.0.

Revision history for this message
Santiago Fernández Núñez (santiagofn) wrote :

Still present on Firefox 115.0.2

Has someone found a workaround?

Revision history for this message
lorenzo (murar8) wrote :
Revision history for this message
In , Santiago Fernández Núñez (santiagofn) wrote :

Still present in Firefox 120.0

Revision history for this message
In , Gakigoqehu1984 (gakigoqehu1984) wrote :

Created attachment 9383168
same problem

Thanks from herfuncnoodpha1976.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.