Alt + left/right Arrow small improvement
Posted: 2016-06-24, 14:19 UTC
[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
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