After "save as" shows old pic

*** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
golemus
Posts: 65
Joined: Mon Dec 23, 2024 8:35 am

After "save as" shows old pic

Post 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.
User avatar
user0
XnThusiast
Posts: 2410
Joined: Sat May 09, 2015 9:37 am

Re: after "save as" shows old pic

Post by user0 »

I can reproduce

need to perform auto reload after Save and Save as commands
to reveal compression result, changes in metadata
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: After "save as" shows old pic

Post by xnview »

if you disable Settings>View>Misc - Read ahead & Keep current?
Pierre.
User avatar
user0
XnThusiast
Posts: 2410
Joined: Sat May 09, 2015 9:37 am

Re: After "save as" shows old pic

Post 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
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: After "save as" shows old pic

Post 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
Pierre.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: After "save as" shows old pic

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: After "save as" shows old pic

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.9.2. Please check and confirm the bug fix here.
Pierre.
golemus
Posts: 65
Joined: Mon Dec 23, 2024 8:35 am

Re: After "save as" shows old pic

Post 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.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: After "save as" shows old pic

Post 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
Pierre.
Post Reply