HaikuArchives / PecoRename

PecoRename is a powerfull renaming utility, which allows you to rename many files according to a preset pattern.
1 stars 7 forks source link

What is the expected behavior of Numbering Renamer? #23

Open janus2 opened 6 years ago

janus2 commented 6 years ago

The files are numbered always in the order they are loaded from the disk. If the user changes the sort column the preview follow the new order. Is this the expected behavior? Other Renaming aren't effected from the order of the files the only "Renamer" with this problem is the numbering one. Other solutions are very tricky because the BColumnListView doesn't offer a method for knowing the current sort order...

humdingerb commented 6 years ago

IMO, the simplest and most logical solution is to always start the numbering from the first row of the list view. However the user chooses to re-order the list, the first item is always where the numbering starts. If he wants back to the original order, how they were loaded from disk (or drag&dropped), tough luck. Got to close the window and start again. Not too annoying IMO...

janus2 commented 6 years ago

Now works in this way before independently from the order chosen by the user the numbering followed the disk order... There is a problem there is no way to know when the user changes the sorting a design problem of the ColumnListView... So the best we can do is start the numbering with the current sorting, if the user change the order the preview follow the new order until the user interact with some parameters.

humdingerb commented 6 years ago

There is a problem there is no way to know when the user changes the sorting a design problem of the ColumnListView

Wow. That's no good... o_O

janus2 commented 6 years ago

There are so many problems with that widget it's incredible...