Ability to re-open multiple tabs, after a bulk close
-
Idea here is that, using any of the:
Select multiple tabs, and close.
- Close tabs to the left
- Close tabs to the right
- Close other tabs
should be revertable.
Currently, any tab closed by any of these options will have to be opened manually one by one, and if done by a mistake (with a lot of tabs) that can be a hazzle. -
@CheVe11e_191 You can do it by Undo, which has a keyboard shortcut, but yeah, it's 1 by 1, so if you closed 20 tabs, it's 20 Undo commands.
-
Closed Tabs can be selected in the Window Panel individually or by range using Ctrl+Click and Ctrl+Shift+Click shortcuts. Then right-click to reopened the selected tabs. There is no limit to the number of tabs that can be reopened in this way, as far as I know.
Update: The limit of tabs remembered in Closed Tabs is set to 100. I think it would be better to have a Setting for Number of Closed Tabs to store. We might also need an Option to change number of tabs shown in Closed Tabs menu.
-
@luetage This has a limit as well. I've accidentally clicked "close all tabs to the right" quite a few times and have only been able to recover, 1 by 1, a portion of the multitude that was closed.
-
@luetage True, there is Ctrl+Z. In my mind though using "Close all to right" is a single action, so Ctrl+Z should restore all in one press.
-
Wow, +1 on this feature request!!! I typically have 40+ tabs open on my work computer, and this morning I accidentally clicked "Close Other Tabs" as I was moving my mouse back into the browser screen away from the right-click menu. Thankfully I found a forum thread on how to Restore Last Session, and because I was smart enough to not have closed Vivaldi yet, all my information was still in my "Last Session" and "Last Tabs" files from last night. Otherwise there's no way I would have remembered what extra tabs were closed beyond the 25 limit.
I'd like to point out that when two windows are open, closing one window still allows recover from the Trash menu with the "Window with Xxx Tabs" entry. I just tested this on a window with 192 tabs (all clones of a google search for "test"), and was able to successfully restore everything including tab stacks. Since this functionality is possible, from a user perspective I think the most intuitive "Undo" for accidentally clicking "Close Other Tabs" would be a trash menu entry named "Tabs from Close Other Tabs".
Also, the 25 limit seems arbitrarily low. Perhaps there's some kind of performance benefit though? I don't know, but being able to restore a window with 192 tabs seems like it would have more of a performance impact.
-
@ukanuk Open the Window Panel to select all closed tabs for restoration at once. Still a maximum of 25 there though.
The browsing history will allow you to reopen many more tabs.
-
This post is deleted! -
@Pesala Thank you for the suggestions, though in my particular case they wouldn't have helped. I had one tab group with about 15 tabs which I hadn't opened in at least a month, which means those tabs don't show up in my recent history. I had started researching something but then got slammed at work so put all the relevant tabs in a tab stack to save for later. Now that it's gone, I think starting my research from scratch again on Google is the less daunting option than trying to remember what to search for in my history.
-
Any movement on this request yet? Seems like it would be a pretty simple change considering it already exists for closing entire windows. I might implement it myself if I find the time but I'd want to be able to submit some type of pull request to a dev as I'd prefer to not have to compile from source every time I want to update Vivaldi (especially since I use Vivaldi as my primary on most of my machines).
-
@ukanuk That trash menu entry would be the best or a warining when closing multiple tabs. I think a warning would be much simpler to implement, but can be annoying when you actually want to close all those tabs.
-
@somMelon Pesala in that thread you linked also mentions Optional Confirmation Dialog when Closing All Tabs but Active, which I think is even more relevant to our discussion here. The thread you linked is for warning when "X"ing the entire window, whereas the thread linked by Pesala is for warning when closing tabs to left/right/active.
-
@CheVe11e_191 Aargh, just happened to me again. I was going to click Close Tab Stack, but accidentally clicked Close Other Tabs right below it. Since I can only restore the 25 most recent tabs and my history is a mess, this is really quite annoying.
-
I want this feature long ago since first accidental use of them, and I use these options practically only accidental!
Close tabs to the left
Close tabs to the right
Close other tabsAnd also prompt should be displayed on click on them like for closing the window!_
-
Ugh. I'd had some tabs in a window for 3-4 months that I'd been saving so that I could eventually work on them when I had some time. And I, just now, accidentally hit "close all tabs above" rather than "close all tabs below" (tabs on the sidebar for the win!) and closed over a hundred tabs. All the ones I cared about are gone, because they were arbitrarily closed first.
And I don't want to go sorting through four months of history to find 'em all again. This seems like something that should be undo-able!
-
I just closed ~300 open tabs starting from a few months ago accidentaly. (Ok, I was able to bookmark/close the very first ones).
I DEMAND a solution for this! -
@phasefour
Hi, you should get back the latest 100 tabs from the trash can (Icon right top).
You are never safe from losing data if an application or the OS crash. I had this several times with Chrome, it can not even restore 5 tabs after a crash.
Use sessions, make backups of you default profile.
You can open multiple tabs from History as last option.Cheers, mib
-
@mib2berlin
Yes, yes, I should use sessions, I knowThankfully Vivaldi always was able to return after a crash. Yes, I noticed that I can restore the last 100 one by one. I did not do it.
Anyway, I wanted to close those
-
I agree that after a crash, no one can guarantee recovery. But this thread is about when Vivaldi is working normally, a single mis-click beside your intended menu selection can irreversibly delete your data. That's absolutely unacceptable in my opinion.
I am very glad to hear Vivaldi can now restore 100 tabs instead of just 25. That should dramatically reduce the number of affected users. Or at least I shouldn't be affected anymore, as I currently have only 61 tabs open and I don't usually get that many more than this.
-
Yes, I too, would like to see this added as a feature, I have been a victim of this issue twice already, because i use Alt as my push-to-talk key when I use browser at the same time as using browser i will constantly select the main menu (thankfully i found that this can be disabled) and twice already i have lost all my tabs, first time it was much more catastrophical and I have lost more than 1200 tabs (I tend to open tab do some work in it and revisit later to finish what i was doing, or close it as i don't need it anymore) and this time i closed around 300 tabs but found that i can reopen the tabs i closed and it's not a bug where all tabs are lost (both times I was trying to close empty tab, so when browser returns to being responsive (believe it or not, but closing thousand tabs lags the browser for several minutes) and as such it looked like the browser crashed and lost all the tabs) and I was able to reopen closed tabs, sadly there is a cap on how many closed tabs are saved, and it is set to one hundred (which is ridiculous imo) so other 200 tabs were actually lost, please, allow users to remove Alt + [Ć] from "close all tabs except this one" or allow to reopen all closed by this action tabs in one action as well, maybe it could be done by moving all the tabs that should be closed by bulk close to a new window and closing it and, of course PLEASE ADD A CONFIRMATION DIALOG