News for hackers. Stuff that matters.
Re:Firefox 94 by SwiftyBug on Tuesday November 02, 2021 @10:02AM (#29081356)
> Firefox no longer warns you by default when you exit the browser or close a window using a menu, button, or three-key command.

Why would anyone want this? On macOS it is infuriantingly easy to press CMD + Q by accident. Why would you not want to confirm that you actually want to close ALL your tabs?

Re:Firefox 94 by apocalyptic0n3 on Tuesday November 02, 2021 @10:24AM (#29081704)
On the flip side, this has always been an infuriating default for me. If I hit CMD+Q, that means I want the program to quit. Not prompt me or make me hold it down or use a different command. CMD+Q = Quit on Mac. Overriding that behavior is annoying and one of the first things I disable on nearly every program I install.
Re:Firefox 94 by bogwog on Tuesday November 02, 2021 @10:40AM (#29081958)
Do you also use CMD+W to close tabs/modal windows? Because I do, and it's very easy to accidentally press Q instead of W.

Losing dozens of tabs because of that is so damn infuriating that it ruins my entire day when it happens.

Re:Firefox 94 by Taywee on Tuesday November 02, 2021 @10:49AM (#29082094)
When you do that, open your browser, and either hit the hamburger menu on the right and go to History or Alt and go to History, and then click "Restore Previous Session".

It's not perfect (sites lose unsaved state usually), but I know that pain and it's not so bad when you know you can just recall all the tabs.

Re:Firefox 94 by apocalyptic0n3 on Tuesday November 02, 2021 @11:22AM (#29082598)
Yes, I use CMD+W and CMD+# and CMD+A and CMD+~ and CMD+Tab all day long. I rarely (once every few months) miss and hit CMD+Q. I also have it set up so that my tabs restore on restart, which makes it a minor annoyance at best. I quit Firefox purposefully once or twice a day, so overriding the default Mac behavior is a much more significant pain for me.
Re:Firefox 94 by BMorearty on Tuesday November 02, 2021 @11:25AM (#29082645)
I recommend having “Startup: Restore previous session” checked in your settings.
Re:Firefox 94 by throwamon on Tuesday November 02, 2021 @10:58AM (#29082224)
Or worse, you just want to use literally any other shortcut (Ctrl+Tab/Ctrl+Shift+Tab/Ctrl+1/Ctrl+A).
Re:Firefox 94 by gnomewascool on Tuesday November 02, 2021 @10:05AM (#29081407)
CMD + Q is a two-key command, so presumably the warning will still be present.
Re:Firefox 94 by Anthony-G on Tuesday November 02, 2021 @08:28PM (#29089535)
Correct. According to https://support.mozilla.org/en-US/kb/how-configure-close-tab...

> The only instance in which a close modal is on by default is for two-key quit shortcuts on macOS and Linux. The risk of accidental closure is higher in this context since the quit shortcut (⌘+Q) is adjacent to the switch-application shortcut (⌘+Tab).

Also:

> you will still have full control over the quit/close modal behavior. All warnings can be managed within Firefox Settings.

I’m happy with this change. I regularly use Ctrl-Shift-W and Ctrl-Shift-Q – and never inadvertently – so I don’t need a confirmation prompt. I was – and still am – delighted when Firefox introduced the confirmation prompt for Ctrl-Q (which is too easy to hit instead of of Ctrl-W).

Re:Firefox 94 by sirodoht on Tuesday November 02, 2021 @10:43AM (#29081991)
I frequently press cmd+W to close the current tab. Unfortunately pressing one key to the left by mistake has happened too many times.
Re:Firefox 94 by dawnerd on Tuesday November 02, 2021 @11:40AM (#29082895)
The Chrome solution to require you to hold quit down or press again is the ideal solution. Prevents accidental closures while also allowing pretty fast quits.
Re:Firefox 94 by pohl on Tuesday November 02, 2021 @12:17PM (#29083393)
Typing in Dvorak really saves me here (the 'w' is down where the comma key is.)
Re:Firefox 94 by sorenjan on Tuesday November 02, 2021 @10:07AM (#29081435)
Why wouldn't you set the browser to save all tabs between sessions?
Re:Firefox 94 by BitwiseFool on Tuesday November 02, 2021 @10:26AM (#29081741)
I like having the warning, period. Misclicks and accidental keystrokes happen. It is so much nicer to have the warning dialog than to have to restore the closed window.

Restoring the window doesn't preserve the data on pages with infinite scroll and it is a crap-shoot on whether or not the progress of a video I was watching gets restored.

Re:Firefox 94 by rasapetter on Tuesday November 02, 2021 @10:49AM (#29082106)
Then simply enable the warnings after you upgrade to 94.
Re:Firefox 94 by BitwiseFool on Tuesday November 02, 2021 @10:51AM (#29082126)
This is going to sound glib, but based on Mozilla's track record I expect the setting for this to disappear within one or two releases.
Re:Firefox 94 by skykooler on Tuesday November 02, 2021 @10:38AM (#29081925)
For one thing, incognito windows aren't saved.
Re:Firefox 94 by jwatt on Tuesday November 02, 2021 @10:18AM (#29081622)
> On macOS it is infuriantingly easy to press CMD + Q by accident.

Particularly if you use a Dvorak keyboard layout where "Q" is mapped to the key directly above CMD. I think I fat finger that at least every week or so. :D

Re:Firefox 94 by garblegarble on Tuesday November 02, 2021 @10:12AM (#29081523)
It still asks for confirmation on Command+Q - and provides a way to disable that behaviour if you're not prone to that typo
Re:Firefox 94 by uzegonemad on Tuesday November 02, 2021 @12:22PM (#29083457)
I override this at a system level for some apps (e.g. Firefox, VS Code) by taking the following steps:

  1. Open System Prefs and go to Keyboard > Shortcuts
  2. Select "App Shortcuts", then press the + Button
  3. Choose "Firefox" (or other relevant app) from the dropdown
  4. Type *exactly* the name of the menu option that has the CMD + Q shortcut next to it, in this case "Quit Firefox"
  5. Focus on the Keyboard Shortuct input and choose whatever new key combination you want to be used for quitting the app. I usually use CTRL + CMD + SHIFT + Q
  6. Press the Add button
This video is older but also shows the general process: https://www.youtube.com/watch?v=YWbEBipLxKA
Re:Firefox 94 by ranger_danger on Tuesday November 02, 2021 @10:32AM (#29081846)
People complained about not having a warning message for years, and then they finally added it... and now they're taking it away again.
Re:Firefox 94 by Taywee on Tuesday November 02, 2021 @10:51AM (#29082121)
> however, if you prefer a bit of notice, you’ll still have full control over the quit/close modal behavior. All warnings can be managed within Firefox Settings. No worries!
Re:Firefox 94 by ellipsis_12 on Tuesday November 02, 2021 @10:44AM (#29082023)
For now at least it's possible to disable the CMD+Q shortcut entirely by setting the option "browser.quitShortcut.disabled" to true in about:config. This disables the keyboard shortcut and makes it so that the only way to quit is to select the Quit option from the File menu which is hard to do by accident.

Signed: a fellow Mac user who pressed CMD+Q by accident one too many times.

Re:Firefox 94 by globular-toast on Tuesday November 02, 2021 @10:09AM (#29081474)
I think it's because "restore tabs on startup" is also the default now. So you won't lose your tabs and this will generally do the right thing.
Re:Firefox 94 by swiley on Tuesday November 02, 2021 @10:13AM (#29081538)
There really needs to be an alternative "close all tabs now" command to replace this.
Re:Firefox 94 by cute_boi on Tuesday November 02, 2021 @10:41AM (#29081973)
There is close all tab (under multiple tabs) if you right click on any tab. I don't know if there are any shortcuts.
Re:Firefox 94 by BMorearty on Tuesday November 02, 2021 @11:27AM (#29082673)
Why is there so much argument among power users about a default setting that you can easily change?
Re:Firefox 94 by hoseja on Tuesday November 02, 2021 @10:07AM (#29081431)
You can always recall recently closed tabs.
Re:Firefox 94 by Kwpolska on Tuesday November 02, 2021 @10:29AM (#29081797)
Unless they were in a Private Window.
Re:Firefox 94 by perfectstorm on Tuesday November 02, 2021 @11:30AM (#29082718)
just upgraded to Firefox 94 and they do warn for CMD + Q. Maybe they are talking about a three-key command that we are not aware of.