Save as... keeps old file open (acts as Save copy...)
Moderators: helmut, XnTriq, xnview, Dreamer
Save as... keeps old file open (acts as Save copy...)
When doing a Save as, after the save, the original file is still opened and the new file is not open. This is counterintuitive and dangerous because then it is likely we overwrite our original picture, thinking we're working on the copy.
This happens even though the "Use output filename after Save as" option is enabled.
This happens even though the "Use output filename after Save as" option is enabled.
Re: Save as... keeps old file open (acts as Save copy...)
I lost a photo today because of this bug.
I cropped a photo and, because I didn't want to alter the original file, save it under a new file right after I cropped and then I proceded to do further modifications and I used Ctrl S intending to save my copy.
It overwrote the original file.
This is maddening, I don't understand how I'm the only one annoyed by this, why on earth would anyone want to stick with the original file once we forked it ?
I will pay $$$ for someone to fix this bug it's a liability to my work
My settings are
[ ] Save as copy for 'Save' action
[X] For 'Save as', use original pathname
[X] For 'Save as', use oiriginal format
[X] Use output filename after 'Save as'
I cropped a photo and, because I didn't want to alter the original file, save it under a new file right after I cropped and then I proceded to do further modifications and I used Ctrl S intending to save my copy.
It overwrote the original file.
This is maddening, I don't understand how I'm the only one annoyed by this, why on earth would anyone want to stick with the original file once we forked it ?
I will pay $$$ for someone to fix this bug it's a liability to my work
My settings are
[ ] Save as copy for 'Save' action
[X] For 'Save as', use original pathname
[X] For 'Save as', use oiriginal format
[X] Use output filename after 'Save as'
Re: Save as... keeps old file open (acts as Save copy...)
there is only one solution
user0 wrote: Wed Jun 07, 2023 7:24 pm Suggestion
saving behavior should be reworked to the standard one:
- rework Save as... (Ctrl+Shift+S) command
when image saved via this command - Viewer tab should switch to new image/file
- add new "Save a Copy..." (Ctrl+Alt+S) command
when image saved via this command - Viewer tab should remain currently opened image/file
- remove "Use output filename after 'Save as'" (Settings > File operations)
since it's no longer required
Re: Save as... keeps old file open (acts as Save copy...)
i can't reproduce if 'Use output filename after 'Save as'' is enabled.
- open an image file (file1.jpg)
- save as (file2.jpg)
- crop
- save, file2.jpg is overwritten not file1.jpg
- open an image file (file1.jpg)
- save as (file2.jpg)
- crop
- save, file2.jpg is overwritten not file1.jpg
Pierre.
Re: Save as... keeps old file open (acts as Save copy...)
try to save file2 in different folderxnview wrote: Mon Aug 05, 2024 12:04 pm i can't reproduce if 'Use output filename after 'Save as'' is enabled.
- open an image file (file1.jpg)
- save as (file2.jpg)
- crop
- save, file2.jpg is overwritten not file1.jpg
but the issue is - there should be no functionality to alter "Save as" behavior, period

no need to reinvent the wheel, there are 2 standard commands:
- Save as...
original closed unsaved, new file created and opened
- Save a Copy...
original remain open and not saved, new file created (and not opened)
Re: Save as... keeps old file open (acts as Save copy...)
and remove the 'Use output filename after 'Save as''' setting?user0 wrote: Mon Aug 05, 2024 2:37 pm but the issue is - there should be no functionality to alter "Save as" behavior, period![]()
no need to reinvent the wheel, there are 2 standard commands:
Pierre.
Re: Save as... keeps old file open (acts as Save copy...)
right, 'Use output filename after 'Save as''' should be removed
Re: Save as... keeps old file open (acts as Save copy...)

Pierre.
Re: Save as... keeps old file open (acts as Save copy...)
This problem is supposed to be fixed in XnView MP 1.8.0. Please check and confirm the bug fix here.
Pierre.