Change Attributes behaviour unconsistent

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Yuta
Member
Member
Posts: 141
Joined: 2007-03-27, 16:52 UTC
Location: Argentina

Change Attributes behaviour unconsistent

Post by *Yuta »

When you launch the change attributes window, if there is a file selected, it takes the file date&time and makes it the current one for editing. In case none is selected, it takes file's actual cursor position.
If there are several files selected it just shows dd/MM/yyyy and hh:mm:ss, this is OK for me.
But when there is only one Folder selected, it behaves as if several ones where selected.
I'd like the same behaviour for Folders than for files. That is, if cursor is on a Folder, when I launch the change attributes window, it should take Folder data for editing.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is intentional because a folder usually also contains multiple files, so TC treats it like the case where multiple files are selected.

You can use the button to load the data from the file under the cursor.
Author of Total Commander
https://www.ghisler.com
User avatar
Yuta
Member
Member
Posts: 141
Joined: 2007-03-27, 16:52 UTC
Location: Argentina

Post by *Yuta »

ghisler(Author) wrote:This is intentional because a folder usually also contains multiple files, so TC treats it like the case where multiple files are selected.
Why so?. If anyway only current directory attributes are changed, the files inside are left unchanged.
You can still have today's behaviour after you click on "Recurse subdirectories".
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The idea is that when the user checks "Recurse subdirectories", all the files would get the attributes and time stamp of the selected directory, which is normally not what the user wants.
Author of Total Commander
https://www.ghisler.com
User avatar
Yuta
Member
Member
Posts: 141
Joined: 2007-03-27, 16:52 UTC
Location: Argentina

Post by *Yuta »

Now:
if cursor is in file, window gets its attributes.
if cursor is in directory, window goes to "undefined attributes".
if user checks "Recurse subdirectories", nothing happens.

My suggestion:
if cursor is in file, window gets its attributes.
if cursor is in directory, window gets its attributes.
if user checks "Recurse subdirectories", window goes to "undefined attributes".

It looks more consistent this way for me. What do you think?.
Post Reply