Saving a saved lister style rearranges order

When saving a pre-configured Lister Style using the dropdown list in the Save Style dialog


It changes the order of the Styles in Preferences/Layouts and Styles/Styles (which affects the order in Prefs STYLELIST) - moves it the bottom of the list for some reason.

There is a onerous fix for this - in that the Styles can be re-ordered in Preferences/Layouts and Styles/Styles

Pretty sure this is not by design or intended, but if so feature request to have an option not to change order of Styles

How are you saving the style?

There are a few ways it can be done but, as far as I can tell, saving/updating an existing style will leave it where it is in the list without any problem.

OTOH, if you add a new style and then give it the same name as an existing style, then choose Replace when prompted, that gets treated like a delete-and-create, so the new style ends up at the bottom of the list.

(You can instead modify an existing style by right-clicking it in the Lister menu or similar, and choosing the Update option. Or a command like Prefs STYLESAVE="My Style Test" will keep the existing style's position as well.)

Prefs STYLESAVE

updating Commander

So it's prompting you to overwrite the old style with a new one, correct?

Instead of doing that, open the Styles menu, right-click the one you want, and choose Update.

Thanks for tip, this is how I was usually updating