?[8.50b3]Saved search is not visible
Moderators: Hacker, petermad, Stefan2, white
?[8.50b3]Saved search is not visible
Environment: WinXP 32Bit
Steps:
1) Start TC
2) Press Alt + F7
3) Enter sth and switch to Load/Save tab
4) Click on Save, Enter a name
5) Close search window
6) Press Alt + F7
7) Switch to Load/Save tab
observed:
The saved search cannot be seen. The list is always empty.
If you try to save another search using the same name it will ask you if you want to overwrite the existing search.
Steps:
1) Start TC
2) Press Alt + F7
3) Enter sth and switch to Load/Save tab
4) Click on Save, Enter a name
5) Close search window
6) Press Alt + F7
7) Switch to Load/Save tab
observed:
The saved search cannot be seen. The list is always empty.
If you try to save another search using the same name it will ask you if you want to overwrite the existing search.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
@ghisler
I tested this issue now on my second environment Win8 x64
I can't reproduce it here. Both 32/64 Bit versions are working very well.
On my WinXP 32Bit SP3 I am able to reproduce it!
I have used simple names like "abc" , "123" etc...
TC was able to save the searches because it warned me when I tried to save a second search with the same name e.g. "abc" or "123".
The only problem is that it was not able to show it inside the window.
Where do you store the searches?
In the registry? or in the file system?
May be I can check if the stored data is somehow corrupted?!?
I tested this issue now on my second environment Win8 x64
I can't reproduce it here. Both 32/64 Bit versions are working very well.
On my WinXP 32Bit SP3 I am able to reproduce it!
I have used simple names like "abc" , "123" etc...
TC was able to save the searches because it warned me when I tried to save a second search with the same name e.g. "abc" or "123".
The only problem is that it was not able to show it inside the window.
Where do you store the searches?
In the registry? or in the file system?
May be I can check if the stored data is somehow corrupted?!?
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
In wincmd.ini. You can open it via menu Configuration - Change settings files directly. Youn can send me your ini via e-mail to support at ghisler dot com.
Maybe the items are there, just white text on white background or so? Do they appear when you click in the list?
Maybe the items are there, just white text on white background or so? Do they appear when you click in the list?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Do you still have them? If yes, can you post them here, or send them to me by e-mail to support at ghisler dot com, please? I really wonder what was causing this problem.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I think I've got it now. It happened because of a corrupted wincmd.ini.
Let me explain...
Before I found this bug described here I found that bug:
http://ghisler.ch/board/viewtopic.php?t=37938
This bug caused an access violation and wrote some corrupted content below the section "[searches]" inside the wincmd.ini file.
I am sure that the corrupted content caused that TC was unable to show the saved searches!
I have tried to reproduce it the same way but I didn't succeed.
After that I tried to manipulate the wincmd.ini with an editor and I think I found the reason and can reproduce the behavior now!
Steps:
1) Open your wincmd.ini
2) Replace the content below the section [searches] with only these lines:
=A_SearchFor=
A_SearchIn=
A_SearchText=
A_SearchFlags=
3)Save the file
4) Open TC
5) Open Search ALT + F7
6) Switch to Load/Save tab
7) Click on Save
Enter "test" and click OK
9) Close search window
10) Open search window again (you can also restart TC if you want)
observed:
You can't see anything.
Open now wincmd.ini
You will see that TC has saved "test" correctly but is not able to show it inside the window.
Thanks,
Ferhat
Let me explain...
Before I found this bug described here I found that bug:
http://ghisler.ch/board/viewtopic.php?t=37938
This bug caused an access violation and wrote some corrupted content below the section "[searches]" inside the wincmd.ini file.
I am sure that the corrupted content caused that TC was unable to show the saved searches!
I have tried to reproduce it the same way but I didn't succeed.
After that I tried to manipulate the wincmd.ini with an editor and I think I found the reason and can reproduce the behavior now!
Steps:
1) Open your wincmd.ini
2) Replace the content below the section [searches] with only these lines:
=A_SearchFor=
A_SearchIn=
A_SearchText=
A_SearchFlags=
3)Save the file
4) Open TC
5) Open Search ALT + F7
6) Switch to Load/Save tab
7) Click on Save

9) Close search window
10) Open search window again (you can also restart TC if you want)
observed:
You can't see anything.
Open now wincmd.ini
You will see that TC has saved "test" correctly but is not able to show it inside the window.
Thanks,
Ferhat
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortuantely I couldn't reproduce it. Can you post the exact content of section [searches], please?
I tried with
[searches]
A_SearchFor=
A_SearchIn=
A_SearchText=
A_SearchFlags=
and it worked. Or do you mean
[searches]
=A_SearchFor=
A_SearchIn=
A_SearchText=
A_SearchFlags=
"=A_SearchFor=" isn't a valid entry.
I tried with
[searches]
A_SearchFor=
A_SearchIn=
A_SearchText=
A_SearchFlags=
and it worked. Or do you mean
[searches]
=A_SearchFor=
A_SearchIn=
A_SearchText=
A_SearchFlags=
"=A_SearchFor=" isn't a valid entry.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
This is exactly what I meant:
[searches]
=A_SearchFor=
A_SearchIn=
A_SearchText=
A_SearchFlags=
And I can still reproduce it...
I know that this "=A_SearchFor=" is invalid.
As I said before an invalid entry like this was written into the ini file by the bug. which I have reported before:
http://ghisler.ch/board/viewtopic.php?t=37938
[searches]
=A_SearchFor=
A_SearchIn=
A_SearchText=
A_SearchFlags=
And I can still reproduce it...
I know that this "=A_SearchFor=" is invalid.
As I said before an invalid entry like this was written into the ini file by the bug. which I have reported before:
http://ghisler.ch/board/viewtopic.php?t=37938
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Ah, I see - can you still create this faulty entry by entering a very long name?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
=A_SearchFor= is invalid, it means an empty key with value "A_SearchFor=". Therefore it's ignored by TC.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com