Under the following circumstances:
- Alt-F7 file search has been performed
- in the hits list, a file has been opened in internal viewer using F3
- further text search has been performed in the viewer, resulting in a modal "no more hits" window
- modal window not closed, just clicked back to the hits list with the mouse
- pressing ESC there
The following happens:
- no window gets closed
- the currently highlighted hit disappears, which can be repeated: click on hit, ESC, GONE - empty row, click next hit, ESC, empty row...
- when the search hits window loses its focus, ALL the hits disappear:
HaTeTePe__w-w-w-.vergangen.de/permatemp/tcmdreport/2014-01-09_161503.png
-[850b15 64] Behavior of ESC key in file search hitlist
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This is a well-known problem to which there is no solution (except for using a standalone viewer). Why? MessageBox is a program-modal dialog with its own message queue.
Sorry, no solution.
Sorry, no solution.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Thank you for your reply.
I would understand the modal dialog, but why do the hits in the search hits window disappear after Esc?
You press Esc, nothing happens. You move to another hit, the previous hit disappears and leaves an empty row. You switch the focus to another window and all the hits are gone (only the introduction line "x hits found" stays)
I would understand the modal dialog, but why do the hits in the search hits window disappear after Esc?
You press Esc, nothing happens. You move to another hit, the previous hit disappears and leaves an empty row. You switch the focus to another window and all the hits are gone (only the introduction line "x hits found" stays)
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The problem is that the message queue is out of TC's control. If this is a problem for you, please configure TC to use Lister as an external editor in Configuration - Options - Viewer/Editor:
1. Check "external viewer" for F3
2. In the "Default" field, enter the path to TC followed by /S=L "%1", e.g.
"c:\totalcmd\totalcmd.exe" /S=L "%1"
1. Check "external viewer" for F3
2. In the "Default" field, enter the path to TC followed by /S=L "%1", e.g.
"c:\totalcmd\totalcmd.exe" /S=L "%1"
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com