SyncHideHiddenSystem option works strange

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

SyncHideHiddenSystem option works strange

Post by *MVV »

If I set SyncHideHiddenSystem to 1+4 or 2+4, syncronizer shows hidden files when I turn hidden files in TC off and vice versa.

E.g. I turn hidden files on and open sync tool. When I press Compare, I see hidden files. If I turn hidden files off and open sync tool and press Compare, I don't see hidden files in sync list.
Totalcmd.chm wrote:SyncHideHiddenSystem=0 Allows to exclude hidden/system files from synchronizing:
0: Do not hide hidden/system files
1: Hide if the files on both sides have hidden or system attribute
2: Hide if any of the two files has hidden or system attribute
Add 4: Consider hidden/system flag in main program
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed - it works opposite of expected.

I just checked - it has been like that ever since SyncHideHiddenSystem was introduced in TC 7.51b1
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
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think this mistake was done because SyncHideHiddenSystem and ShowHiddenSystem work in different manner - SyncHideHiddenSystem=0 allows to show hidden/system while ShowHiddenSystem=0 forbids.
Interesting why beta testers have missed this bug. :wink:
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Interesting why beta testers have missed this bug.
:oops:
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
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

MVV wrote:Interesting why beta testers have missed this bug. :wink:
My answer will not be :oops: like petermad

We missed it for the same reason that made you missing it for a whole month since the first public beta release :wink:
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I just doesn't need this feature so much - someone on Russian board noticed that this functions works wrong.
But beta testers should test all new features. :wink:

BTW, I think it would be great to have checkboxes in sync dialog - one for comparing hidden files and one for hidden folders. Initial checkboxes state may be taken according to this INI option (always checked, checked, always unchecked or grayed etc), and user may easilly change them for current sync operation (checked - sync hidden, grayed - sync only if hidden on both sides, unchecked - ignore hidden).
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

MVV,
Interesting why beta testers have missed this bug.
Hm, as I see it, a beta tester just found it. ;)

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Strange, I will check that.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Cool, fixed in 7.55 RC1. 8)
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

Fixed in TC 7.55 RC1
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for confirming the fix!
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Since I confirmed the bug, I might better confirm that it is fixed in TC 7.55rc1 :-)
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
Post Reply