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

DeepLinks do not work when Element is not started yet (they just start element, but don't handle the link) #2135

Open
Simon-Laux opened this issue Feb 12, 2025 · 1 comment
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect

Comments

@Simon-Laux
Copy link

Steps to reproduce

Element is closed - not active.
I visit a matrix link in a browser and select continue in element, which starts the app, but does not handle the link.

The deep link only works when element is active

Outcome

What did you expect?

deep link works regardless wether element is already open in the background or not.

What happened instead?

deep link only works when element is already active.

Operating system

macOS

Application version

Element version: 1.11.91 Crypto version: Rust SDK 0.8.0 (21f7cc7), Vodozemac 0.8.1

How did you install the app?

No response

Homeserver

No response

Will you send logs?

No

@dosubot dosubot bot added O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist labels Feb 12, 2025
@Simon-Laux
Copy link
Author

Could be either some race in the way element handles deep links, or it was not considered in development.
In delta chat desktop we have solved it, so it is possible with electron. so you could look there for inspiration if necessary (https://github.com/deltachat/deltachat-desktop/blob/main/packages/target-electron/src/open_url.ts).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect
Projects
None yet
Development

No branches or pull requests

1 participant