Resort list immediately upon rename

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
ivan
Posts: 577
Joined: 02 Apr 2008 12:52
Contact:

Resort list immediately upon rename

Post by ivan »

There is a tickbox in Tools -> Config -> General that is called "Resort list immediately upon rename".

However, the functionality that is provided via that tickbox doesn't work 100%. Resort does not happen IMMEDIATELY upon rename, but only happens if there is some other activity in the folder or the next time a refresh is done (either manually or through a setting in "View"). In fact, I'd hazard a guess that with that box ticked, auto-refresh suspended and no other activity in that folder (including navigating away from it) the resort will never happen.

The way I'd expect the IMMEDIATE functionality to be implemented is once I rename the file and it changes from rename mode to either selected or unselected that's when the resort should be triggered. I understand that this is a literal understanding of "IMMEDIATELY", perhaps even a pedantic one, but I don't see any other way of interpreting it...
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122
Image

admin
Site Admin
Posts: 66523
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Resort list immediately upon rename

Post by admin »

Works alright here. Take care that sort order is by Name or Ext or Type, else no effect can be expected.

ivan
Posts: 577
Joined: 02 Apr 2008 12:52
Contact:

Re: Resort list immediately upon rename

Post by ivan »

admin wrote:Works alright here. Take care that sort order is by Name or Ext or Type, else no effect can be expected.
My files do get sorted by name so that's why I expected an effect, but none happened unless I have refresh switched on or manually initiated activity.
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122
Image

admin
Site Admin
Posts: 66523
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Resort list immediately upon rename

Post by admin »

ivan wrote:
admin wrote:Works alright here. Take care that sort order is by Name or Ext or Type, else no effect can be expected.
My files do get sorted by name so that's why I expected an effect, but none happened unless I have refresh switched on or manually initiated activity.
How do you rename? This works only for manual rename.

ivan
Posts: 577
Joined: 02 Apr 2008 12:52
Contact:

Re: Resort list immediately upon rename

Post by ivan »

admin wrote:How do you rename? This works only for manual rename.
I go into edit mode and paste the new name over the current one.

P.S. Should work for any kind of rename, be it manual, via a script or otherwise.
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122
Image

admin
Site Admin
Posts: 66523
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Resort list immediately upon rename

Post by admin »

ivan wrote:
admin wrote:How do you rename? This works only for manual rename.
I go into edit mode and paste the new name over the current one.

P.S. Should work for any kind of rename, be it manual, via a script or otherwise.
Just asking. Here it does work for any kind of rename.

ivan
Posts: 577
Joined: 02 Apr 2008 12:52
Contact:

Re: Resort list immediately upon rename

Post by ivan »

admin wrote:Just asking. Here it does work for any kind of rename.
The way I test is I have several packs of RAR files each of which has one file stored inside. I extract from one pack, rename the file and only when I start extracting from the next pack, which means a new file appears, the freshly-renamed one goes where it is supposed to.
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122
Image

admin
Site Admin
Posts: 66523
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Resort list immediately upon rename

Post by admin »

ivan wrote:
admin wrote:Just asking. Here it does work for any kind of rename.
The way I test is I have several packs of RAR files each of which has one file stored inside. I extract from one pack, rename the file and only when I start extracting from the next pack, which means a new file appears, the freshly-renamed one goes where it is supposed to.
Can anybody repro this?

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Resort list immediately upon rename

Post by serendipity »

admin wrote:
ivan wrote:
admin wrote:Just asking. Here it does work for any kind of rename.
The way I test is I have several packs of RAR files each of which has one file stored inside. I extract from one pack, rename the file and only when I start extracting from the next pack, which means a new file appears, the freshly-renamed one goes where it is supposed to.
Can anybody repro this?
Cannot reproduce here. To test that I created a new folder and created some 10 new text files. I went to the last text file and renamed it to "01" and it automatically jumps to first position after i hit enter. So all fine here with v0046.

