Reviews for Undo Close Tab
Undo Close Tab by Manuel Reimer
Review by TwoCables
Rated 1 out of 5
by TwoCables, 5 years agoI've been away from Firefox for about 4 months. I came back to it a couple of days ago, updated to 78.0.2, and discovered that my closed tabs history gets deleted between Firefox sessions. This isn't the way it was working before. The only thing I changed is, I updated Firefox.
So I disabled this extension and discovered that it was the culprit. I switched to Undo Close Tab Button by Button Guy, and not only does my closed tab history remain between sessions like it used to, but the button can be a menu instead of just a simple one-click button. I prefer the menu. For some reason, I couldn't right-click the Undo Close Tab button anymore either. I don't know what happened to this extension, but it used to be the best and now it's the worst.
Edit: I doubt I'm the first one to notice. It's much more likely that I'm just the first one to say something about it.
So I disabled this extension and discovered that it was the culprit. I switched to Undo Close Tab Button by Button Guy, and not only does my closed tab history remain between sessions like it used to, but the button can be a menu instead of just a simple one-click button. I prefer the menu. For some reason, I couldn't right-click the Undo Close Tab button anymore either. I don't know what happened to this extension, but it used to be the best and now it's the worst.
Edit: I doubt I'm the first one to notice. It's much more likely that I'm just the first one to say something about it.
Developer response
posted 5 years agoActually you are the first one actually noticing this. The closed tab history is only kept for up to the *last* session but if you tend to close Firefox pretty often this, of course, may be a problem.
The reason for this is that I can't just rely on the Firefox built in sessions API and its closed tab history. If I do so, then, after some restarts, you will run into a bug that causes random tabs or even windows to restore as the internal IDs get reused which causes duplicated IDs. See here: https://bugzilla.mozilla.org/show_bug.cgi?id=1538119
To work around this problem, I move the Firefox internal closed tab history into a list in my Add-on to clear it. From this point I use a combination of my internal list (for tabs from the last session) and the Firefox built-in list (for tabs closed since browser start). This way I can be sure that no duplicated IDs will exist at any time and always the expected tabs or windows get restored. The only downside is that my internal list does not survive a browser restart. I could save it into storage but this could be a potential privacy problem for people who don't use session restore (and before you ask: Mozilla does not tell Add-ons about the session restore enabled status).
So currently with the existing bugs there are only two options:
a) Accept the small downside of only having last closed tabs for up to the last browser session
b) Randomly restore stuff you don't expect.
As most people don't even remember that they had interesting tabs open for more than one session into the past and random restores can be really annoying, I decided to go with a)
The reason for this is that I can't just rely on the Firefox built in sessions API and its closed tab history. If I do so, then, after some restarts, you will run into a bug that causes random tabs or even windows to restore as the internal IDs get reused which causes duplicated IDs. See here: https://bugzilla.mozilla.org/show_bug.cgi?id=1538119
To work around this problem, I move the Firefox internal closed tab history into a list in my Add-on to clear it. From this point I use a combination of my internal list (for tabs from the last session) and the Firefox built-in list (for tabs closed since browser start). This way I can be sure that no duplicated IDs will exist at any time and always the expected tabs or windows get restored. The only downside is that my internal list does not survive a browser restart. I could save it into storage but this could be a potential privacy problem for people who don't use session restore (and before you ask: Mozilla does not tell Add-ons about the session restore enabled status).
So currently with the existing bugs there are only two options:
a) Accept the small downside of only having last closed tabs for up to the last browser session
b) Randomly restore stuff you don't expect.
As most people don't even remember that they had interesting tabs open for more than one session into the past and random restores can be really annoying, I decided to go with a)
563 reviews
- Rated 5 out of 5by Premchand, 6 days ago
- Rated 5 out of 5by JackelPB, 16 days ago
- Rated 4 out of 5by Firefox user 14171529, 19 days ago
- Rated 3 out of 5by Anon, 21 days agoDoesn't seem to work anymore. At least not for me and the instructions to fix it if you have the bug doesn't do anything either. Side note, the checkbox "Restore previous session" literally doesn't exist but I assume that it is the "Open previous windows and tabs" box instead (which was already unchecked for me).
Will of course update my score if it gets updated and fixed and/or I find out it's my fault it doesn't work.
Still doesn't actually work for me but seems to work for the other people that reviewed after me so it must be an issue on my side only. - Rated 5 out of 5by bioxzard, 25 days ago
- Rated 5 out of 5by david demri, a month ago
- Rated 5 out of 5by Александр, a month ago
- Rated 5 out of 5by Firefox user 18862493, a month agoThis extension is a no-brainer. I used the shortcut ctrl+shift+t all the time already. But through this extension, I can just use my mouse. Great and simple!
- Rated 5 out of 5by EroWalker, 2 months ago
- Rated 5 out of 5by Firefox user 14275792, 2 months ago
- Rated 5 out of 5by Emme, 2 months ago
- Rated 5 out of 5by Randy Knight, 2 months ago
- Rated 5 out of 5by DoveBoy, 2 months ago
- Rated 5 out of 5by Fer, 2 months ago
- Rated 2 out of 5by beeters, 3 months agoNearly useless. Doesn't let you choose which closed tab to undo, only does the most recent one. No option to customize icon colors. I haven't tested if the extension even works without browsing history saved and in private mode, but I wouldn't be surprised if that's an oversight too.
Developer response
posted 2 months agoRight click on the toolbar button to get the list of recently closed tabs. Pick the one to restore. - Rated 5 out of 5by 毕月乌, 3 months ago
- Rated 5 out of 5by Firefox user 14631705, 3 months ago
- Rated 5 out of 5by Ulitharid12138, 3 months ago
- Rated 5 out of 5by Firefox user 15768170, 3 months ago
- Rated 5 out of 5by HellPhantom, 4 months ago
- Rated 3 out of 5by greatwei, 5 months agoIcon colors are not clear under bright themes. Update and fix it please :D