RC4: No refresh after search

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
JFierce7
Senior Member
Senior Member
Posts: 214
Joined: 2005-07-17, 10:47 UTC

RC4: No refresh after search

Post by *JFierce7 »

Hi,

TC normally refreshs the file list as soon as the focus changes from another application to TC. However, if a search was active/finished when the focus changes the file list is not refreshed when the search window is closed.

Regards
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

I cannot confirm this, can you be more specific with the way to reproduce it?
I switched to Linux, bye and thanks for all the fish!
User avatar
TLis
Member
Member
Posts: 111
Joined: 2004-06-02, 16:48 UTC
Location: Szczecin, Poland

Post by *TLis »

I guess, that JFierce7 means, that the Search window is a part of TC, so possibly TC does not receive a message about TC being brought to the front, contrary to the case, when you switch to TC from another Windows application ...
JFierce7
Senior Member
Senior Member
Posts: 214
Joined: 2005-07-17, 10:47 UTC

Post by *JFierce7 »

TLis wrote:I guess, that JFierce7 means, that the Search window is a part of TC, so possibly TC does not receive a message about TC being brought to the front, contrary to the case, when you switch to TC from another Windows application ...
Yes, right - I thought I was clear enough, sorry.

Reproducing is simple:
Let's suppose TC shows c:\folder1, c:\folder2.
Open a search window (alt-F7), change something in c:\folder1 by Explorer, for instance. This includes a focus change, btw.
Close search (ESC)

Now TC doesn't reflect the changes you did from Explorer.
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Ah, I see. Confirmed.
I switched to Linux, bye and thanks for all the fish!
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

There are two mechanisms which refresh the directory listing. The update on activation works fine for me (of course only if it's activated).
It doesn't work if only the automatic direcory refresh is activated. It has been discussed before:
http://www.ghisler.ch/board/viewtopic.php?p=102346#102346
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

The update on activation works fine for me (of course only if it's activated).
In this particular case it does not work for me here:
- Open a file in your editor.
- Back to TC, press Alt-F7
- Edit the file and save.
- Close the search dialog, and see that the file timestamp is not refreshed, only when you press ctrl-r.

(WatchDirs=0)
I switched to Linux, bye and thanks for all the fish!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed TC does not refresh the file list if just a dialog in TC is closed. This is by design to avoid excessive refreshing. Just press F2 or Ctrl+R to refresh.
Author of Total Commander
https://www.ghisler.com
Post Reply