Page 1 of 1

After "save as" shows old pic

Posted: Sat Jun 07, 2025 10:40 pm
by golemus
When you save a new version of pic with save as dialogue xnmp does not show it before restart.

Way to reproduce (viewer mode):

- open any pic eg. PIC.jpg
- use save as to save it as something else (e.g. really bad quality avif PIC-q00.avif or jpg PIC-q00.jpg, choose quality 00 01 or so)

Observer behaviour:
- after saving PIC-q00.avif or PIC-q00.jpg looks precisely the same as PIC.jpg before saving. If you press arrow left to go to another pic and then arrow right to return to PIC-q00.avif it still shows image of PIC.jpg. Pressing enter to go to browser and then enter again to return to viewer does not fix issue. The only way to fix it is to restart XNMP.

Expected behaviour:
- after save-as if PIC-q00.avif or jpg remains open the screen should immediately update (quality 00 looks really shitty so it is definitely obvious if you have or have it not open). If not immediately then at least pressing arrow-left, arrow-right buttons once should update it.


I consider this also pretty serious bug as it makes very hard to work with XNMP without constant restarts when you save a lot of different versions of a pic.

Re: after "save as" shows old pic

Posted: Sun Jun 08, 2025 5:30 am
by user0
I can reproduce

need to perform auto reload after Save and Save as commands
to reveal compression result, changes in metadata

Re: After "save as" shows old pic

Posted: Mon Jun 09, 2025 7:43 am
by xnview
if you disable Settings>View>Misc - Read ahead & Keep current?

Re: After "save as" shows old pic

Posted: Mon Jun 09, 2025 8:31 am
by user0
xnview wrote: Mon Jun 09, 2025 7:43 am if you disable Settings>View>Misc - Read ahead & Keep current?
it works (as expected) for OP's case as he uses navigation to reload image

However, in my understanding, loaded image should be automatically reloaded after Save/Save as to reflect changes

Re: After "save as" shows old pic

Posted: Mon Jun 09, 2025 8:41 am
by xnview
user0 wrote: Mon Jun 09, 2025 8:31 am However, in my understanding, loaded image should be automatically reloaded after Save/Save as to reflect changes
yes, 'Keep current' has some issues

Re: After "save as" shows old pic

Posted: Mon Jun 09, 2025 3:38 pm
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: After "save as" shows old pic

Posted: Tue Jun 10, 2025 2:54 pm
by xnview
This problem is supposed to be fixed in XnView MP 1.9.2. Please check and confirm the bug fix here.

Re: After "save as" shows old pic

Posted: Wed Jun 11, 2025 5:38 am
by golemus
xnview wrote: Tue Jun 10, 2025 2:54 pm This problem is supposed to be fixed in XnView MP 1.9.2. Please check and confirm the bug fix here.
According to my first tests this bug is only partially fixed.

Arrow left/right/left now updates the pic (which it didn't do before this update), but if you just save the pic you still see the old pic in viewer even though title and index on top claims that you have the new pic opened. I tested couple of random pics and saved to really low quality avif, webp and jpg.

It is now much more usable but there is still false information, what you read on top does not match to what you see on screen.

Re: After "save as" shows old pic

Posted: Wed Jun 11, 2025 1:07 pm
by xnview
golemus wrote: Wed Jun 11, 2025 5:38 am It is now much more usable but there is still false information, what you read on top does not match to what you see on screen.
Image is not reloaded, you need to use File>Reload