cinnyapp / cinny-desktop

Yet another matrix client for desktop
GNU Affero General Public License v3.0
415 stars 49 forks source link

clicking internally handled link additionally open browser #342

Closed camelCaseNick closed 2 months ago

camelCaseNick commented 2 months ago

Describe the bug

Clicking on a link that navigates Cinny, e.g. by referencing a message or room, properly navigates inside Cinny. However, additionally, the link is propagated to the default link handler and the user's default browser opens.

Reproduction

No response

Expected behavior

No response

Platform and versions

Cinny 4.1.0 in Flathub's Flatpak on Debian testing

Additional context

Cinny has evt.preventDefault();, and the issue does not happen in the browsers I tested, including Epiphany, which is GNOME's WebKitGTK using browser. So this is Cinny desktop–specific, and possible needs changes in Tauri or wry.