Page 1 of 1

Alt + left/right Arrow small improvement

Posted: 2016-06-24, 14:19 UTC
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

Re: Ctrl + left/right Arrow small improvement

Posted: 2016-06-24, 15:05 UTC
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

Posted: 2016-06-24, 15:33 UTC
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.

Posted: 2016-06-24, 23:24 UTC
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" :?:

Posted: 2016-06-27, 12:02 UTC
by MarcinW
Of course you are right, I corrected my post. Thanks!

Posted: 2016-06-27, 12:17 UTC
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+