Page 1 of 2

File list not updated when externally modified

Posted: 30 Mar 2020 15:31
by iycgtptyarvg
Since a week(?) or so, Xyplorer sometimes misses external changes to the directory currently displayed in the file list.
I now have to press <F5> constantly to stay up to date (I've been bitten by this badly this week when I deleted the wrong directory!)

Please fix this regression!
XYplorer.png
XYplorer.png (8.41 KiB) Viewed 884 times

Re: File list not updated when externally modified

Posted: 04 Apr 2020 16:16
by m48tx
I experienced the same issue with XY. At some point in the updates to 20.80, the tree and list refresh broke. The issue persists in 20.90. I downloaded 20.70.0000 from the freezer, installed it and the tree and list are refreshed as expected.

Re: File list not updated when externally modified

Posted: 04 Apr 2020 16:40
by admin
This happens (or does not happen) when doing exactly what?

Re: File list not updated when externally modified

Posted: 04 Apr 2020 17:03
by iycgtptyarvg
It happens when I do file operations from outside Xyplorer.
For instance, I compile source code, but I don't see the new files until I press F5.
For instance, I extract a 7z file, but I don't see the new files until I press F5.

Re: File list not updated when externally modified

Posted: 04 Apr 2020 17:12
by admin
No such issues on Win8.1. Must be another Win10 issue. I'll check that later...

Re: File list not updated when externally modified

Posted: 04 Apr 2020 17:47
by m48tx
Don, this is how I tested this condition (we've conversed about WinRAR previously):

Win10 v1909 XY v20.70.0000:
1) download latest beta of XY
2) in XY, double click the beta zip, WinRAR opens with zip, click WinRAR extract, close WinRAR
3) extracted files appear in XY list

Win10 v1909 XY v20.90.0002:
- same steps 1 & 2
3) extracted files do not appear in list unless F5 or click to another path then click back to download path

This has also happened when I have XY open, double click on an image which opens in FastStone MaxView. Crop the image and save with a different file name. Close MaxView and the new file does not appear in XY v20.90.0002 file list.

Re: File list not updated when externally modified

Posted: 04 Apr 2020 18:59
by admin
Well, boys. Tested WinRAR extraction and other operations under Win10 with XY v20.60.0000 and XY v20.90.0000. All works fine here. Sorry, but something else must be the factor.

Re: File list not updated when externally modified

Posted: 04 Apr 2020 20:04
by m48tx
Well Don, thanks for again testing this. It appears iycgtptyarvg and I have the same issue, whatever it might be. No doubt cobwebs in Win10. I created a toolbar button with this script to force refresh when using 20.80+:

Code: Select all

#482; #485;
Thanks again,
Gary

Re: File list not updated when externally modified

Posted: 04 Apr 2020 20:33
by iycgtptyarvg
I'm on Windows 10 x64 English v1909 build 18363.720

Here is a good test:
1. Install v20.80.0400
2. Create an empty directory with Xyplorer, e.g., "E:\Downloads\Xyplorer test"
3. Go into the "E:\Downloads\Xyplorer test" directory in Xyplorer
3. Type <WIN>+<R> and type 'cmd' to start a command prompt
4. Type dir > "E:\Downloads\Xyplorer test\Test.txt"
5. See that a file 'Test.txt' automatically appears in the file list of Xyplorer

1. Install v20.90
2. Create an empty directory with Xyplorer, e.g., "E:\Downloads\Xyplorer test"
3. Go into the "E:\Downloads\Xyplorer test" directory in Xyplorer
3. Type <WIN>+<R> and type 'cmd' to start a command prompt
4. Type dir > "E:\Downloads\Xyplorer test\Test.txt"
5. See that NO file appears in the file list of Xyplorer
6. Press <F5> key
7. See that a file 'Test.txt' appears in the file list of Xyplorer

Re: File list not updated when externally modified

Posted: 04 Apr 2020 21:05
by avsfan
When I do this (dir > mydir\test.txt approach from cmd) with 20.90, (Win10 build 1909) I see the following:

The first time I did it, the file list was updated as expected. I then deleted the test file.
Did it a second time, no file shown, but did show on F5 refresh. Deleted it again.
Did it a third time, no file shown, did it a fourth time (overwriting existing file), and this time the file showed up as expected.

Just more data...

Re: File list not updated when externally modified

Posted: 04 Apr 2020 21:55
by iycgtptyarvg
I tried doing it and deleting it multiple times:
1. File was shown
2. File was not shown
3. File was not shown
4. File was not shown
5. File was not shown
6. File was not shown
7. File was not shown

So, the first one seems to be a fluke. The rest of the attempts failed.

Re: File list not updated when externally modified

Posted: 04 Apr 2020 22:52
by yuyu
I confirm this issue on Win 7 x64.

Re: File list not updated when externally modified

Posted: 04 Apr 2020 23:42
by highend
I have this as well. All local files. On a ram disk or on SSDs. I mainly notice it when I extract archives and the destination folder does not appear in XY...

Re: File list not updated when externally modified

Posted: 05 Apr 2020 12:11
by admin
Conc. the case dir > "E:\Downloads\Xyplorer test\Test.txt".
The Windows message is sometimes sent, sometimes not. XY is listening all the time, but if there's no music it cannot dance. (Win10 build 1909)

I really cannot see why this should be different with v20.80.0400. But I will test it now...

Re: File list not updated when externally modified

Posted: 05 Apr 2020 13:48
by admin
OK, I checked 20.70.0000 and indeed it works well. I tried to hard find the cause of it but could not see it. Weird. I'll try again later...

PS: I can also see the issue now in Win8.1.