Page 1 of 1

renaming after cropping undoes cropping

Posted: Tue Jan 28, 2025 5:51 pm
by svennbg
If I crop an image and then rename it, the cropping is undone.

From my point of view, it should be the case that the cropping is retained.

My version is 1.8.3 64 bit (Windows)

Re: renaming after cropping undoes cropping

Posted: Tue Feb 04, 2025 11:03 am
by xnview
the problem is that you rename the file without saving it first

Re: renaming after cropping undoes cropping

Posted: Wed Feb 12, 2025 1:55 pm
by svennbg
Yes, of course, but it would be very helpful if there was at least a confirmation prompt here.

Something like this:
You have made changes to the photo.
Should the modified version be renamed?

Or at least:
Attention:
You have made changes to the photo.
If you rename the photo, any unsaved changes will be lost.

Re: renaming after cropping undoes cropping

Posted: Wed Feb 12, 2025 3:51 pm
by user0
it's better to implement renaming-dirty-file-without-reloading functionality, eg like in vscode