[BUG] Directory Sync filter reset

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

[BUG] Directory Sync filter reset

Post by *icfu »

When Directory Sync is called, the filter is reset to *.*, at least this is what should be expected.

As soon as one manually applies a filter starting with *.* – for example *.* | *.dll – this one is used instead on each restart and it's not possible anymore to reset to *.* besides manually cleaning the wincmd.ini [Selection] section.

Edit:
Workaround is to enter the file filter *.*{SPACE}, then TC adds X=*.* entry in wincmd.ini and chooses that one on start. If this entry is not present it uses the first entry starting with *.*.

So, I suggest to either remember the file filter ALWAYS, not only for *.* entries, or to always IGNORE the [Selection] section on start.

Icfu
This account is for sale
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hmm, not here - and my list is full of these entries! Can you send me your [Selection] section, please?
Author of Total Commander
https://www.ghisler.com
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

There's not much to send, it happens directly after creating the first entry, just use this one:

Code: Select all

[Selection]
0=*.* | *.dll
This one works, but I had to create it manually as *.* is not added by TC:

Code: Select all

[Selection]
0=*.* | *.dll
1=*.*
Icfu
This account is for sale
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

I can confirm this behavior:

If you exclude a filetype with "*.*|*.ext" the filter isn't reset anymore to "*.*". It seems that TC only reads the leading "*.*" and assumes that ther follows nothing.
This error occurs in V 6.53 v 6.54pb2 while 6.03 works fine here.

XP SP2

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

PLEASE, send me your ini sections! As I wrote, I have many such entries, but none of them is chosen automatically, just *.*!
Author of Total Commander
https://www.ghisler.com
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

ghisler(Author) wrote:PLEASE, send me your ini sections! As I wrote, I have many such entries, but none of them is chosen automatically, just *.*!
Okay, sent.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
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, I will try to reproduce it with yours!
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

OK, I found the problem - it's Windows itself which seems to do that! I will add *.* manually to the dropdown list (as the first item) to avoid this problem.

Thanks for your help in finding the reason of this problem!
Author of Total Commander
https://www.ghisler.com
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Thanks a lot, problem solved :)

Even a new drawback is raised:

Instead of having no *.* entry anymore, now there is a magic increase of *.* entries with each call of MRT.

- start the MRT
- choose a list-entry different from *.*
- start a compare
- close MRT
- start MRT again

=> the list shows one more *.* entry :(
#5767 Personal license
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

I assume you don't refer to the Multi Rename but to Synchronize Dir Tool.


Under this prerequisite I can not confirmed this here.

Section before compare:

Code: Select all

[Selection]
0=*.bak
1=*.*
2=*.doc
I select *.doc. Then the section looks like this:

Code: Select all

[Selection]
0=*.doc
1=*.*
2=*.bak

maybe ther is something else to reproduce this (Pls try with fresh ini /i=...)

sheepdopg
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Well, yes I meant "Synchronize Dir Tool" :oops:

I just cut the [Selection] list down to 3 items.
It works fine now ... even after filling up the list from 0 to 19 it still works.

Mystics all over all ... :roll:

I'll try to reproduce it anyway.

Sorry for the inconvenience ...
#5767 Personal license
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

No inconvenience at all....

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Post Reply