Caching problem (wrong picture displayed after change)

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
Guest

Caching problem (wrong picture displayed after change)

Post by Guest »

Unfortunatelly, this is not only a cosmetical thing.

Steps to reproduce:
1) Open a file in the viewer. We need to have at least one another image file in the same folder.
2) Make a change - crop, for example
3) Move to the second file (by pressing PageDown/PageUp or by mouse wheel)
4) Dialog will appear - "Do you want to save changes?" - select "No"
5) Now, you should be viewing second file.
6) Press PageDown or PageUp to move back to the previous file.
7) BUG: Now, we are looking at the changed image, although the changes were not saved.

Apparently, it was saved in a cache. If I change the steps a bit to move to yet another file and then back (changed -> second_file -> third_file -> second_file -> changed), all is ok.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Caching problem (wrong picture displayed after change)

Post by xnview »

Anonymous wrote:Unfortunatelly, this is not only a cosmetical thing.

Steps to reproduce:
1) Open a file in the viewer. We need to have at least one another image file in the same folder.
2) Make a change - crop, for example
3) Move to the second file (by pressing PageDown/PageUp or by mouse wheel)
4) Dialog will appear - "Do you want to save changes?" - select "No"
5) Now, you should be viewing second file.
6) Press PageDown or PageUp to move back to the previous file.
7) BUG: Now, we are looking at the changed image, although the changes were not saved.

Apparently, it was saved in a cache. If I change the steps a bit to move to yet another file and then back (changed -> second_file -> third_file -> second_file -> changed), all is ok.
Right, a bug. :bugconfirmed:
Pierre.
Post Reply