Search Box doesn't close when Lister is open with Search Box
Moderators: Hacker, petermad, Stefan2, white
Search Box doesn't close when Lister is open with Search Box
When opening the search dialog in TC and searching for some text, will result in a number of files found.
When I select one of these files and press F3, then this file will be opened in the Lister.
Now I open the search dialog in the Lister for searching another string (Ctrl-F), and I keep it open without pressing OK or Cancel button.
Now switching back to TC with the open search dialog (Alt-Tab).
The search dialog cannot be closed by pressing Esc, Cancel or 'X' icon!
And strange effect appear when clicking one of the search results, the line selected disappears.
Only after closing the search dialog in the lister, will the search dialog in TC close. TC pops to the front of the listerwindow I just closed the searchbox.
____________________
HPA
When I select one of these files and press F3, then this file will be opened in the Lister.
Now I open the search dialog in the Lister for searching another string (Ctrl-F), and I keep it open without pressing OK or Cancel button.
Now switching back to TC with the open search dialog (Alt-Tab).
The search dialog cannot be closed by pressing Esc, Cancel or 'X' icon!
And strange effect appear when clicking one of the search results, the line selected disappears.
Only after closing the search dialog in the lister, will the search dialog in TC close. TC pops to the front of the listerwindow I just closed the searchbox.
____________________
HPA
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
2SanskritFritz
If I then click on one of the lines in the Search Results this line becomes blanc.
2Sir_SiLvA
I'm using xp pro sp2 dutch - tc7pb1
Search for: "*.c;*.h;*.cpp;*.txt"
Find text: "for(int r=1;"
________
hpa
This effect appears after I have pressed the Cancel button.This i cannot see.And strange effect appear when clicking one of the search results, the line selected disappears.
If I then click on one of the lines in the Search Results this line becomes blanc.
2Sir_SiLvA
I'm using xp pro sp2 dutch - tc7pb1
Search for: "*.c;*.h;*.cpp;*.txt"
Find text: "for(int r=1;"
________
hpa
But I can confirm that one tooSanskritFritz wrote:Confirmed. Interesting find!This i cannot see.And strange effect appear when clicking one of the search results, the line selected disappears.

do as AHP said and then return to search results - dbl click an entry and click on another entry - voilá gone

Continued: then ALT+TAB to your Browser ie and then back and ALL entrys are gone

Last edited by Sir_SiLvA on 2006-11-06, 11:55 UTC, edited 1 time in total.
Hoecker sie sind raus!
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This is a known limitation of Windows which cannot be avoided. The only solution is to use a separate viewer instead of internal.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
and what about the strange find-result-listbox?
a) start a search no matter what u search as long as u get some files u can view with f3
b) f3 a file u like and press STRG+F
c) Alt+Tab back to TC and DOUBLE-Click any Filename u like
d - version 1) now use Cursor-Down/-Up Keys => Entrys are becoming invisible
d - version 2) instead of using Cursor-keys click on a Search entry -> files disappear
e) Doublick for the second time (or use enter) you get the Error-Message "No item selected!"
a) start a search no matter what u search as long as u get some files u can view with f3
b) f3 a file u like and press STRG+F
c) Alt+Tab back to TC and DOUBLE-Click any Filename u like
d - version 1) now use Cursor-Down/-Up Keys => Entrys are becoming invisible
d - version 2) instead of using Cursor-keys click on a Search entry -> files disappear
e) Doublick for the second time (or use enter) you get the Error-Message "No item selected!"
Hoecker sie sind raus!
Confirmed! Weird indeed.d - version 1) now use Cursor-Down/-Up Keys => Entrys are becoming invisible
d - version 2) instead of using Cursor-keys click on a Search entry -> files disappear
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This is related. While a modal dialog box is open in any part of totalcmd.exe, several functions which are handled in the main message loop will not work (because these functions are replaced by the message loop of the search dialog).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Is this the same problem as above?
- Open File A in the Lister
- search for a string that is not in the file (f.e "xxx" )
- do not close the "Not found" message
- open another file in the lister
-> you can't use ESC to close the second lister (until you close the "Not found" in the first lister session
Btw:
maybe you could place an invisible cancel-button (1*1 Pixel, TabStop = false, BackColor = White, Cancel = True) somewhere in the lister, so that you don't have to check windows message queue manual for an ESC-Keystroke
- Open File A in the Lister
- search for a string that is not in the file (f.e "xxx" )
- do not close the "Not found" message
- open another file in the lister
-> you can't use ESC to close the second lister (until you close the "Not found" in the first lister session
Btw:
maybe you could place an invisible cancel-button (1*1 Pixel, TabStop = false, BackColor = White, Cancel = True) somewhere in the lister, so that you don't have to check windows message queue manual for an ESC-Keystroke
Using TC7.50, you can define
as external Viewer.
This should solve the problem.
Regards
Holger
Code: Select all
%COMMANDER_PATH%\TOTALCMD.EXE /S=L
This should solve the problem.

Regards
Holger