XnView goes to background after file deletion

Bugs and Suggestions in XnView Classic which have been resolved

Moderators: XnTriq, helmut, xnview

Guest

XnView goes to background after file deletion

Post by Guest »

All times i try to delete file using delete key file from XnView, after deletion XnView goes to background (changes it Z-order).
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnView goes to background after file deletion

Post by xnview »

Anonymous wrote:All times i try to delete file using delete key file from XnView, after deletion XnView goes to background (changes it Z-order).
Which OS do you have?
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

OK here

Post by Clo »

:arrow: Guest

:) Hello !

• I tested in the four display modes, XnView doesn't lose the focus and stays on top :
- View –> Displays the next image when the current one is deleted (option ON here)
- Browser –> Ditto.
- Full screen from View –> Ditto
- Full screen in the browser –> Doesn't display the next image, but comes back to thumb nail view when the folder is empty.

• XnView 1.93.1
• XP-Pro SP1 here,
• The [Del] key doesn't send the files in the Recycle Bin, it's configured to delete directly.

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
Bossman
Posts: 3
Joined: Wed Apr 16, 2008 8:13 am
Location: Bucharest

Post by Bossman »

I can confirm this bug.

Symptoms: when deleting images in Normal View Mode, XnView sometimes loses focus after an image is deleted, aka if another application is opened in the taskbar, it will automatically be selected, or, if XnView is the only application opened, it will simply get minimized.

OS: Windows Vista x86 SP1
XnView version: 1.93.4

Steps to reproduce:

1. Make sure that Tools - Options - General - Mode when starting with a file - Normal is selected.
2. Open a folder which has some images in it... 10 or 15 I think are enough.
3. Open the first image, then go to the next one using the mouse wheel or the keyboard, delete it, then move on, deleting images at random.

So it's View - Delete - View - View - Delete and so on.

At one point, the XnView window will lose focus in the manner described at the start of the post.

Note: the bug can't be reproduced if the Fullscreen option is used, at least in my working environment.
Truth is relative. Pick one that works.
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

I can't reproduce :-(
Do you have only the view window? Or browser window too?
Pierre.
anybdy

Post by anybdy »

I can't confirm this too. Happens after every delete operation.
Normal view, no browser tab.

Steps to reproduce:
1. Dbl click on an image in WindowsExplorer
2. XnView appears in Normal view and no browser tab (no tab bar)
3. Delete this picture (delete key).
4. XnView losses focus
5. Alt-Tab to get focus back to XnView

If I switch to Browser mode and back to view mode (normal) the tab bar appers and XnView does not lose focus on delete (delete key).

Windows Vista SP1
XnView 1.93.6
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

anybdy wrote: Steps to reproduce:
1. Dbl click on an image in WindowsExplorer
2. XnView appears in Normal view and no browser tab (no tab bar)
3. Delete this picture (delete key).
4. XnView losses focus
5. Alt-Tab to get focus back to XnView
On my Vista, xnview doesn't loose the focus :-(
Pierre.
KernelPanic

Post by KernelPanic »

I have the same bug under Windows XP and Vista since some old version of XnView.
I have already installed 1.94.2 and still get the bug =(
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Post by Dreamer »

Check this topic:

http://newsgroup.xnview.com/viewtopic.php?t=15815

Try to close xnview, rename xnview.ini to xnview.ini.bak, run xnview, close xnview, delete the new xnview.ini and rename the old ini back to xnview.ini.
Dreamer
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Post by Dreamer »

OK, the bug is back, with the same xnview.ini.

XnView 1.94.2, Windows Vista.
Dreamer
flat-eric

minimize after pix-delete

Post by flat-eric »

i have the same bug...
1.94.2 xphomesp2
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Post by Dreamer »

Still have this bug, using XnView 1.95, Windows Vista Home Premium 32 bit.

I'll send the ini to Pierre. :(
Dreamer
ckit
XnThusiast
Posts: 2577
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

Post by ckit »

Bump!

I don't care what we have to do or the amount of beta testing this needs fixing!
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Windows 11 Pro x64 23H2, Listary Pro, PowerToys and Wintoys
ckit
XnThusiast
Posts: 2577
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

Post by ckit »

Bump and temp fix!

Disabling "Go to next image when deleting current" in Options seems to fix it.
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Windows 11 Pro x64 23H2, Listary Pro, PowerToys and Wintoys
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

ckit wrote:Disabling "Go to next image when deleting current" in Options seems to fix it.
Really????
Pierre.