Skip to content
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

Links do not open in default browser #2030

Open
NobodysNightmare opened this issue Dec 10, 2024 · 6 comments
Open

Links do not open in default browser #2030

NobodysNightmare opened this issue Dec 10, 2024 · 6 comments
Labels
A-Electron O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect Z-Upstream

Comments

@NobodysNightmare
Copy link

Steps to reproduce

  1. Set default browser of OS (for me Ubuntu) to Firefox
  2. Install Chromium as second browser (non default)
  3. Open Element and click on a link

Outcome

What did you expect?

Link is opened in Firefox, my default browser

What happened instead?

Link is opened in Chromium (which complains about not being the default browser)

Operating system

Ubuntu 24 LTS

Application version

Element version: 1.11.87 Crypto version: Rust SDK 0.7.2 (517d99b), Vodozemac 0.7.0

How did you install the app?

apt (https://packages.element.io/debian/)

Homeserver

No response

Will you send logs?

No

@dosubot dosubot bot added O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Impairs non-critical functionality or suitable workarounds exist labels Dec 10, 2024
@t3chguy t3chguy transferred this issue from element-hq/element-web Dec 10, 2024
@dosubot dosubot bot added the A-Electron label Dec 10, 2024
@t3chguy
Copy link
Member

t3chguy commented Dec 10, 2024

What happens if you type xdg-open https://element.io in your Console/Terminal? I believe that's what Electron uses under the hood to open links with your default handler

@NobodysNightmare
Copy link
Author

That's opening the element website in Firefox, i.e. the correct browser. But you might be correct that this may be an upstream issue in Electron. I just realized that Ctrl-clicking a link in VS Code also opens that link in Chromium instead of Firefox.

@NobodysNightmare
Copy link
Author

So I guess this is the correct bug report then: electron/electron#42611

@NobodysNightmare
Copy link
Author

though it was marked as stale/closed because the reporter lacked developer knowledge.

I am absolutely not an electron developer, I am merely an electron-app user. Would it be possible to ask you to make a report to that place? The whole linked issue looks pretty Kafkaesque to be honest. The user explains that they are merely observing this in apps and the maintainers of Electron refuse to take the issue, because the user is not able to provide code for reproduction.

@t3chguy
Copy link
Member

t3chguy commented Dec 10, 2024

Would it be possible to ask you to make a report to that place?

I'd have to reproduce it first, I don't have a working Linux graphical environment and am currently on holiday so I wouldn't suggest blocking on me.

@NobodysNightmare
Copy link
Author

By all means, enjoy your vacation first and foremost. 😺

The important point for me is, that I can really only provide insights here from a users perspective, not from a developers perspective, which is why I feel unable to make a report at Electron myself.

I honestly think that electron/electron#42611 is a great entrypoint, because the OP there did already notice that the problem is "new" (i.e. it didn't affect a previous Ubuntu version). I can definitely also help with "remote hands" (e.g. typing xdg-open; giving more info on my environment; ...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Electron O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect Z-Upstream
Projects
None yet
Development

No branches or pull requests

2 participants