Refresh (reread source) not working for files being updated

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
amach
Junior Member
Junior Member
Posts: 41
Joined: 2003-04-09, 14:23 UTC
Location: Brazil

Refresh (reread source) not working for files being updated

Post by *amach »

I've noticed that source refresh (F2/Ctrl+R) is not working for files being updated by other processes. I've also noticed that after viewing the file with lister and refreshing source, then it works. I remember it already worked in previous versions, but in current (8.51a) it stopped working.

I'm running 64-bit version of TC in a Win7Pro-64 SP1 operating system.
If you confess with your mouth Jesus as Lord, and believe in your heart that God raised Him from the dead, you will be saved. (Romans 10.9)
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Windows 7 file system cache optimization done by Microsoft.

It worked in XP but rarely in vista and never in windows 7.
Only after a read operation or after the write process is finished, Windows 7 notifies about changes of the file system.
You can try to set "Configuration->Options->Icons: [x] Show overlay icons".
This operation seems to trigger a read operation on the file when you press F2/Ctrl+R.

Regards
Holger
Make our planet great again
amach
Junior Member
Junior Member
Posts: 41
Joined: 2003-04-09, 14:23 UTC
Location: Brazil

Show overlay icons

Post by *amach »

My "Show overlay icons" option was already enabled, but to no avail.
If you confess with your mouth Jesus as Lord, and believe in your heart that God raised Him from the dead, you will be saved. (Romans 10.9)
amach
Junior Member
Junior Member
Posts: 41
Joined: 2003-04-09, 14:23 UTC
Location: Brazil

Workaround

Post by *amach »

If it's a Windows 7 issue, TC could check for this OS and, as a workaround, open file and immediately close it (as if it was opened in Lister) and then reread source.
If you confess with your mouth Jesus as Lord, and believe in your heart that God raised Him from the dead, you will be saved. (Romans 10.9)
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

My "Show overlay icons" option was already enabled
Definitely related here. May depend on the installed overlay shell extensions.
open file and immediately close it
Do this inside a folder with thousands files, and Christian will get a lot of complains.

Regards
Holger
amach
Junior Member
Junior Member
Posts: 41
Joined: 2003-04-09, 14:23 UTC
Location: Brazil

Post by *amach »

HolgerK wrote:
open file and immediately close it
Do this inside a folder with thousands files, and Christian will get a lot of complains.
Then maybe a new "Refresh file under cursor" feature... This way, only one file should be opened/closed/refreshed. It would avoid having to open it with Lister, close Lister and reread source.
If you confess with your mouth Jesus as Lord, and believe in your heart that God raised Him from the dead, you will be saved. (Romans 10.9)
Post Reply