Renaming dialogue improvements

Ideas for improvements and requests for new features in XnView MP

Moderator: xnview

svennbg
Posts: 30
Joined: Sun Feb 20, 2022 11:34 am

Renaming dialogue improvements

Post by svennbg »

Hello,

If you change the file name (rename) in single frame view, the following dialogue box appears in the event of a collision.

Error/bug:
When you enter a new file name (red), pressing the Enter key should do RENAME (blue) and not SKIP.
However, pressing Enter xnview do SKIP (green). This means that the new file name is lost if you are not careful.
The Enter key is the intuitive next step after entering the new file name.

Suggested improvement:
It would be good if you could configure the suggestion for the new file name.
And also so that the addition does not come before the original file name, but after it.
Example:
Current: Copy of testname.jpg
Optional/better: testname 1.jpg
The addition before the file name interferes with alphabetical sorting.

Thank you for all your efforts.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 47428
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Renaming dialogue improvements

Post by xnview »

svennbg wrote: Sun Jan 18, 2026 4:12 pm The Enter key is the intuitive next step after entering the new file name.
I need feedback from other users to change that...
It would be good if you could configure the suggestion for the new file name.
And also so that the addition does not come before the original file name, but after it.
Settings>File operations
Pierre.
jkm
Posts: 339
Joined: Sat May 11, 2024 12:43 am

Re: Renaming dialogue improvements

Post by jkm »

In my view, this is a bad idea.

I think that the default action of hitting the Enter key needs to be NON-destructive, in terms of overwriting files on disk. Double-tapping the enter key is too easy to do.

In a case like this, Skip is safe, Replace is not.

The only way replace could safely be the default is if the app automatically appends _1 or something like that to prevent the collision. That is what Batch Rename does.
User avatar
user0
XnThusiast
Posts: 2823
Joined: Sat May 09, 2015 9:37 am

Re: Renaming dialogue improvements

Post by user0 »

svennbg wrote: Sun Jan 18, 2026 4:12 pm When you enter a new file name (red), pressing the Enter key should do RENAME (blue) and not SKIP.
+1
better to auto select Rename button if user set focus on Rename field

related
File operations - conflict dialog - few improvements
Last edited by user0 on Mon Feb 02, 2026 5:40 am, edited 2 times in total.
User avatar
xnview
Author of XnView
Posts: 47428
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Renaming dialogue improvements

Post by xnview »

jkm wrote: Fri Jan 30, 2026 9:16 pm In a case like this, Skip is safe, Replace is not.
i agree
Pierre.
svennbg
Posts: 30
Joined: Sun Feb 20, 2022 11:34 am

Re: Renaming dialogue improvements

Post by svennbg »

better to auto select Rename button if user set focus on Rename field
+1
The focus is crucial.
svennbg
Posts: 30
Joined: Sun Feb 20, 2022 11:34 am

Re: Renaming dialogue improvements

Post by svennbg »

xnview wrote: Fri Jan 30, 2026 3:13 pm Settings>File operations
Thank you, I overlooked that. Sorry.
alee001
Posts: 267
Joined: Sun Sep 04, 2022 4:43 am

Re: Renaming dialogue improvements

Post by alee001 »

The following improvements are suggested:

1) Never add any new characters before the name of a copied file.

viewtopic.php?t=50165

2) If files conflict/are identical, the skip button could be replaced with a dialog box indicating invalidity.

3) After changing the name, users should be able to press "Rename" or "Enter" to check if they accept the changes.