Re: Resort on Rename
Posted: 28 Mar 2022 17:32
That's just a standard Windows "home network".
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
Thanks for the log. However it did not really show where the refresh is triggered. It rather shows that no refresh is triggered.Quaraxkad wrote: ↑27 Mar 2022 16:31 Found it. Not sure if it's of any use. I created a file and named it x.txt, then created a file and named it z.txt. In Pane 1 on the C drive, z remained above x. In Pane 2 on the mapped network V drive z moves under x about half a second after naming. Tested using a ::fresh instance.
Code: Select all
0 - 2022-03-27 10:19:56.514 --- WatchDir IN: 0 | 1 | C:\test ...
logchange 7; I assume).Is *refresh* the same thing as *resort*, or is there a separate more light-weight function that does the resorting without a full folder refresh? Just asking so I know if "refresh" and "resort" are interchangable.
Code: Select all
XYplorer 23.00.0201 - Windows 11 Professional, 64-bit, Release 2009, Build 22000.556 - 2022-05-01 10:04:46
==============================================================================================================
0 - 2022-05-01 10:00:24.524 --- WatchDir IN: 0 | 1 | V:\test
0 - 2022-05-01 10:00:24.524 --- WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit1: IsRenaming
Exit2: path not listed in Pane 2
253 - 2022-05-01 10:00:24.777 --- ShellNotify: SHCNE_CREATE: V:\test\New Text File.txt | New Text File.txt > |
--------------------------------------------------------------------------------------------------
3.968 - 2022-05-01 10:00:28.745 --- WatchDir IN: 0 | 1 | V:\test
0 - 2022-05-01 10:00:28.745 --- WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit2: path not listed in Pane 2
88 - 2022-05-01 10:00:28.833 --- ShellNotify: SHCNE_RENAMEITEM: V:\test\New Text File.txt | New Text File.txt > V:\test\x.txt | x.txt
223 - 2022-05-01 10:00:29.056 --- RefreshPane 1, flags=0
626 - 2022-05-01 10:00:29.682 --- WatchDir IN: 0 | 1 | V:\test
0 - 2022-05-01 10:00:29.682 --- WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit1: IsRenaming
Exit2: path not listed in Pane 2
427 - 2022-05-01 10:00:30.109 --- ShellNotify: SHCNE_CREATE: V:\test\New Text File.txt | New Text File.txt > |
670 - 2022-05-01 10:00:30.779 --- WatchDir IN: 0 | 1 | V:\test
0 - 2022-05-01 10:00:30.779 --- WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit2: path not listed in Pane 2
308 - 2022-05-01 10:00:31.087 --- RefreshPane 1, flags=0
37 - 2022-05-01 10:00:31.124 --- ShellNotify: SHCNE_RENAMEITEM: V:\test\New Text File.txt | New Text File.txt > V:\test\z.txt | z.txt
--------------------------------------------------------------------------------------------------
4:03.760 - 2022-05-01 10:04:34.884 --- WatchDir IN: 1 | 2 | C:\
7 - 2022-05-01 10:04:34.891 --- WatchDir OUT: Change detected [Pane 2]: Type 2 (0x2) |
Exit1: path not listed in Pane 1
Exit2: IsRenaming
2.141 - 2022-05-01 10:04:37.032 --- ShellNotify: SHCNE_RENAMEFOLDER: C:\New Folder | New Folder > C:\test | test
1.341 - 2022-05-01 10:04:38.373 --- WatchDir IN: 1 | 1 | C:\test
0 - 2022-05-01 10:04:38.373 --- WatchDir OUT: Change detected [Pane 2]: Type 1 (0x1) |
Exit1: path not listed in Pane 1
Exit2: IsRenaming
405 - 2022-05-01 10:04:38.778 --- ShellNotify: SHCNE_CREATE: C:\test\New Text File.txt | New Text File.txt > |
1.563 - 2022-05-01 10:04:40.341 --- ShellNotify: SHCNE_RENAMEITEM: C:\test\New Text File.txt | New Text File.txt > C:\test\x.txt | x.txt
371 - 2022-05-01 10:04:40.712 --- WatchDir IN: 1 | 1 | C:\test
0 - 2022-05-01 10:04:40.712 --- WatchDir OUT: Change detected [Pane 2]: Type 1 (0x1) |
Exit1: path not listed in Pane 1
Exit2: IsRenaming
214 - 2022-05-01 10:04:40.926 --- ShellNotify: SHCNE_CREATE: C:\test\New Text File.txt | New Text File.txt > |
732 - 2022-05-01 10:04:41.658 --- ShellNotify: SHCNE_RENAMEITEM: C:\test\New Text File.txt | New Text File.txt > C:\test\z.txt | z.txtCode: Select all
XYplorer 23.00.0204 - Windows 11 Professional, 64-bit, Release 2009, Build 22000.556 - 2022-05-03 09:21:31
==============================================================================================================
0 - 2022-05-03 09:21:17.152 --- WatchDir IN: 0 | 1 | V:\test
0 - 2022-05-03 09:21:17.152 --- WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit1: IsRenaming
Exit2: path not listed in Pane 2
297 - 2022-05-03 09:21:17.449 --- ShellNotify: SHCNE_CREATE: V:\test\New Text File.txt | New Text File.txt > |
2.045 - 2022-05-03 09:21:19.494 --- WatchDir IN: 0 | 1 | V:\test
0 - 2022-05-03 09:21:19.494 --- WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit2: path not listed in Pane 2
146 - 2022-05-03 09:21:19.640 --- ShellNotify: SHCNE_RENAMEITEM: V:\test\New Text File.txt | New Text File.txt > V:\test\x.txt | x.txt
183 - 2022-05-03 09:21:19.823 --- tmrDelay, Path=V:\test\, lDelayedActionOrig=15, CanR=False
139 - 2022-05-03 09:21:19.962 --- WatchDir IN: 0 | 1 | V:\test
0 - 2022-05-03 09:21:19.962 --- WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit1: IsRenaming
Exit2: path not listed in Pane 2
337 - 2022-05-03 09:21:20.299 --- ShellNotify: SHCNE_CREATE: V:\test\New Text File.txt | New Text File.txt > |
291 - 2022-05-03 09:21:20.590 --- WatchDir IN: 0 | 1 | V:\test
0 - 2022-05-03 09:21:20.590 --- WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit2: path not listed in Pane 2
312 - 2022-05-03 09:21:20.902 --- tmrDelay, Path=V:\test\, lDelayedActionOrig=15, CanR=True
0 - 2022-05-03 09:21:20.902 --- RefreshPane 1, flags=0
26 - 2022-05-03 09:21:20.928 --- ShellNotify: SHCNE_RENAMEITEM: V:\test\New Text File.txt | New Text File.txt > V:\test\z.txt | z.txt
--------------------------------------------------------------------------------------------------
3.398 - 2022-05-03 09:21:24.326 --- WatchDir IN: 1 | 1 | C:\test
0 - 2022-05-03 09:21:24.326 --- WatchDir OUT: Change detected [Pane 2]: Type 1 (0x1) |
Exit1: path not listed in Pane 1
Exit2: IsRenaming
267 - 2022-05-03 09:21:24.593 --- ShellNotify: SHCNE_CREATE: C:\test\New Text File.txt | New Text File.txt > |
660 - 2022-05-03 09:21:25.253 --- ShellNotify: SHCNE_RENAMEITEM: C:\test\New Text File.txt | New Text File.txt > C:\test\x.txt | x.txt
169 - 2022-05-03 09:21:25.422 --- WatchDir IN: 1 | 1 | C:\test
0 - 2022-05-03 09:21:25.422 --- WatchDir OUT: Change detected [Pane 2]: Type 1 (0x1) |
Exit1: path not listed in Pane 1
Exit2: IsRenaming
473 - 2022-05-03 09:21:25.895 --- ShellNotify: SHCNE_CREATE: C:\test\New Text File.txt | New Text File.txt > |
1.149 - 2022-05-03 09:21:27.044 --- ShellNotify: SHCNE_RENAMEITEM: C:\test\New Text File.txt | New Text File.txt > C:\test\z.txt | z.txtAre you 100% sure that the difference is not caused by the different setting of Configuration | General | Refresh, Icons, History | Auto-Refresh | Include network locations?Quaraxkad wrote: ↑28 Mar 2022 16:09 I did some experimenting with fresh portable old versions and found that XYplorer 22.60.0200 does *not* exhibit this bahiour; everything after does. Furthing digging in the beta forum thread narrowed it down further, up to xyplorer_22.70.0016_beta_noinstall does *not* exhibit thiss behaviour; xyplorer 22.70.0017_beta_noinstall and later does. There's nothing in the changelog to suggest anything about resorts was changed, but I went back and forth between these two versions multiple times and confirmed it.
Code: Select all
XYplorer 23.00.0204 - Windows 7 Professional (Service Pack 1), 64-bit, Build 7601 - 2022-05-03 17:51:37
===========================================================================================================
0 - 2022-05-03 17:50:58.330 --- WatchDir IN: 0 | 1 | V:\test
0 - 2022-05-03 17:50:58.330 --- WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit1: IsRenaming
Exit2: path not listed in Pane 2
280 - 2022-05-03 17:50:58.610 --- ShellNotify: SHCNE_CREATE: V:\test\New Text File.txt | New Text File.txt > |
1.280 - 2022-05-03 17:50:59.890 --- ShellNotify: SHCNE_RENAMEITEM: V:\test\New Text File.txt | New Text File.txt > V:\test\x.txt | x.txt
312 - 2022-05-03 17:51:00.202 --- WatchDir IN: 0 | 1 | V:\test
0 - 2022-05-03 17:51:00.202 --- WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit1: IsRenaming
Exit2: path not listed in Pane 2
249 - 2022-05-03 17:51:00.451 --- ShellNotify: SHCNE_CREATE: V:\test\New Text File.txt | New Text File.txt > |
1.217 - 2022-05-03 17:51:01.668 --- ShellNotify: SHCNE_RENAMEITEM: V:\test\New Text File.txt | New Text File.txt > V:\test\z.txt | z.txtCode: Select all
XYplorer 23.00.0204 - Windows 11 Professional, 64-bit, Release 2009, Build 22000.556 - 2022-05-03 17:51:24
==============================================================================================================
0 - 2022-05-03 17:51:17.510 --- WatchDir IN: 0 | 1 | V:\test
0 - 2022-05-03 17:51:17.510 --- WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit1: IsRenaming
Exit2: path not listed in Pane 2
209 - 2022-05-03 17:51:17.719 --- ShellNotify: SHCNE_CREATE: V:\test\New Text File.txt | New Text File.txt > |
264 - 2022-05-03 17:51:17.983 --- WatchDir IN: 0 | 1 | V:\test
0 - 2022-05-03 17:51:17.983 --- WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit2: path not listed in Pane 2
307 - 2022-05-03 17:51:18.290 --- tmrDelay, Path=V:\test\, lDelayedActionOrig=15, CanR=True
0 - 2022-05-03 17:51:18.290 --- RefreshPane 1, flags=0
43 - 2022-05-03 17:51:18.333 --- ShellNotify: SHCNE_RENAMEITEM: V:\test\New Text File.txt | New Text File.txt > V:\test\x.txt | x.txt
273 - 2022-05-03 17:51:18.606 --- WatchDir IN: 0 | 1 | V:\test
0 - 2022-05-03 17:51:18.606 --- WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit1: IsRenaming
Exit2: path not listed in Pane 2
462 - 2022-05-03 17:51:19.068 --- ShellNotify: SHCNE_CREATE: V:\test\New Text File.txt | New Text File.txt > |
628 - 2022-05-03 17:51:19.696 --- WatchDir IN: 0 | 1 | V:\test
0 - 2022-05-03 17:51:19.696 --- WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit2: path not listed in Pane 2
294 - 2022-05-03 17:51:19.990 --- ShellNotify: SHCNE_RENAMEITEM: V:\test\New Text File.txt | New Text File.txt > V:\test\z.txt | z.txt
22 - 2022-05-03 17:51:20.012 --- tmrDelay, Path=V:\test\, lDelayedActionOrig=15, CanR=True
0 - 2022-05-03 17:51:20.012 --- RefreshPane 1, flags=0Code: Select all
XYplorer 23.10.0028 - Windows 11 Professional, 64-bit, Release 2009, Build 22000.675 - 2022-06-03 01:25:06
==============================================================================================================
1.767 - 2022-06-03 01:24:38.284 -MN ShellNotify: SHCNE_CREATE: D:\test\New &Text File.txt | New &Text File.txt > |
--------------------------------------------------------------------------------------------------
2.807 - 2022-06-03 01:24:41.091 -MN ShellNotify: SHCNE_RENAMEITEM: D:\test\New &Text File.txt | New &Text File.txt > D:\test\test.txt | test.txt
--------------------------------------------------------------------------------------------------
9.374 - 2022-06-03 01:24:50.465 -MN ShellNotify: SHCNE_CREATE: D:\test\New &Text File.txt | New &Text File.txt > |
1.596 - 2022-06-03 01:24:52.061 -MN ShellNotify: SHCNE_RENAMEITEM: D:\test\New &Text File.txt | New &Text File.txt > D:\test\test2.txt | test2.txt
1.950 - 2022-06-03 01:24:54.011 -MN WatchDir IN: 0 | 1 | D:\test
0 - 2022-06-03 01:24:54.011 -MN WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit: fRefreshDoneManually_1
--------------------------------------------------------------------------------------------------
2.971 - 2022-06-03 01:24:56.982 -MN WatchDir IN: 0 | 1 | D:\test
0 - 2022-06-03 01:24:56.982 -MN WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit2: path not listed in Pane 2Exit: fRefreshDoneManually_1 ... this should save unnecessary work. When third party apps are involved we can get into a race condition where this backfires. Difficult to control.Exit2: path not listed in Pane 2 ... is this relevant here? Is all this happening on the 2nd pane?D:\test>echo >a.txtD:\test>del a.txtD:\test>echo >b.txtD:\test>move b.txt v:\ 1 file(s) moved.D:\test>del c.txtD:\test>move d.txt v:\ 1 file(s) moved.Code: Select all
XYplorer 23.10.0028 - Windows 11 Professional, 64-bit, Release 2009, Build 22000.675 - 2022-06-04 11:47:52
==============================================================================================================
0 - 2022-06-04 11:46:30.374 -MN WatchDir IN: 0 | 25 | D:\test
1 - 2022-06-04 11:46:30.375 -MN WatchDir OUT: Change detected [Pane 1]: Type 25 (0x19) |
Exit2: path not listed in Pane 2
--------------------------------------------------------------------------------------------------
6.871 - 2022-06-04 11:46:37.246 -MN WatchDir IN: 0 | 1 | D:\test
0 - 2022-06-04 11:46:37.246 -MN WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit2: path not listed in Pane 2
--------------------------------------------------------------------------------------------------
22.032 - 2022-06-04 11:46:59.278 -MN WatchDir IN: 0 | 25 | D:\test
1 - 2022-06-04 11:46:59.279 -MN WatchDir OUT: Change detected [Pane 1]: Type 25 (0x19) |
Exit2: path not listed in Pane 2
--------------------------------------------------------------------------------------------------
10.624 - 2022-06-04 11:47:09.903 -MN WatchDir IN: 0 | 1 | D:\test
0 - 2022-06-04 11:47:09.903 -MN WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit2: path not listed in Pane 2
--------------------------------------------------------------------------------------------------
7.263 - 2022-06-04 11:47:17.166 -MN ShellNotify: SHCNE_CREATE: D:\test\New &Text File.txt | New &Text File.txt > |
1.676 - 2022-06-04 11:47:18.842 -MN ShellNotify: SHCNE_RENAMEITEM: D:\test\New &Text File.txt | New &Text File.txt > D:\test\c.txt | c.txt
--------------------------------------------------------------------------------------------------
7.622 - 2022-06-04 11:47:26.464 -MN WatchDir IN: 0 | 1 | D:\test
0 - 2022-06-04 11:47:26.464 -MN WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit: fRefreshDoneManually_1
--------------------------------------------------------------------------------------------------
10.328 - 2022-06-04 11:47:36.792 -MN ShellNotify: SHCNE_CREATE: D:\test\New &Text File.txt | New &Text File.txt > |
719 - 2022-06-04 11:47:37.511 -MN ShellNotify: SHCNE_RENAMEITEM: D:\test\New &Text File.txt | New &Text File.txt > D:\test\d.txt | d.txt
--------------------------------------------------------------------------------------------------
5.826 - 2022-06-04 11:47:43.337 -MN WatchDir IN: 0 | 1 | D:\test
0 - 2022-06-04 11:47:43.337 -MN WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit: fRefreshDoneManually_1
Code: Select all
XYplorer 23.00.0204 - Windows 11 Professional, 64-bit, Release 2009, Build 22000.675 - 2022-06-04 12:08:48
==============================================================================================================
0 - 2022-06-04 12:08:41.116 --- WatchDir IN: 0 | 1 | D:\test
0 - 2022-06-04 12:08:41.116 --- WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit1: IsRenaming
Exit2: path not listed in Pane 2
269 - 2022-06-04 12:08:41.385 --- ShellNotify: SHCNE_CREATE: D:\test\New Text File.txt | New Text File.txt > |
909 - 2022-06-04 12:08:42.294 --- ShellNotify: SHCNE_RENAMEITEM: D:\test\New Text File.txt | New Text File.txt > D:\test\test.txt | test.txt
--------------------------------------------------------------------------------------------------
2.578 - 2022-06-04 12:08:44.872 --- WatchDir IN: 0 | 1 | D:\test
0 - 2022-06-04 12:08:44.872 --- WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit2: path not listed in Pane 2
308 - 2022-06-04 12:08:45.180 --- tmrDelay, Path=D:\test\, lDelayedActionOrig=15, CanR=True
0 - 2022-06-04 12:08:45.180 --- RefreshPane 1, flags=0Code: Select all
XYplorer 23.00.0205 - Windows 11 Professional, 64-bit, Release 2009, Build 22000.675 - 2022-06-04 12:09:50
==============================================================================================================
0 - 2022-06-04 12:09:36.914 --- WatchDir IN: 0 | 1 | D:\test
0 - 2022-06-04 12:09:36.914 --- WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit1: IsRenaming
Exit2: path not listed in Pane 2
254 - 2022-06-04 12:09:37.168 --- ShellNotify: SHCNE_CREATE: D:\test\New Text File.txt | New Text File.txt > |
987 - 2022-06-04 12:09:38.155 --- ShellNotify: SHCNE_RENAMEITEM: D:\test\New Text File.txt | New Text File.txt > D:\test\test.txt | test.txt
1.891 - 2022-06-04 12:09:40.046 --- WatchDir IN: 0 | 1 | D:\test
0 - 2022-06-04 12:09:40.046 --- WatchDir OUT: Change detected [Pane 1]: Type 1 (0x1) |
Exit: fRefreshDoneManually_1