ivan
Posts: 577
Joined: 02 Apr 2008 12:52
Contact:

Re: Resort list immediately upon rename

Post by ivan »

serendipity wrote:Cannot reproduce here. To test that I created a new folder and created some 10 new text files. I went to the last text file and renamed it to "01" and it automatically jumps to first position after i hit enter. So all fine here with v0046.
Sorry, I had to delete my previous reply because, as it turns out, it actually doesn't work and a different method that I tried was not valid so it has produced a false positive. Just renamed a file manually, click on an empty space to loose the focus and it's still where it is.
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122
Image

admin
Site Admin
Posts: 66523
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Resort list immediately upon rename

Post by admin »

ivan wrote:
serendipity wrote:Cannot reproduce here. To test that I created a new folder and created some 10 new text files. I went to the last text file and renamed it to "01" and it automatically jumps to first position after i hit enter. So all fine here with v0046.
Sorry, I had to delete my previous reply because, as it turns out, it actually doesn't work and a different method that I tried was not valid so it has produced a false positive. Just renamed a file manually, click on an empty space to loose the focus and it's still where it is.
Ah! You currently have to <enter> for this functionality to work. I'm not even sure if I should fix this. It's a handy option to have the file either jump or stay.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Resort list immediately upon rename

Post by TheQwerty »

Yep, I can reproduce that.

1) Enter rename mode.
2) Change file name.
3) Exit rename mode by clicking on another file.

Oddly, it seems you can repeat these steps multiple times without it re-sorting.
However, if you remove step 2, so that you enter rename mode and exit without making a change, it will resort.

Using Tab to exit rename mode seems to produce the same results.

EDIT: I feel this behavior (except for re-sorting when no change is made) is the better option when using Tab. Not so sure about mouse.

admin
Site Admin
Posts: 66523
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Resort list immediately upon rename

Post by admin »

TheQwerty wrote:Yep, I can reproduce that.

1) Enter rename mode.
2) Change file name.
3) Exit rename mode by clicking on another file.

Oddly, it seems you can repeat these steps multiple times without it re-sorting.
However, if you remove step 2, so that you enter rename mode and exit without making a change, it will resort.

Using Tab to exit rename mode seems to produce the same results.

EDIT: I feel this behavior (except for re-sorting when no change is made) is the better option when using Tab. Not so sure about mouse.
I agree, and fixed that little exception.

ivan
Posts: 577
Joined: 02 Apr 2008 12:52
Contact:

Re: Resort list immediately upon rename

Post by ivan »

admin wrote:Ah! You currently have to <enter> for this functionality to work. I'm not even sure if I should fix this. It's a handy option to have the file either jump or stay.
Yes, I believe you should fix it. The logic would speak that, if aforementioned tickbox is ticked, any operation, be it a click of a mouse elsewhere, pressing enter, navigating to another folder etc that would result in finalization of a rename procedure should be treated as such and result in resorting mechanism being triggered.
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122
Image

admin
Site Admin
Posts: 66523
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Resort list immediately upon rename

Post by admin »

ivan wrote:
admin wrote:Ah! You currently have to <enter> for this functionality to work. I'm not even sure if I should fix this. It's a handy option to have the file either jump or stay.
Yes, I believe you should fix it. The logic would speak that, if aforementioned tickbox is ticked, any operation, be it a click of a mouse elsewhere, pressing enter, navigating to another folder etc that would result in finalization of a rename procedure should be treated as such and result in resorting mechanism being triggered.
Tomorrow's history:

Code: Select all

    ! With "Resort list immediately after rename" active, the list 
      should NOT be immediately resorted when the rename was done using 
      TAB (serial rename) or by clicking outside the rename box (immediate 
      resort is perceived as disturbing). This worked so far, but the list 
      was actually resorted when the name of the file to be renamed was 
      not changed. So there was an unwanted exception from the exception. 
      Fixed.

Post Reply