in v1.5.3 when in thumbnail view i am unable to delete some image files, i use Shift+Delete on keyboard, then see delete dialog, then select yes and file does not delete. When i use windows explorer it deletes okay.
File i have problems with is here https://www.upload.ee/files/15627677/Ca ... w.zip.html
v1.5.3 Unable to delete some image files in thumbnail view.
Moderators: XnTriq, helmut, xnview, Dreamer
-
- Posts: 210
- Joined: Sun Apr 23, 2023 5:14 am
-
- Author of XnView
- Posts: 42537
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: v1.5.3 Unable to delete some image files in thumbnail view.
if you move this file in another folder, same problem?
Pierre.
-
- Posts: 210
- Joined: Sun Apr 23, 2023 5:14 am
Re: v1.5.3 Unable to delete some image files in thumbnail view.
Yes i tried to create new sub folder and move there and it still does not delete.
Even i create sub folder move file there and try to delete folder - it does not delete.
I noticed file has attribute "Read Only" set, perhaps this is what causing problem.
-
- Author of XnView
- Posts: 42537
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: v1.5.3 Unable to delete some image files in thumbnail view.
it's the problem...FKCapitalism2 wrote: ↑Fri Sep 01, 2023 12:48 pm I noticed file has attribute "Read Only" set, perhaps this is what causing problem.
Pierre.
-
- Posts: 210
- Joined: Sun Apr 23, 2023 5:14 am
Re: v1.5.3 Unable to delete some image files in thumbnail view.
Not a problem for windows file explorer. I never even pay attention to read only tag as its really useless now days and ignored by anything but few select command line utilities.xnview wrote: ↑Fri Sep 01, 2023 2:12 pmit's the problem...FKCapitalism2 wrote: ↑Fri Sep 01, 2023 12:48 pm I noticed file has attribute "Read Only" set, perhaps this is what causing problem.
Would be nice if XnView MP warns about read only attribute or ask "if you really sure you want to delete read-only file", not doing anything when you press yes, delete is a bit misleading.
-
- Posts: 210
- Joined: Sun Apr 23, 2023 5:14 am
Re: v1.5.3 Unable to delete some image files in thumbnail view.
Actually its a bug, XnView MP deletes folder that has read only attribute no problem if it has images inside of it. But if images are not inside a folder then it sometimes can't delete folder with read only attribute from thumbnail view. As soon as i copy image inside folder XnView MP is able to delete the folder.xnview wrote: ↑Fri Sep 01, 2023 2:12 pmit's the problem...FKCapitalism2 wrote: ↑Fri Sep 01, 2023 12:48 pm I noticed file has attribute "Read Only" set, perhaps this is what causing problem.
-
- Author of XnView
- Posts: 42537
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: v1.5.3 Unable to delete some image files in thumbnail view.
i've tried to delete:
- folder with no files with 'read only'
- folder with 'read only' with 1 file
- folder with 'read only' with 1 file with 'read only'
and it works each time
- folder with no files with 'read only'
- folder with 'read only' with 1 file
- folder with 'read only' with 1 file with 'read only'
and it works each time
Pierre.
-
- Posts: 210
- Joined: Sun Apr 23, 2023 5:14 am
Re: v1.5.3 Unable to delete some image files in thumbnail view.
This is why i mentions it happen "sometimes", actually after i had this bug happen to me one i was not able to reproduce it again.
Edit: To reproduce the problem, need to create folder set read-only attribute place few images inside, then close the XnView MP
Next you navigate to that folder using Windows Explorer and double click the image to open XnView MP then inside XnViewMP switch to thumbnail view and navigate out of the folder. Then try to delete folder with XnViewMP and it will only delete images inside folder, (you can generate thumbnails again for that folder to see its empty now) but folder stay in place. Even if you close folder inside Windows Explorer will not be able to delete the folder from within XnViewMP.