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

Undo close tab doesn't work

  • 5 replies
  • 1 has this problem
  • 16 views
  • Last reply by cor-el

more options

Hi guys, I have a problem with firefox. The option to undo close tab (whether its the shortcut, or the right click on tabs menu) doesn't work correctly for me, it always open a randomly closed page from a while ago and not the recently closed one.

I thought it was a problem with how I close the tabs (ie. if i click on the x or ctrl+w, or the mouse wheel) but it doesn't make a difference, the undo closed tab still doesn't work right.

I tried looking for a solution on here and online but found nothing concrete. So, I appreciate any help.

All Replies (5)

more options

Does Session Restore otherwise work properly ?

You can check for problems with the sessionstore.jsonlz4 file in the Firefox profile folder that stores session data.

  • delete sessionstore.jsonlz4 and sessionstore.js

When sessionstore.jsonlz4 is deleted you lose pinned tabs and open tabs and you will have to recreate them, so if necessary make a note or bookmark them. sessionstore.jsonlz4 is only present in the Firefox profile folder when Firefox is closed.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

Helpful?

more options

Hi seeingolive, you might also look at the menu and see whether you can spot a pattern of certain kinds of tabs not being added to it when they're closed. Either:

  • "3-bar" menu button > Library > History > Recently Closed Tabs (current window only)
  • "Library" toolbar button > History > Recently Closed Tabs (current window only)
  • (menu bar) History > Recently Closed Tabs (current window only)

Helpful?

more options

@cor-el: session restore works properly, before I tried your solution I tried @jscher2000's.

@jscher2000, somehow opening the recently closed tabs menu makes everything function as it should be?

Thank you for your help everyone. :)

Helpful?

more options

Perhaps I should start a new thread, but this seems related.

macOS Mojave, Firefox 78.0.1 -- if I close a tab with a keyboard shortcut (command-W) and wish I had not, my muscle memory immediately does an undo (shift-command-Z) but doesn't work. I just tested and if I close a tab with command-W, the Edit menu shows undo as grayed out. No problem finding the closed tab in History --> Recently Closed Tabs....

Helpful?

more options

@ Bill Costa

Note that the command to reopen a closed tab is "Command+Shift+T" in the en-US version and I think this is the same in other locales in case "Command+Shift+Z" is not a typo.

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.