Up/Down in rename tool silently discards input

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Thany
Senior Member
Senior Member
Posts: 292
Joined: 2003-09-30, 09:20 UTC
Location: Netherlands

Up/Down in rename tool silently discards input

Post by *Thany »

Go to the multi-rename tool, and focus the field "Search for".
Type in anything you want (let's call this the original input).
Now press the Up or Down key (on the keyboard).

Result: your input is destroyed and replaced by whatever is in the history. The original input cannot be restored.

Expected: Original input should be restored when using the Up key to navigate to the top of the history list. Or literally *any* other method to get back to your original input.

Why: A regex is not easy to type in, and the up/down keys on the keyboard are easily pressed by accident.

Tested on TC 9.22a on Windows 10.
Total Commander 11 on Windows 10
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Up/Down in rename tool silently discards input

Post by *Usher »

"Rename mask" field uses Ctrl+Up and Ctrl+Down. Other pull-down combobox fields in MRT should use the same keys.
Last edited by Usher on 2019-06-06, 14:28 UTC, edited 1 time in total.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Up/Down in rename tool silently discards input

Post by *ghisler(Author) »

This behaviour of "Up" and "Down" is the default behaviour of all comboboxes on Windows. I have changed it in the "Rename mask" field so you don't accidentally lose a complex rename mask. Currently I don't plan to change it in any other comboboxes because this behaviour is expected by most users.
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Up/Down in rename tool silently discards input

Post by *Usher »

So maybe it's better to allow users to globally choose combobox navigation keys? IMHO it would be more consistent behaviour.
Andrzej P. Wozniak
Polish subforum moderator
Post Reply