-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Signal Desktop does not open links in the default browser #6551
Comments
Question: Do you have any other Electron-based apps installed on your device, or could you install one of them? That way we can see if this is an Electron based issue or not |
Hi, I am running Signal Desktop on Linux Mint as well (from snap) The links open in Firefox. VSCode which uses electron as well I believe opened links in Firefox as well. But here is an important information: The issue might be with xfce because I changed my desktop environment to KDE a week ago and these changed:
The KDE settings that worked (as a workaround until it works):
|
@TheKingOfLight Is this also your situation? Does this workaround fix things for you? |
Ubuntu 22.04, default browser set to firefox-esr in the GNOME settings as well as via update-alternatives. Signal still opens Chrome. |
What does |
Here at least it opens Firefox ESR, as intended. |
Does anything change if you restart desktop? It's possible that it's caching? |
I have the same problem. Ubuntu 23.04, KDE. Signal is opening Chrome and my default browser is Vivaldi. Chrome was my default browser two months ago. |
Electron is just using @paullak12 can you try |
Obsolete, except for the solution itself, see below. I found what was behind the problem in my case, obviously we may be dealing with multiple issues here. Anyway, as I said, Problem is, GNOME just shows an icon and a "friendly" name. Long story short, changing the default browser to Chrome in the GNOME settings and then changing it back did the trick. Now xdg-settings says "firefox-esr.desktop", too. IOW the configured default browser was missing, and so one of the existing candidates got selected. Why Signal would consistently pick Chrome while everything else fell back to Firefox ESR I couldn't say. But then Signal is my only Electron app, so it may just be a case of Electron preferring Chrome. |
It seems that the problem in my case was the system settings. I theoretically had the vivaldi browser set as the default, but the settings kept setting chrome for some reason. In this situation, every Elektron application was using chrome by default. I finally managed to set vivaldi permanently and all electrons started using vivaldi. It looks more like a system problem than a signal app problem. Thanks! |
It just bit me on another box, one that definitely had default-web-browser set correctly. Still required me to change the GNOME control center default to another browser and back before it would stick. So my hypothesis as to the cause of this seems to be incorrect, though the solution is still good. Does Signal/Electron somehow cache the XDG settings at install time, then only update them when they're explicitly changed? |
Not that I'm aware of. Closing this issue for now as it seems to be a systems settings issue. |
Same thing happens in with Ubuntu (Linux). My default browser is Brave, but everytime I click on a URL in Signal Desktop, it opens in Firefox. Hard to believe this was reported over a year ago and it's not fixed. I'll donate if you fix it. |
@gantryyork When was the last time you changed your default browser? Does Desktop pick up the right browser if you close it and open it back up? Or if you reboot? |
This is still an issue for me. Clicking a link in Signal opened Calibre; after uninstalling Calibre, Signal tried to open LibreOffice. xdg-open with a URL starts Firefox, as expected. I don't think you can punt this as a "systems setting issue" if it doesn't work by default for many (most?) Linux users. |
Had the same issue after reinstalling a fresh Ubuntu Linux (links in Signal Desktop opened in Chromium instead of Firefox, which is my default browser in the settings). As recommended by @fallenguru I ran Now links open in Firefox (which is what I want) |
Still not working. I installed chromium and then used update-alternatives to change x-www-browser and gnome-www-browser from firefox to chromium and then back again. Also confirmed in gnome-settings that my default browser is firefox. When chromium is installed, signal-desktop tries to open links in it, even when I've chosen firefox as my default. When chromium is uninstalled, signal-desktop tries to open links in LibreOffice, even though firefox is installed and correctly configured as the default browser. @trevor-signal -- this is definitely not a settings issue, but a bug in the software. Please reopen the issue until it's resolved. Thanks! (Ubuntu 24.04, signal-desktop 7.25.0) |
I did manage to make it work in the end with
That's an awful technical deep dive for most users, so I'll maintain that this needs to be fixed in Signal so that the out-of-the-box behaviour is the correct one. Still |
That won't work, though. You need to change the XDG default browser to something else and back again. Whether you do it using GNOME Settings or |
It will seem bizarre to a new user without Chrome or Chromium installed, signal-desktop tries to open LibreOffice instead of Firefox as the web browser in a default Ubuntu installation. How hard is that to fix to improve the Signal U/X? |
Possibly quite hard, if the underlying issue is in Electron and/or Ubuntu, which is likely. FWIW, I do agree that this bug should be reopened, because it manifests in Signal. |
I am having a similar problem. xdg-open (and all other non-Electron apps I've tried) are able to open links in an existing Firefox session. When I try to open the same links in Signal (or the one other Electron app I have installed), there is a few seconds delay and then a popup appears saying "can't open firefox. already running". This has been the behaviour since I set Firefox as my default browser. Chromium worked fine. xdg-settings shows default-web-browser and default-url-scheme-handler for both http and https as "firefox-bin.desktop", which is what I believe it should be on my system and which seems to work for all other applications. In case this helps: https://support.mozilla.org/en-US/kb/firefox-already-running-not-responding |
I don't know what's going here, but if somebody stumbles upon it I followed the paper trail from this reddit thread into this github issue and fixed it by executing the following (ubuntu 24.04):
This worked, even though |
So this might be an upstream Electron bug rather than a Signal Desktop bug, but in either case, it's not a problem with user configuration, so from a user's PoV, it's still a Signal bug. The user can have configured their system 100% correctly, and this bug will still occur unless they do workaround hacks. Please reopen until it's genuinely resolved. If it's blocked waiting for an upstream Electron bugfix, then one can set the issue's status to show that. |
Bug Description
When I click on a link in the Signal desktop app, the website opens in Microsoft Edge instead of the default Firefox browser. All other apps always open links in Firefox.
Steps to Reproduce
Actual Result:
Expected Result:
Opens Firefox (default browser) with the link (Like all other applications)
Platform Info
Signal Version: 6.26.0 (apt-repository)
Operating System: Linux Mint 21.2, Kernel 6.2.0
Link to Debug Log
https://debuglogs.org/desktop/6.26.0/0cc37b33904ccdd53b9e9c8a4a53d4e0ef1b90dd230508b60418000e8794971b.gz
The text was updated successfully, but these errors were encountered: