Page 4 of 4

Re: Resort on Rename

Posted: 08 Dec 2024 20:43
by Quaraxkad
It seems to be intermittent...

Code: Select all

XYplorer 26.70.0200  -  30-Day Trial Version - Day 1  -  Windows 11 Pro, 64-bit, Version 21H2, Build 22000.318 (10.0)  -  2024-12-08 14:39:39
=============================================================================================================================================

        0  -  2024-12-08 14:38:54.314  ---  ShellNotify: SHCNE_CREATE: D:\test\New Text File.txt | New Text File.txt >  | 
        1  -  2024-12-08 14:38:54.315  ---  HSNE.SHCNE_CREATE: Tree.R -> D:\test\
    1.037  -  2024-12-08 14:38:55.352  ---  ShellNotify: SHCNE_RENAMEITEM: D:\test\New Text File.txt | New Text File.txt > D:\test\a.txt | a.txt
  --------------------------------------------------------------------------------------------------
    8.716  -  2024-12-08 14:39:04.068  ---  WUL.List1.SetDelay -> D:\test\
        0  -  2024-12-08 14:39:04.068  ---  Watch.Exit -> Change detected [Pane 1]: Type 1 (0x1)
  Exit2: path not listed in Pane 2
      309  -  2024-12-08 14:39:04.377  ---  > delayed ListRefresh Pane 1: True
  --------------------------------------------------------------------------------------------------
    2.708  -  2024-12-08 14:39:07.085  ---  ShellNotify: SHCNE_CREATE: D:\test\New Text File.txt | New Text File.txt >  | 
        1  -  2024-12-08 14:39:07.086  ---  HSNE.SHCNE_CREATE: Tree.R -> D:\test\
      752  -  2024-12-08 14:39:07.838  ---  ShellNotify: SHCNE_RENAMEITEM: D:\test\New Text File.txt | New Text File.txt > D:\test\f.txt | f.txt
    1.858  -  2024-12-08 14:39:09.696  ---  WUL.List1.SetDelay -> D:\test\
        0  -  2024-12-08 14:39:09.696  ---  Watch.Exit -> Change detected [Pane 1]: Type 1 (0x1)
  Exit2: path not listed in Pane 2
      304  -  2024-12-08 14:39:10.000  ---  > delayed ListRefresh Pane 1: True
  --------------------------------------------------------------------------------------------------
    4.252  -  2024-12-08 14:39:14.252  ---  ShellNotify: SHCNE_CREATE: D:\test\New Text File.txt | New Text File.txt >  | 
        1  -  2024-12-08 14:39:14.253  ---  HSNE.SHCNE_CREATE: Tree.R -> D:\test\
        0  -  2024-12-08 14:39:14.253  ---  HSNE.SHCNE_CREATE: List.SetDelay -> 15
      311  -  2024-12-08 14:39:14.564  ---  > delayed ListRefresh Pane 1: True
    1.236  -  2024-12-08 14:39:15.800  ---  ShellNotify: SHCNE_CREATE: D:\test\New Text File-01.txt | New Text File-01.txt >  | 
        1  -  2024-12-08 14:39:15.801  ---  HSNE.SHCNE_CREATE: Tree.R -> D:\test\
      783  -  2024-12-08 14:39:16.584  ---  ShellNotify: SHCNE_RENAMEITEM: D:\test\New Text File-01.txt | New Text File-01.txt > D:\test\g.txt | g.txt
  --------------------------------------------------------------------------------------------------
    6.078  -  2024-12-08 14:39:22.662  ---  Watch.Exit -> Change detected [Pane 1]: Type 1 (0x1)
  Exit1: no resort after rename (1)
  Exit2: path not listed in Pane 2
  --------------------------------------------------------------------------------------------------
    6.249  -  2024-12-08 14:39:28.911  ---  Watch.Exit -> Change detected [Pane 1]: Type 1 (0x1)
  Exit1: no resort after rename (1)
  Exit2: path not listed in Pane 2
Created a.txt, deleted in command line, auto-refreshed. Created f.txt, deleted in command line, auto-refreshed. Created New Text File.txt and g.txt. deleted both in command line, no auto-refresh.

Re: Resort on Rename

Posted: 08 Dec 2024 21:19
by admin
Confirmed. I'll remove the fix.

Re: Resort on Rename

Posted: 09 Dec 2024 11:42
by admin
Next beta has a new fix. :)

Re: Resort on Rename

Posted: 09 Dec 2024 16:39
by Quaraxkad
Looks like we've swapped bugs again!

Deleting from command line triggered a refresh. Resort on rename disabled not honored on a mapped network drive (V:\).

Code: Select all

XYplorer 26.70.0202  -  30-Day Trial Version - Day 1  -  Windows 11 Pro, 64-bit, Version 21H2, Build 22000.318 (10.0)  -  2024-12-09 10:34:03
=============================================================================================================================================

        0  -  2024-12-09 10:33:10.149  ---  ShellNotify: SHCNE_CREATE: D:\test\New Text File.txt | New Text File.txt >  | 
        1  -  2024-12-09 10:33:10.150  ---  HSNE.SHCNE_CREATE: Tree.R -> D:\test\
      575  -  2024-12-09 10:33:10.725  ---  ShellNotify: SHCNE_RENAMEITEM: D:\test\New Text File.txt | New Text File.txt > D:\test\a.txt | a.txt
    2.418  -  2024-12-09 10:33:13.143  ---  WUL.List1.SetDelay -> D:\test\
        0  -  2024-12-09 10:33:13.143  ---  Watch.Exit -> Change detected [Pane 1]: Type 1 (0x1)
  Exit2: path not listed in Pane 2
      313  -  2024-12-09 10:33:13.456  ---  > delayed ListRefresh Pane 1: True
    2.381  -  2024-12-09 10:33:15.837  ---  ShellNotify: SHCNE_CREATE: D:\test\New Text File.txt | New Text File.txt >  | 
        0  -  2024-12-09 10:33:15.837  ---  HSNE.SHCNE_CREATE: Tree.R -> D:\test\
        0  -  2024-12-09 10:33:15.837  ---  HSNE.SHCNE_CREATE: List.SetDelay -> 15
      306  -  2024-12-09 10:33:16.143  ---  > delayed ListRefresh Pane 1: True
    1.517  -  2024-12-09 10:33:17.661  ---  ShellNotify: SHCNE_CREATE: D:\test\New Text File-01.txt | New Text File-01.txt >  | 
        1  -  2024-12-09 10:33:17.662  ---  HSNE.SHCNE_CREATE: Tree.R -> D:\test\
    1.035  -  2024-12-09 10:33:18.697  ---  ShellNotify: SHCNE_RENAMEITEM: D:\test\New Text File-01.txt | New Text File-01.txt > D:\test\d.txt | d.txt
  --------------------------------------------------------------------------------------------------
    2.726  -  2024-12-09 10:33:21.423  ---  WUL.List1.SetDelay -> D:\test\
        0  -  2024-12-09 10:33:21.423  ---  Watch.Exit -> Change detected [Pane 1]: Type 1 (0x1)
  Exit2: path not listed in Pane 2
      312  -  2024-12-09 10:33:21.735  ---  > delayed ListRefresh Pane 1: True
    1.725  -  2024-12-09 10:33:23.460  ---  WUL.List1.SetDelay -> D:\test\
        0  -  2024-12-09 10:33:23.460  ---  Watch.Exit -> Change detected [Pane 1]: Type 1 (0x1)
  Exit2: path not listed in Pane 2
      309  -  2024-12-09 10:33:23.769  ---  > delayed ListRefresh Pane 1: True
  --------------------------------------------------------------------------------------------------
    6.818  -  2024-12-09 10:33:30.587  ---  ShellNotify: SHCNE_CREATE: V:\New Text File.txt | New Text File.txt >  | 
       17  -  2024-12-09 10:33:30.604  ---  HSNE.SHCNE_CREATE: Tree.R -> V:\
    1.084  -  2024-12-09 10:33:31.688  ---  Watch.Exit -> Change detected [Pane 1]: Type 1 (0x1)
  Exit1: IsRenaming
  Exit2: path not listed in Pane 2
      354  -  2024-12-09 10:33:32.042  ---  ShellNotify: SHCNE_RENAMEITEM: V:\New Text File.txt | New Text File.txt > V:\a.txt | a.txt
        0  -  2024-12-09 10:33:32.042  ---  ShellNotify: SHCNE_CREATE: V:\New Text File.txt | New Text File.txt >  | 
       15  -  2024-12-09 10:33:32.057  ---  HSNE.SHCNE_CREATE: Tree.R -> V:\
      422  -  2024-12-09 10:33:32.479  ---  WUL.List1.SetDelay -> V:\
        0  -  2024-12-09 10:33:32.479  ---  Watch.Exit -> Change detected [Pane 1]: Type 1 (0x1)
  Exit2: path not listed in Pane 2
      255  -  2024-12-09 10:33:32.734  ---  ShellNotify: SHCNE_RENAMEITEM: V:\New Text File.txt | New Text File.txt > V:\b.txt | b.txt
       49  -  2024-12-09 10:33:32.783  ---  > delayed ListRefresh Pane 1: False
      784  -  2024-12-09 10:33:33.567  ---  WUL.List1.SetDelay -> V:\
        0  -  2024-12-09 10:33:33.567  ---  Watch.Exit -> Change detected [Pane 1]: Type 1 (0x1)
  Exit2: path not listed in Pane 2
      299  -  2024-12-09 10:33:33.866  ---  ShellNotify: SHCNE_RENAMEITEM: V:\a.txt | a.txt > V:\z.txt | z.txt
       10  -  2024-12-09 10:33:33.876  ---  > delayed ListRefresh Pane 1: True
  --------------------------------------------------------------------------------------------------
    5.475  -  2024-12-09 10:33:39.351  ---  WUL.List1.SetDelay -> V:\
        0  -  2024-12-09 10:33:39.351  ---  Watch.Exit -> Change detected [Pane 1]: Type 1 (0x1)
  Exit2: path not listed in Pane 2
      110  -  2024-12-09 10:33:39.462  ---  ShellNotify: SHCNE_RENAMEITEM: V:\b.txt | b.txt > V:\zzb.txt | zzb.txt
      196  -  2024-12-09 10:33:39.658  ---  > delayed ListRefresh Pane 1: True

Re: Resort on Rename

Posted: 09 Dec 2024 17:03
by admin
On the bright side, this one's the less nasty of the two bugs. :titter:

And its nature changed. The next version will have improved logging. We're getting closer...

Re: Resort on Rename

Posted: 14 Dec 2024 05:24
by Quaraxkad
Here's a new log of resort on rename over network:

Code: Select all

XYplorer 26.70.0302  -  30-Day Trial Version - Day 1  -  Windows 11 Pro, 64-bit, Version 21H2, Build 22000.318 (10.0)  -  2024-12-13 23:20:36
=============================================================================================================================================

        0  -  2024-12-13 23:20:27.029  ---  SWC+1 - Pane 1 - Both: False
      509  -  2024-12-13 23:20:27.538  ---  ShellNotify: SHCNE_CREATE: V:\New Text File.txt | New Text File.txt >  | 
        8  -  2024-12-13 23:20:27.546  ---  HSNE.SHCNE_CREATE: Tree.R -> V:\
      467  -  2024-12-13 23:20:28.013  ---  SWC+1 - Pane 1 - Both: False
      348  -  2024-12-13 23:20:28.361  ---  WUL.List1.SetDelay -> V:\
      161  -  2024-12-13 23:20:28.522  ---  ShellNotify: SHCNE_RENAMEITEM: V:\New Text File.txt | New Text File.txt > V:\a.txt | a.txt
      150  -  2024-12-13 23:20:28.672  ---  > delayed ListRefresh Pane 1: True
      466  -  2024-12-13 23:20:29.138  ---  SWC+1 - Pane 1 - Both: False
      498  -  2024-12-13 23:20:29.636  ---  ShellNotify: SHCNE_CREATE: V:\New Text File.txt | New Text File.txt >  | 
        8  -  2024-12-13 23:20:29.644  ---  HSNE.SHCNE_CREATE: Tree.R -> V:\
      593  -  2024-12-13 23:20:30.237  ---  SWC+1 - Pane 1 - Both: False
      311  -  2024-12-13 23:20:30.548  ---  WUL.List1.SetDelay -> V:\
      194  -  2024-12-13 23:20:30.742  ---  ShellNotify: SHCNE_RENAMEITEM: V:\New Text File.txt | New Text File.txt > V:\b.txt | b.txt
      118  -  2024-12-13 23:20:30.860  ---  > delayed ListRefresh Pane 1: True
    1.709  -  2024-12-13 23:20:32.569  ---  SWC+1 - Pane 1 - Both: False
      323  -  2024-12-13 23:20:32.892  ---  WUL.List1.SetDelay -> V:\
      181  -  2024-12-13 23:20:33.073  ---  ShellNotify: SHCNE_RENAMEITEM: V:\a.txt | a.txt > V:\c.txt | c.txt
      132  -  2024-12-13 23:20:33.205  ---  > delayed ListRefresh Pane 1: True

