question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Warn before quitting" should not be required by default

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
aaronraimistcommented, May 16, 2021

Would be nice if the warn before quit dialog had a “close and don’t warn me again” button so you don’t have to look around to find the specific preference.

1reaction
t3chguycommented, May 15, 2021

should be off by default just like any other app where you don’t lose anything when you close the app.

Its not off by default in Chrome on MacOS

Read more comments on GitHub >

github_iconTop Results From Across the Web

Warn before quitting · Issue #6082 · atom/atom - GitHub
However, default behaviour should change in order to prevent new users from being bitten by the quit. Google Chrome behaviuor would be the...
Read more >
Quit Confirmation for Safari on MacOS - Daring Fireball
You don't get warned before quitting when it's enabled — you're instead required to press-and-hold the ⌘Q shortcut. But a confirmation warning ...
Read more >
Warn before quitting in Safari - Ask Different
Go to system preferences -> Keyboard -> Shortcuts -> App Shortcuts -> Add new one ('+' sign) -> Choose Safari from the Application...
Read more >
Enable warning before quitting Chrome - YouTube
In Google Chrome you can quit Chrome by using Control Q. However, I too often ACCIDENTALLY Control Q when I am trying to...
Read more >
Make Google Chrome Ask Before Quitting (Exit Confirmation)
Today, we will see how to make Google Chrome ask before quitting. The default behavior of this browser may be a bit annoying...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found