Updir ([..] line) handling

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Vochomurka
Power Member
Power Member
Posts: 814
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Updir ([..] line) handling

Post by *Vochomurka »

It is known that every Total Commander's panel, even empty, always contains one specific element, namely a "directory entrance", or "updir", or just [..].
As I know, currently there is only one command executed normally with a cursor being on the [..] line: pressing Shift+F6 (inplace renaming) executes the cm_EditPath command. I suggest to add some other commands/shortcuts executed when cursor is on the [..] line. As usual, these commands should be executed only if there is no selection.

1. Ctrl+Z opens the usual "File comment" window, where the comment is for the current directory as a whole. Similar behaviour is realized in Norton Commander with the "dirinfo" file displayed in quick view window.
So, this comment is stored in the usual descript.ion file of the current directory, starts with ".." characters and is shown when the cursor is pointed over the [..] line. Current method to achieve this is to exit the directory, press Ctrl+Z, write a comment, and then reenter the directory of interest. But (unlike dirinfo) this comment can't be seen from the current directory, what is not handy.
For example, if there is directory c:\some\path and file file.ext there, the descript.ion file should be:
descript.ion wrote:.. any comment for the whole c:\some\path directory
file.ext comment for the c:\some\path\file.ext file
2. Spacebar has the same effect as being pressed on the name of the current directory from the parent one. That is, the total directory size is displayed instead of the the [..] line. Nowadays, so as to learn the total size, one should first exit the directory, press spacebar, and then reenter the directory of interest.

3. F5/F6 - the same as a sequence cm_SelectAll and cm_Copy/cm_RenMov (that is, select all and copy/move all to the target panel). For me it's a habitual sequence.

4. Ins - the same as cm_CopySrcPathToClip.

5. Ctrl+C - the cm_SelectAll + cm_CopyFileDetailsToClip sequence.

Many other commands can be proposed.
Single user license #329241
PowerPro scripts for Total Commander
User avatar
petermad
Power Member
Power Member
Posts: 14807
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

1. Ctrl+Z opens the usual "File comment" window, where the comment is for the current directory as a whole. Similar behaviour is realized in Norton Commander with the "dirinfo" file displayed in quick view window.
So, this comment is stored in the usual descript.ion file of the current directory, starts with ".." characters and is shown when the cursor is pointed over the [..] line.
It has actually been like that in TC 7.50pß5-7 - but it was removed again. But comments for ".." can still be put in the descript.ion file manually and will work as tooltip for [..], but not in Comments View (Ctrl+Shift+F2).

I support the request for full support of file comments for [..].
2. Spacebar has the same effect as being pressed on the name of the current directory from the parent one. That is, the total directory size is displayed instead of the the [..] line. Nowadays, so as to learn the total size, one should first exit the directory, press spacebar, and then reenter the directory of interest.
Support++
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Vochomurka
Power Member
Power Member
Posts: 814
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

for ".." can still be put in the descript.ion file manually and will work as tooltip for [..], but not in Comments View (Ctrl+Shift+F2).
Besides the Comments View, this comment should be shown in QuickView window Ctrl+Q like the dirinfo file contents, below or above the currently shown info ("Total space occupied..." etc).
Single user license #329241
PowerPro scripts for Total Commander
User avatar
SkipR
Junior Member
Junior Member
Posts: 69
Joined: 2008-03-27, 10:39 UTC
Location: W. Australia

Post by *SkipR »

I like all the above suggestions although it does disturb me that "[..]" is really being treated as "[.]" meaning these are operations preformed on the current directory. Given that there is an "arrow pointing up" to left of "[..]" maybe it should be changed to "[.]"

Note: It is already inconsistent on then context menu. Consider the face that "explore" option is passed current dir but "properties" is of parent folder which is a lack of consistency.
Skip
Post Reply