Re: Resort on Rename

Posted: 14 Dec 2024 10:41
by admin
Looks strange. It's totally not what I get on Win10. Are these operations (create, rename) done manually?

PS: Next beta has better logs again.

Re: Resort on Rename

Posted: 14 Dec 2024 22:14
by Quaraxkad
Yes, all create and renames are done manually, in XY.

Code: Select all

XYplorer 26.70.0303  -  30-Day Trial Version - Day 1  -  Windows 11 Pro, 64-bit, Version 21H2, Build 22000.318 (10.0)  -  2024-12-14 16:11:54
=============================================================================================================================================

        0  -  2024-12-14 16:11:44.724  ---  SWC+1 - Pane 1 - Source: CNItem
       89  -  2024-12-14 16:11:44.813  ---  CheckWatch.Suspended (1) -- now 0
      423  -  2024-12-14 16:11:45.236  ---  ShellNotify: SHCNE_CREATE: V:\New Text File.txt | New Text File.txt >  | 
       25  -  2024-12-14 16:11:45.261  ---  HSNE.SHCNE_CREATE: Tree.R -> V:\
      502  -  2024-12-14 16:11:45.763  ---  SWC+1 - Pane 1 - Source: PrepRen
      149  -  2024-12-14 16:11:45.912  ---  CheckWatch.Suspended (1) -- now 0
      175  -  2024-12-14 16:11:46.087  ---  SWC+1 - Pane 1 - Source: CNItem
      134  -  2024-12-14 16:11:46.221  ---  CheckWatch.Suspended (1) -- now 0
      367  -  2024-12-14 16:11:46.588  ---  ShellNotify: SHCNE_RENAMEITEM: V:\New Text File.txt | New Text File.txt > V:\a.txt | a.txt
        0  -  2024-12-14 16:11:46.588  ---  ShellNotify: SHCNE_CREATE: V:\New Text File.txt | New Text File.txt >  | 
       27  -  2024-12-14 16:11:46.615  ---  HSNE.SHCNE_CREATE: Tree.R -> V:\
      824  -  2024-12-14 16:11:47.439  ---  SWC+1 - Pane 1 - Source: PrepRen
       37  -  2024-12-14 16:11:47.476  ---  CheckWatch.Suspended (1) -- now 0
      149  -  2024-12-14 16:11:47.625  ---  WUL.List1.SetDelay on 1 -> V:\
      314  -  2024-12-14 16:11:47.939  ---  > delayed ListRefresh Pane 1: True
       18  -  2024-12-14 16:11:47.957  ---  ShellNotify: SHCNE_RENAMEITEM: V:\New Text File.txt | New Text File.txt > V:\b.txt | b.txt
    1.775  -  2024-12-14 16:11:49.732  ---  SWC+1 - Pane 1 - Source: PrepRen
       81  -  2024-12-14 16:11:49.813  ---  CheckWatch.Suspended (1) -- now 0
      314  -  2024-12-14 16:11:50.127  ---  WUL.List1.SetDelay on 1 -> V:\
      120  -  2024-12-14 16:11:50.247  ---  ShellNotify: SHCNE_RENAMEITEM: V:\a.txt | a.txt > V:\c.txt | c.txt
      193  -  2024-12-14 16:11:50.440  ---  > delayed ListRefresh Pane 1: True

Re: Resort on Rename

Posted: 15 Dec 2024 10:22
by admin
Thanks, I could finally reproduce what you see and implement another fix. Let's see what other problems come back now :)

Re: Resort on Rename

Posted: 27 Dec 2024 06:17
by Quaraxkad
The fix in 26.70.0305 has been working well on both counts! But there's one thing I've started to notice that may be related, maybe to this new CheckWatch log entry? It can be replicated using a command prompt window. Here's a log and the steps to reproduce in the latest beta.

Code: Select all

