Exiting leaves background process that locks folder

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
win10tester888
Posts: 3
Joined: Tue Mar 11, 2025 5:35 pm

Exiting leaves background process that locks folder

Post by win10tester888 »

Windows 10
XnViewMP 1.8.6 64bit Libformat 7.204

So my folders usually contain a mix of images/video. I scroll through them using mouse wheel and and exit program.
Sometimes when I exit xnviewmp, it seems to be locking access to the folder as moving the folder allows moving the files but fails to move/delete the source folder. This seems to mainly happen in folders with video, but not always.
Task Manager shows the task is removed from the "Apps" but stays as a "Background Process" until I manually "End Task". After which folder access is restored.

Is there a setting for this or is this a bug?
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Exiting leaves background process that locks folder

Post by xnview »

win10tester888 wrote: Tue Mar 11, 2025 5:49 pm Task Manager shows the task is removed from the "Apps" but stays as a "Background Process" until I manually "End Task". After which folder access is restored.
you have XnView as background process?
Pierre.
win10tester888
Posts: 3
Joined: Tue Mar 11, 2025 5:35 pm

Re: Exiting leaves background process that locks folder

Post by win10tester888 »

xnview wrote: Wed Mar 12, 2025 9:55 am
win10tester888 wrote: Tue Mar 11, 2025 5:49 pm Task Manager shows the task is removed from the "Apps" but stays as a "Background Process" until I manually "End Task". After which folder access is restored.
you have XnView as background process?
No, I run the program as normal. It appears in Task manager as an "Apps". When it exits normally it is removed from apps and terminates correctly. Sometimes exiting removes the process from "Apps" but it becomes/remains a "background process".

EDIT: (I am able to somewhat reproduce the issue.)
  1. Open folder with 1 image + 1 video.
  2. Double click image to start xnviewmp.
  3. Click "X" to end program. (Removed from "Apps", No background process)
  1. Open folder with 1 image + 1 video.
  2. Double click image to start xnviewmp.
  3. Use mouse scroll to scroll to video.
  4. Click "X" to end program. (Removed from "Apps", appears as background process)
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Exiting leaves background process that locks folder

Post by xnview »

win10tester888 wrote: Wed Mar 12, 2025 8:47 pm
  1. Open folder with 1 image + 1 video.
  2. Double click image to start xnviewmp.
  3. Use mouse scroll to scroll to video.
  4. Click "X" to end program. (Removed from "Apps", appears as background process)
you can reproduce it each time? I can't...
Pierre.
win10tester888
Posts: 3
Joined: Tue Mar 11, 2025 5:35 pm

Re: Exiting leaves background process that locks folder

Post by win10tester888 »

xnview wrote: Fri Mar 14, 2025 12:52 pm
win10tester888 wrote: Wed Mar 12, 2025 8:47 pm
  1. Open folder with 1 image + 1 video.
  2. Double click image to start xnviewmp.
  3. Use mouse scroll to scroll to video.
  4. Click "X" to end program. (Removed from "Apps", appears as background process)
you can reproduce it each time? I can't...
Is there anyway to disable xnview's interaction with videos? I only use it as an image viewer. I only scroll pass videos to see the other images.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Exiting leaves background process that locks folder

Post by xnview »

you can disable video in Settings>View>Filter
Pierre.
Post Reply