Resort list immediately upon rename
Forum rules
READ THIS AND DO IT!!!
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%).
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.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
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%).
-
ivan
- Posts: 577
- Joined: 02 Apr 2008 12:52
- Contact:
Resort list immediately upon rename
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...
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


-
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
Works alright here. Take care that sort order is by Name or Ext or Type, else no effect can be expected.
FAQ | XY News RSS | XY X
-
ivan
- Posts: 577
- Joined: 02 Apr 2008 12:52
- Contact:
Re: Resort list immediately upon rename
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.admin wrote:Works alright here. Take care that sort order is by Name or Ext or Type, else no effect can be expected.
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122


-
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
How do you rename? This works only for manual rename.ivan wrote: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.admin wrote:Works alright here. Take care that sort order is by Name or Ext or Type, else no effect can be expected.
FAQ | XY News RSS | XY X
-
ivan
- Posts: 577
- Joined: 02 Apr 2008 12:52
- Contact:
Re: Resort list immediately upon rename
I go into edit mode and paste the new name over the current one.admin wrote:How do you rename? This works only for manual rename.
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


-
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
Just asking. Here it does work for any kind of rename.ivan wrote:I go into edit mode and paste the new name over the current one.admin wrote:How do you rename? This works only for manual rename.
P.S. Should work for any kind of rename, be it manual, via a script or otherwise.
FAQ | XY News RSS | XY X
-
ivan
- Posts: 577
- Joined: 02 Apr 2008 12:52
- Contact:
Re: Resort list immediately upon 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.admin wrote:Just asking. Here it does work for any kind of rename.
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122


-
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
Can anybody repro this?ivan wrote: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.admin wrote:Just asking. Here it does work for any kind of rename.
FAQ | XY News RSS | XY X
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Resort list immediately upon rename
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.admin wrote:Can anybody repro this?ivan wrote: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.admin wrote: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
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.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.
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122


-
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
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.ivan wrote: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.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.
FAQ | XY News RSS | XY X
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: Resort list immediately upon rename
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.
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
I agree, and fixed that little exception.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.
FAQ | XY News RSS | XY X
-
ivan
- Posts: 577
- Joined: 02 Apr 2008 12:52
- Contact:
Re: Resort list immediately upon rename
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.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.
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122


-
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
Tomorrow's history:ivan wrote: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.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.
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.FAQ | XY News RSS | XY X
XYplorer Beta Club