element-hq / element-hq/element-web

"Warn before quitting" should not be required by default

Open
#32,287 12 comments 2 reactions 0 assignees View on GitHub
A-App Settings A-Electron T-Defect T-Enhancement
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

On MacOS, when running CMD+Q, I would expect Element to close but I need to first confirm that I want to close the app. I believe the preference "Warn before quitting" should be off by default just like any other app where you don't lose anything when you close the app.

In order to prevent people from losing state, Element needs to implement `beforeunload` (or an equivalent) for non-recoverable state.

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.