Page 1 of 1

Possible bug in tail function

Posted: Mon Jul 11, 2016 3:49 am
by Mike Mayne
Charles, I noticed something this weekend that feels buggish. I have a long running batch file that invokes (multiple times) a load program for data. I have the output for each load command appended to a log file. I am viewing this log file with V, and I have the tail function enabled to keep track of where I'm at in this string of commands. It would appear that if I minimize this window for some time and then restore it, the viewer window is frozen (i.e. no longer updated) at the same point it was at when the window was minimized. If I then toggle the tail function off and then on again, it correctly finds the current end of the file and keeps updating as the file continues to grow, unless the window is minimized and then restored again, etc. Would this behavior be incorrect, and, if so, have you ever heard of it before? I'm thinking that the minimized window has to have at least one update to the file occur while it is minimized to trigger the symptom.

Thanks,
-Mike

Re: Possible bug in tail function

Posted: Mon Jul 11, 2016 8:59 pm
by FileViewer
It would appear that if I minimize this window for some time and then restore it, the viewer window is frozen (i.e. no longer updated) at the same point it was at when the window was minimized.
I haven't been able to reproduce this.

When I minimize a file that is still being updated and then restore it, the file is restored at the same point that it was minimized (I suppose you could call this a minor bug).

However, the file tailing hasn't stopped. V is still updating the file - although it is no longer automatically scrolling the window to the end. If you manually scroll to the end of the file everything should go back to normal.

Is this what is happening to you? That is, after you restore V, can you scroll further down to the end of the file or is the display stuck at the point where you minimized it?