Bug 397041

Summary: Shortcut to Re-open recently closed tab
Product: [Applications] krusader Reporter: dufferzafar <dufferzafar0>
Component: shortcutsAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: alex.bikadorov, krusader-bugs-null, toni.asensi
Priority: NOR    
Version First Reported In: 2.7.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description dufferzafar 2018-08-01 06:02:43 UTC
Most web browsers have the ability to "pop the stack" of recently closed tabs.

KDE Dolphin has it too.

I think a similar one should be added to Krusader.

If not a stack of tabs, at the very least, the last opened one.
Comment 1 Alex Bikadorov 2018-08-12 15:07:35 UTC
Yes, would be good to have that. With full view state, navigation history and, unlike Dolphin, tab position.
Comment 2 Toni Asensi Esteve 2018-08-13 11:01:23 UTC
If it may be useful: this has also been talked about in https://groups.google.com/forum/#!topic/krusader-users/Vh3O07BSLE4

> Yes, would be good to have that. With full view state, navigation history and, unlike Dolphin, tab position.

Definitely, yes :-)
Comment 3 Toni Asensi Esteve 2021-06-21 20:41:51 UTC
As sometimes happens, Krusader users close accidentally a tab, losing the related work (losing the track of what they were doing, plus spending time trying to remember it, leaving tasks unfinished, etc). Sometimes undoing the damage is time-consuming, sometimes it is not even possible (because some information is no longer available), etc.

Also, even if a tab was not closed accidentally: from time to time, something unexpected happens and users need to go back to a folder. Sometimes, the situation changes and previous information is needed.
Comment 4 Toni Asensi Esteve 2021-06-21 20:56:46 UTC
There's a proposal on https://invent.kde.org/utilities/krusader/-/merge_requests/49
Comment 5 Yuri Chornoivan 2021-07-06 19:44:40 UTC
Git commit 707cee954f0e06a620c23e3d785fb2fa0338e78a by Yuri Chornoivan, on behalf of Toni Asensi Esteve.
Committed on 03/07/2021 at 05:24.
Pushed by asensi into branch 'master'.

Second steps to achieve undo tab closing: restore data of closed tabs

FIXED: [ 397041 ] Shortcut to Re-open recently closed tab

ADDED: Closing a tab can be quickly undone with a hotkey or a menu entry. A menu can reopen recently closed tabs.

Revision: https://invent.kde.org/utilities/krusader/-/merge_requests/49

M  +65   -6    krusader/panelmanager.cpp

https://invent.kde.org/utilities/krusader/commit/707cee954f0e06a620c23e3d785fb2fa0338e78a