How about just:ghisler(Author) wrote: 2023-11-19, 08:53 UTC I have tested in the debugger what is going on:
1. The ".." entries really have set these hidden or system attributes shown when cm_switchHidSys is on
2. When cm_switchHidSys is off, TC filters out all files and folders which have these attributes set, including ".."
3. When ".." is filtered out, TC adds its own ".." entry with the attributes and date taken from the folder itself
My suggested changes would be:
1. Do not filter out ".." when cm_switchHidSys is off to get the date/time of the ".." entry
2. Reset the attribite field of ".." either to just "directory", or "directory"+"read only" but ignore hidden and system.
This could be done either when cm_switchHidSys is off, or also when it's on.
TC shows the ".." entry with the attributes and date taken from the folder itself, whether or not cm_switchHidSys is on or off