Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Mac OS Firefox doesn't save tabs when using red(x) button?!

  • 9 replies
  • 34 have this problem
  • 17 views
  • Last reply by cor-el

more options

So here is my problem. When I quit Firefox using the red (x) button left above the screen on my Mac... It will warn me, and ask if I want to close my tabs. So I choose to close it and the next time it starts up I lost my 20 tabs! That's really frikkin annoying because I can't remember all my tabs and have to look it up trough my whole History archive!!

I found a solution. To save your session upon closing firefox you either have to use (cmd+Q) to kill the entire Firefox process so it can/will save your session. Or quit it via the annoying way of clicking on the toolbar firefox >> quit firefox.

I just want to close firefox with my old Windows habit by clicking the red (x) button!! :( Do you also have this problem? Mozilla should fix this horrible problem! Lost my tabs 3 times by now.

Please help me! Thanks!

So here is my problem. When I quit Firefox using the red (x) button left above the screen on my Mac... It will warn me, and ask if I want to close my tabs. So I choose to close it and the next time it starts up I lost my 20 tabs! That's really frikkin annoying because I can't remember all my tabs and have to look it up trough my whole History archive!! I found a solution. To save your session upon closing firefox you either have to use (cmd+Q) to kill the entire Firefox process so it can/will save your session. Or quit it via the annoying way of clicking on the toolbar firefox >> quit firefox. I just want to close firefox with my old Windows habit by clicking the red (x) button!! :( Do you also have this problem? Mozilla should fix this horrible problem! Lost my tabs 3 times by now. Please help me! Thanks!

Modified by MastarLin

All Replies (9)

more options

This may be true on Windows now as well, since some users have reported that right-clicking the stack of Firefox icons on the Task Bar and using "Close all windows" causes some windows/tabs to be lost.

A couple of notes for future reference in case you accidentally click the red X out of habit:

(1) Firefox will remember up to 10 closed tabs and 3 closed windows. After you choose Restore Previous Session from the History menu (or if you have Firefox restore your session automatically), you can use these lists:

  • History > Recently Closed Tabs
  • History > Recently Closed Windows

(2) The default values of 10 and 3 can be increased if you tend to have more than 10 tabs open on a regular basis. Here's how:

  • In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.
  • In the search box above the list, type or paste sess and pause while the list is filtered
  • Double-click the browser.sessionstore.max_tabs_undo preference and enter your preferred number of tabs (I have 20)
  • Double-click the browser.sessionstore.max_windows_undo preference and enter your preferred number of windows (I have 10)
more options

This a known issue with Firefox. By clicking the close button on the window, you are forcing Firefox to close right away. This prevents Firefox from saving you closed tabs and will say that Firefox has crashed.
Pressing the Exit button in the Firefox menu will allow Firefox to close as soon as it has saved the required information.

Many people don't know this, but whenever a program has an exit button, this is the button that should be used. The exit buttons are added to programs because the developer(s) have noticed that the program is not running properly when the window close button is used.

more options

jscher2000 thanks a lot for the information! But option 1 doesn't work because the session isn't saved. The 'restore previous session' button is blanked out.

I can only save my session with CMD+Q! Is there a other way to exit firefox with the red (x) button and not lose my session?

more options

On Mac, if you close a window then the Firefox application is still running, so can use History > Recently Closed Tabs/Windows to reopen closed tabs, but if you first close the windows and then quit Firefox then you open tabs aren't saved. So you need to close Firefox while the windows and tabs are still open.

more options

Hi MastarLin, when Restore Previous Session is grayed, this could indicate that your session never ended (see cor-el's post above) or that your session resumed automatically (this may happen after a crash).

Or it could indicate that Firefox lost your previous session data and isn't able to restore it. (Insert sad face here...)

more options

I agree to the post of cor-el. Can reproduce my problem with this information (if you have restore session on Firefox startup selected).

So here are some tips:

  1. Never close the Firefox window if you shutdown the system. Keep Firefox open, minimized or close it with (CMD+Q).
  2. Do not quit Firefox (CMD+Q) after you have closed the windows with the red x button.

Modified by SparkXP

more options

Hey,

I already am doing that now... but it's annoying! Why can't I just press the red x button!!!!! :( Mozilla really needs to fix this.

more options

This is not something that Mozilla can fix.
Please read my above post.

more options

On Mac the red X button closes the current window and this leaves the Firefox application with the menu bar still running in case you close the last open window.
If no windows are open when you quit the Firefox application then there will be no windows and tabs to restore.
On Windows and Linux, closing the last window would close Firefox, but only the last window would be restored the next time and other windows would get lost if you do not use Exit Firefox to close all open windows at once.