Missing message if a file can't get renamed

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

vommie
Posts: 113
Joined: Sat Apr 14, 2007 2:36 am
Location: Berlin

Missing message if a file can't get renamed

Post by vommie »

Hi

If you rename a file, but the target name (/file) already exists in the same dir, XnView just cancels the renaming but don't gives the user information about.

Example:
A.jpg and B.jpg in the same directory
Rename A.jpg to B.jpg - nothing happens.

I think a filename-conflict dialog could be nice, because it could be confusing in some cases (like folders with thousands files, active filters, or sorted by other than filename)
User avatar
m.Th.
XnThusiast
Posts: 1646
Joined: Wed Aug 16, 2006 6:31 am

Re: Missing message if a file can't get renamed

Post by m.Th. »

vommie wrote:Hi

If you rename a file, but the target name (/file) already exists in the same dir, XnView just cancels the renaming but don't gives the user information about.

Example:
A.jpg and B.jpg in the same directory
Rename A.jpg to B.jpg - nothing happens.

I think a filename-conflict dialog could be nice, because it could be confusing in some cases (like folders with thousands files, active filters, or sorted by other than filename)
+1!
m. Th.

- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
User avatar
xnview
Author of XnView
Posts: 42515
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Missing message if a file can't get renamed

Post by xnview »

Bug confirmed and will be fixed. See issue Issue 18 for current status and details.
Pierre.
User avatar
CreativeWorld
Posts: 137
Joined: Fri Dec 30, 2011 7:08 pm

Re: Missing message if a file can't get renamed

Post by CreativeWorld »

This fix seams to have introduced
another problem.

If one starts renaming a file,
but doesn't change the name,
if one now clicks outside the
filename area (under the thumbnail)
then the rename dialog box opens.


It should probably recognize that
nothing was changed and just cancel
the renaming operation.

That's how it works in nemo
(the file explorer in linux mint),
and i'm pretty sure that's how it
works in the windows file explorer.


Tested with:
XnView MP v0.64, with default settings
(deleted the .ini, .keys and .db files)
on linux mint 15 cinnamon 32bit
User avatar
xnview
Author of XnView
Posts: 42515
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Missing message if a file can't get renamed

Post by xnview »

Bug confirmed and will be fixed. See Issue 211 for current status and details.
Pierre.