Deleting last image in folder

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

Moderators: helmut, XnTriq, xnview

Post Reply
eyebex
Posts: 32
Joined: Thu Jul 29, 2004 8:11 pm

Deleting last image in folder

Post by eyebex »

When "Confirm file delete" is not checked and "Go to next image when deleting current" is checked and the last image in a folder is deleted, XnView keeps displaying the deleted image. I would have expected XnView to display nothing, i.e. a gray background, just as if the viewer had been started without any files. Otherwise you get no feeback that the file has been deleted in this case, which is not good I think.

V1.90 B5
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France
Contact:

Post by Olivier_G »

I can't confirm: XnView automatically shows last image in folder (ie: the previous to deleted one), which is good here.
Olivier
eyebex
Posts: 32
Joined: Thu Jul 29, 2004 8:11 pm

Post by eyebex »

I think there's a misunderstanding. I'm talking about the case where you have only one image in a folder, view that image with XnView, and delete it (so obviously there is no image "previous to deleted one").
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Right---

Post by Clo »

—> eyebex

:) Hello !

I confirm, you are right in the conditions you say.

- However, this is not new, since I can get the same issue in the 1.8x versions as well… Ctrl+R displays an error message.

- IMHO, XnView might look at the Recycle Bin before, and whether the deleted file is there,
it might display a special message…

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
eyebex
Posts: 32
Joined: Thu Jul 29, 2004 8:11 pm

Re: Right---

Post by eyebex »

Clo wrote:- However, this is not new, since I can get the same issue in the 1.8x versions as well… Ctrl+R displays an error message.
You're right, 1.8x behaves the same.
Clo wrote:- IMHO, XnView might look at the Recycle Bin before, and whether the deleted file is there, it might display a special message…
I guess looking at the Recycle Bin is too complicated. It's easier to find out that there are no more images in the current folder (and then display no image).
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: B5: Deleting last image in folder

Post by xnview »

eyebex wrote:When "Confirm file delete" is not checked and "Go to next image when deleting current" is checked and the last image in a folder is deleted, XnView keeps displaying the deleted image. I would have expected XnView to display nothing, i.e. a gray background, just as if the viewer had been started without any files. Otherwise you get no feeback that the file has been deleted in this case, which is not good I think.
Yes, but to have a black screen is not good too
Pierre.
eyebex
Posts: 32
Joined: Thu Jul 29, 2004 8:11 pm

Post by eyebex »

Well, the screen is not "black", there would be just the gray background as when you startup the viewer (not the browser) without any image. At least I would, obviously, prefer that over the current solution :-)
Post Reply