Page 1 of 1

When holding Shift, the tab doesn't get focus after recovery

Posted: 2024-03-03, 19:06 UTC
by Fla$her
✅ cm_SrcTabsList > Recently closed tabs: Shift + item click/enter = focus switch
❌ cm_DirTabsShowMenu > Recently closed tabs > Shift + item click/enter = focus doesn't switch

Detected when trying to bind em_ (TCFS2) to Shift + T.

Re: When holding Shift, the tab doesn't get focus after recovery

Posted: 2024-03-04, 11:32 UTC
by ghisler(Author)
There is no point pressing Shift, both will automatically re-open the recently closed tab directory as a tab, not in the current tab.

Re: When holding Shift, the tab doesn't get focus after recovery

Posted: 2024-03-04, 12:53 UTC
by Fla$her
ghisler(Author) wrote: 2024-03-04, 11:32 UTC There is no point pressing Shift
I kind of made it clear that Shift is a hotkey modifier that navigates to this menu item. >>>
Detected when trying to bind em_ (TCFS2) to Shift + T.

ghisler(Author) wrote: 2024-03-04, 11:32 UTC both will automatically re-open the recently closed tab directory as a tab, not in the current tab.
The reopening was not discussed. It's only about changing focus. See the topic title.

Re: When holding Shift, the tab doesn't get focus after recovery

Posted: 2024-03-04, 13:56 UTC
by sa16
When holding Shift, the tab doesn't get focus after recovery
This is correct, just like here:
CTRL+T Open new folder tab and activate it
CTRL+SHIFT+T Open new folder tab, but do not activate it

Re: When holding Shift, the tab doesn't get focus after recovery

Posted: 2024-03-04, 14:07 UTC
by Fla$her
This is correct, just like here:
Apparently this has an effect, but this is incorrect, because selecting a menu item and a hotkey are two different things.
Also see the first case, which is not affected in any way.

Re: When holding Shift, the tab doesn't get focus after recovery

Posted: 2024-03-05, 06:39 UTC
by sa16
History.txt wrote:16.10.19 Release Total Commander 9.50 beta 1
22.07.19 Added: Right click on directory tab -> "Recently closed tabs": Hold down Shift to open restored tab in background (do not activate it) (32/64)

Re: When holding Shift, the tab doesn't get focus after recovery

Posted: 2024-03-05, 09:39 UTC
by Fla$her
Yeah, that's bad. It turns out that none of the modifiers can work properly with such a command...