Alt + left/right Arrow small improvement

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Alt + left/right Arrow small improvement

Post by *MarcinW »

[update: I corrected mistaken keyboard shortcuts in this post]

When pressing Alt + left/right Arrow, we travel through recently opened directories. Let's assume that our browsing history is:

c:\
c:\dir
c:\dir\test1
c:\dir (back to the "dir" directory)
c:\dir\test2
c:\dir (back to the "dir" directory)
c:\dir\test3
c:\dir (back to the "dir" directory)

Now we delete "c:\dir\test1" and "c:\dir\test2" directories from the file system - as a consequence, "c:\dir\test1" and "c:\dir\test2" items are also removed from the browsing history. So our browsing history is:

c:\
c:\dir
c:\dir
c:\dir
c:\dir\test3
c:\dir

Please note, that we have 3 adjacent, identical "c:\dir" items now. So when we press Alt + left Arrow, we get into "c:\dir\test3", then into "c:\dir" and then - once again into "c:\dir", so nothing happens, and once again into "c:\dir", so nothing happens again, and finally into "c:\".

So my suggestion is: after removing some item(s) from the browsing history, TC should remove same, adjacent items in the browsing history.

Important: items differing only in char case should be treated as same items - because the user could execute "cd c:\DiR" + "cd c:\dir\test2" + "cd c:\dir" in the command line - so, after removing "c:\dir\test2" item from the browsing history, "c:\DiR" item should be treated as same with the adjacent "c:\dir" item.

Regards
Last edited by MarcinW on 2016-06-27, 12:01 UTC, edited 2 times in total.
User avatar
Dalai
Power Member
Power Member
Posts: 10022
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Ctrl + left/right Arrow small improvement

Post by *Dalai »

MarcinW wrote:Important: items differing only in char case should be treated as same items
Only on local drives but not on remote "drives", e.g. file-system plugins like SFTP!

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Post by *MarcinW »

Most precisely, also for local Windows drives, GetVolumeInformation API function should be called and FS_CASE_IS_PRESERVED flag should be checked - because it's possible to have a Linux EXT filesystem (which is case-sensitive) mounted in Windows by using a proper driver.
User avatar
petermad
Power Member
Power Member
Posts: 16116
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

When pressing Ctrl + left/right Arrow, we travel through recently opened directories.
Not by default - by default Ctrl+left/right Arrow does: "Open directory/archive and display it in the target window"

Maybe you mean: Alt+left/right Arrow: "Go to previous/next dir of already visited dirs" :?:
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Post by *MarcinW »

Of course you are right, I corrected my post. Thanks!
User avatar
petermad
Power Member
Power Member
Posts: 16116
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

So my suggestion is: after removing some item(s) from the browsing history, TC should remove same, adjacent items in the browsing history.
Support+
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply