Page 1 of 3
XnViewMp for Mac file delete failure
Posted: Mon Aug 18, 2014 6:51 pm
by bdesmet
I am using XnViewMp 0.68 on Mac OS X 10.8.5
- Go to browse mode
- Select a picture from the list
- Right mouse click and choose Delete from the context menu
- Confirm the delete
- Nothing happens mostly, sometimes it works
I already did a lot of investigation to find the exact circumstance for the delete failure scenario, but I can't find it. I tested clearing the database, miniatures, I compared file attributes and read/write grants of image files, but I couldn't find a clear cause. I have no idea why one file gets deleted properly and another not.
Re: XnViewMp for Mac file delete failure
Posted: Tue Aug 19, 2014 1:28 pm
by xnview
no message? jpeg file?
Re: XnViewMp for Mac file delete failure
Posted: Tue Aug 19, 2014 6:29 pm
by bdesmet
Indeed, no message.
You choose delete. You have to confirm the delete with a dialog box. And nothing happens, the picture remains selected and is not removed.
I did the test with jpg files on XnViewMP 0.68 for Mac.
Re: XnViewMp for Mac file delete failure
Posted: Mon Aug 25, 2014 1:45 pm
by xnview
Do you have always this problem?? I've tried on 10.8.5, and no problem, the jpeg file is removed...
Re: XnViewMp for Mac file delete failure
Posted: Thu Aug 28, 2014 5:03 pm
by bdesmet
The delete failure happens "sometimes".
I already did a lot of investigation to find the exact circumstance for the delete failure scenario, but I can't find it. I tested clearing the database, miniatures, I compared file attributes and read/write grants of image files, but I couldn't find a clear cause. I have no idea why one file gets deleted properly and another not.
Re: XnViewMp for Mac file delete failure
Posted: Fri Aug 29, 2014 12:05 pm
by xnview
same file format?
Re: XnViewMp for Mac file delete failure
Posted: Mon Sep 01, 2014 8:18 am
by bdesmet
yes, all jpg.
Re: XnViewMp for Mac file delete failure
Posted: Tue Sep 02, 2014 7:15 am
by xnview
bdesmet wrote:yes, all jpg.
could you try that:
* select a file
* wait 5-10 sec
* delete it
works?
Re: XnViewMp for Mac file delete failure
Posted: Sun Sep 07, 2014 10:25 am
by bdesmet
No, waiting 15 sec between select and delete did solve the issue.
I cannot find a logical pattern about when a delete is successful and when not.
For the moment, delete works "sometimes".
Re: XnViewMp for Mac file delete failure
Posted: Thu Sep 11, 2014 11:19 pm
by Redfern
Hello, its same situation with XnviewMP 0.68 and Ubuntu 14.04 64bit - XnviewMP never actually delete files.
Re: XnViewMp for Mac file delete failure
Posted: Wed Sep 17, 2014 8:49 am
by xnview
bdesmet wrote:No, waiting 15 sec between select and delete did solve the issue.
I cannot find a logical pattern about when a delete is successful and when not.
For the moment, delete works "sometimes".
is it a big jpeg file?
Re: XnViewMp for Mac file delete failure
Posted: Thu Oct 02, 2014 6:03 pm
by bdesmet
I identified the root cause, or least I think I'm getting close: delete failes systematically if the filename contains a whitespace.
e.g. example of delete failure on: /my picture.jpg
e.g. example of delete success on: /my_picture.jpg
This test case is reproducible.
Re: XnViewMp for Mac file delete failure
Posted: Fri Oct 03, 2014 1:54 pm
by xnview
bdesmet wrote:I identified the root cause, or least I think I'm getting close: delete failes systematically if the filename contains a whitespace.
e.g. example of delete failure on: /my picture.jpg
e.g. example of delete success on: /my_picture.jpg
This test case is reproducible.
do you have a file "my picture.jpg" in your trash?
Re: XnViewMp for Mac file delete failure
Posted: Sat Oct 11, 2014 12:35 pm
by bdesmet
Good question. This made me discover something else.
1. I empty my Mac OS X Trash can entirely.
2. I delete an image file 'my test.jpg'. Works perfectly. (So, the root cause is probably not related to spaces in filenames.)
3. I keep the removed 'my test.jpg' in my Trash Can.
4. I try to delete another file with the same name 'my test.jpg'. And here the delete failes. My Trash Can still only contains the deleted 'my test.jpg' from step 2.
5. I empty the Trash Can.
6. I retry the delete of step 4. Now the delete is succesful.
Best regards
Re: XnViewMp for Mac file delete failure
Posted: Mon Oct 13, 2014 8:47 am
by xnview
bdesmet wrote:Good question. This made me discover something else.
Do you have always this problem with 0.69?