0.61: Moving unresponsive files causes duplicates

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

User avatar
Zheitk
Posts: 75
Joined: Sun May 01, 2011 3:44 am

0.61: Moving unresponsive files causes duplicates

Post by Zheitk »

While trying to move some big files (high resolution, gifs with many frames, etc...) looks like xnviewmp is done quite fast and tries to delete the original file while it's still trying to render in the preview. This causes a failed dialog to appear, clicking "retry" opens another one prompting you to replace the currently existing file (the copy made while moving) by the original one :shock:.

a bit more clearly:
  • move a "hard to render" file (drag n' drop to another folder)
  • the copy in the new folder is made, & an attempt to delete the original is made
  • ...but the original file is still trying to render in the preview (or some info is still being fetched)
  • a failed dialog appear "cannot remove file", as is the whole move command had failed. you click retry (you should've selected ignore :wink:)
  • now xnview is trying to move again the file, but there's already a copy in the new folder
  • a wild "replace" dialog appears
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

Re: Moving unresponsive files causes duplicates

Post by m.Th. »

Zheitk wrote:While trying to move some big files (high resolution, gifs with many frames, etc...) looks like xnviewmp is done quite fast and tries to delete the original file while it's still trying to render in the preview. This causes a failed dialog to appear, clicking "retry" opens another one prompting you to replace the currently existing file (the copy made while moving) by the original one :shock:.

a bit more clearly:
  • move a "hard to render" file (drag n' drop to another folder)
  • the copy in the new folder is made, & an attempt to delete the original is made
  • ...but the original file is still trying to render in the preview (or some info is still being fetched)
  • a failed dialog appear "cannot remove file", as is the whole move command had failed. you click retry (you should've selected ignore :wink:)
  • now xnview is trying to move again the file, but there's already a copy in the new folder
  • a wild "replace" dialog appears
What version?

This is a bug which it should be fixed in 0.60. Even if I think that I encountered it in very rare occasions also in 0.6...

Anyway, if I've seen it in 0.6, definitely it is in much more rare circumstances.

That's why it is important to know what version do you have.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
Zheitk
Posts: 75
Joined: Sun May 01, 2011 3:44 am

Re: Moving unresponsive files causes duplicates

Post by Zheitk »

m.Th. wrote:That's why it is important to know what version do you have.
Added in signature
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Moving unresponsive files causes duplicates

Post by xnview »

are you able to reproduce it?
Pierre.
User avatar
Zheitk
Posts: 75
Joined: Sun May 01, 2011 3:44 am

Re: 0.61: Moving unresponsive files causes duplicates

Post by Zheitk »

Here, a screen cast of 0.61 :bugconfirmed:, The files are all above 6mb (gifs and jpegs)
screencast.gif
Image screencast.gif
You do not have the required permissions to view the files attached to this post.
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

Re: 0.61: Moving unresponsive files causes duplicates

Post by m.Th. »

1. With what tool did you do the screencast? :)

2. Most probably the problem is related to http://newsgroup.xnview.com/viewtopic.php?f=60&t=28450

Zheitk wrote:Here, a screen cast of 0.61 :bugconfirmed:, The files are all above 6mb (gifs and jpegs)
screencast.gif
Image screencast.gif
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
XnTriq
Moderator & Librarian
Posts: 6388
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: 0.61: Moving unresponsive files causes duplicates

Post by XnTriq »

m.Th. wrote:1. With what tool did you do the screencast? :)
LICEcap?

<!-- Edit --//
BahraniApps ([url=http://blog.bahraniapps.com/?p=569]GifCam Alternatives[/url]) wrote:Here is a list of GifCam alternatives software, they have the same idea of generating gifs by recording screen, you may find one of them suit your need, or has features GifCam miss, or has better user interface :
//-- Edit -->
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.61: Moving unresponsive files causes duplicates

Post by xnview »

Do you have always this problem with 0.64?
Pierre.
User avatar
Zheitk
Posts: 75
Joined: Sun May 01, 2011 3:44 am

Re: 0.61: Moving unresponsive files causes duplicates

Post by Zheitk »

m.Th. wrote:1. With what tool did you do the screencast? :)
With any screencast software, then I loaded the resulted video to VirtualDub, edit & export to gif, then gifsicle to optimize it...
XnTriq wrote:LICEcap?
Didn't try, but it seems like less steps n_n
xnview wrote:Do you have always this problem with 0.64?
Yes, just tried, it's the same problem
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.61: Moving unresponsive files causes duplicates

Post by xnview »

and 0.68?
Pierre.