Unusual behavior in Change Attributes dialog

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

User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Post by *Usher »

The problem is NOT with validity, but with meaning. For me current behavior seems inconsistent.

For attribs empty field means "reset value", and "unchanged" is for grayed-out field - no matter if it is the initial state or if it's changed back to grayed-out.

There are more values enabled for date/time fields, but the meaning should be similar:
- Placeholder for "unchanged" (with possible extensions for partial placeholder, f.e. change only year using 1999-mm-dd value). You can additionally gray-out placeholder or use grayed-out empy field for this purpose.
- Empty field for reset. The question is: what value should be use here - current date/time stamp or maybe 1980-01-01 and 00:00:00? There is already button for current timestamp, and TC already uses empty part of time to reset it to zero, so why not extend this behavior for dates also? That way "1999" will mean 1999-01-01, empy time will be "00:00:00" and it will be consistent with other settings.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48028
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

For timestamps, empty fields or placeholder mean "unchanged". This is documented in the help.
Author of Total Commander
https://www.ghisler.com
User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Post by *MarcinW »

petermad wrote:2MarcinW
Try and restart your 64bit TC, then the placeholders are shown - but once the fields has been blanked (for example after faulty input) it stays blank until TC restarts.
Indeed, you are right - so both 32-bit and 64-bit TC work in a consistent way.


So, as for me, this thread could be moved to "Fixed Bugs".

Regards
Post Reply