XYplorer 26.70.0404  -  30-Day Trial Version - Day 1  -  Windows 11 Pro, 64-bit, Version 21H2, Build 22000.318 (10.0)  -  2024-12-26 22:33:56
=============================================================================================================================================

        0  -  2024-12-26 22:33:35.642  ---  SWC+1 - Pane 1 - Source: CNItem
       83  -  2024-12-26 22:33:35.725  ---  CheckWatch.Suspended (1) -- now 0
      417  -  2024-12-26 22:33:36.142  ---  ShellNotify: SHCNE_CREATE: D:\test\New Text File.txt | New Text File.txt >  | 
        1  -  2024-12-26 22:33:36.143  ---  HSNE.SHCNE_CREATE: Tree.R -> D:\test\
    1.318  -  2024-12-26 22:33:37.461  ---  SWC+2 - Pane 1 - Source: PrepRen
      139  -  2024-12-26 22:33:37.600  ---  CheckWatch.Suspended (1) -- now 1
      158  -  2024-12-26 22:33:37.758  ---  CheckWatch.Suspended (1) -- now 0
      197  -  2024-12-26 22:33:37.955  ---  ShellNotify: SHCNE_RENAMEITEM: D:\test\New Text File.txt | New Text File.txt > D:\test\a.txt | a.txt
  --------------------------------------------------------------------------------------------------
    5.996  -  2024-12-26 22:33:43.951  ---  SWC+1 - Pane 1 - Source: CNItem
       49  -  2024-12-26 22:33:44.000  ---  CheckWatch.Suspended (1) -- now 0
      440  -  2024-12-26 22:33:44.440  ---  ShellNotify: SHCNE_CREATE: D:\test\New Text File.txt | New Text File.txt >  | 
        1  -  2024-12-26 22:33:44.441  ---  HSNE.SHCNE_CREATE: Tree.R -> D:\test\
      162  -  2024-12-26 22:33:44.603  ---  SWC+2 - Pane 1 - Source: PrepRen
       26  -  2024-12-26 22:33:44.629  ---  CheckWatch.Suspended (1) -- now 1
      472  -  2024-12-26 22:33:45.101  ---  ShellNotify: SHCNE_RENAMEITEM: D:\test\New Text File.txt | New Text File.txt > D:\test\b.txt | b.txt
  --------------------------------------------------------------------------------------------------
    7.339  -  2024-12-26 22:33:52.440  ---  CheckWatch.SuspendCountDown (1) -> Reset from 1 to 0 by time
        0  -  2024-12-26 22:33:52.440  ---  CheckWatch.ChangeDetected (1) - cntChanges: 6
        0  -  2024-12-26 22:33:52.440  ---  WUL.List1.SetDelay on 1 -> D:\test\
      311  -  2024-12-26 22:33:52.751  ---  > delayed ListRefresh Pane 1: True
This is on a local directory, I have not tested a network share. Create a new file in XY, named a.txt. *Immediately* run del a.txt from a command line. The list does not refresh. Create another file in XY, b.txt. The new file is created, and a.txt still shows in the list. Wait a few seconds and then run del b.txt from a command line, the list refreshes and both files are removed from the list. I suspect there's a timer that delays a a list refresh?

Re: Resort on Rename

Posted: 27 Dec 2024 09:32
by admin
Create a new file in XY, named a.txt. *Immediately* run del a.txt from a command line.
Yes, it is related to the recent changes, but obviously it is a fairly rare special case. I won't do anything about it now, as the refresh will soon be completely rewritten.

Re: Resort on Rename

Posted: 28 Dec 2024 04:09
by Quaraxkad
admin wrote: 27 Dec 2024 09:32Yes, it is related to the recent changes, but obviously it is a fairly rare special case. I won't do anything about it now, as the refresh will soon be completely rewritten.
Yeah, the reproducable scenario I posted is pretty rare, but I actually run into it regularly in my normal workflow when I rename a file and then immediately drag+drop it to another folder. And since the move is handled externally by TeraCopy, XY doesn't refresh. I tested to confirm, the list *does* immediately refresh when the internal XYcopy is the default handler.

How long is actual delay?

Re: Resort on Rename

Posted: 28 Dec 2024 10:51
by admin
Next beta should fix that.

Re: Resort on Rename

Posted: 28 Dec 2024 19:27
by Quaraxkad
Seems to be working, thank you!