element-hq / element-hq/element-web

Element desktop app registers itself as default handler for mime type text/html

Open
#33,536 2 comments 1 reaction 0 assignees View on GitHub
A-Electron A-Packaging O-Occasional S-Major T-Defect Z-Platform-Specific Z-ProductPolish Z-Upstream
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. set mime type handler for text/html to web browser
2. start the Element desktop app

### Outcome

#### What did you expect?
The default mime handler for text/html is left untouched (and points to my web browser)

#### What happened instead?
The mimeapps.list file is altered at each startup of Element desktop app and a line
`text/html=element-desktop.desktop`
is written, overwriting the web browser as handler. Whenever I want to open an html file afterward, Element desktop app unsuccessfully tries to open it instead of the web browser. When I change the mime type handler back to what I want (the web browser), Element desktop overwrites it again on the next startup.

### Operating system

Ubuntu 24.04

### Application version

Version von Element: 1.12.18 Krypto-Version: Rust SDK 0.16.0 (65b585f), Vodozemac 0.9.0

### How did you install the app?

from Ubuntu repo as .deb via apt

### Homeserver

_No response_

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.