matrix-org / matrix-org/matrix.to

"Continue in your browser" persists a preference for Element Web

Open
#368 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.4k
Forks
318
PR merge metrics
No merged PRs in 30d

Description

If you have Element Desktop installed, and choose Element as your preferred client, then matrix.to links open in a page like this:

![image](https://github.com/user-attachments/assets/63326801-b379-4116-a446-24e0fcfc758f)

If you then click "Continue", then the link opens in Element Desktop. Great success! Meanwhile the matrix.to tab updates to:

![image](https://github.com/user-attachments/assets/dbeef98d-e341-4d28-8922-68dc8e323d02)

This is maybe a bit confusing, but ok. Normally I just ignore it.

The question is: what happens if you click "Continue in your browser". My *expectation* is that it opens that one link in https://app.element.io, and that future matrix.to links will go back to opening in Element Desktop.

*However*, what actually happens is that the next time you open a matrix.to link, it will default to Element Web. Worse, it's unclear how to repair the damage. (Turns out, you can click "Change", then "Element" again, and that fixes it.)

## TL;DR

STR:

* Click "Continue in your browser"
* Open another matrix.to link
* Be surprised that it now defaults to opening in Element Web.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the documented STR with an Element Desktop preference: click “Continue in your browser,” then open another matrix.to link. Trace the handling of the “Continue in your browser” and “Change” choices, and verify that using the browser option affects only the current link while later links still default to Element Desktop.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.