Subject: 1.7.2 64-bit (Linux): Folders cannot be deleted on NTFS partitions
XnView: MP 1.7.2 64-bit (Linux) - Libformat 7.180
OS: Linux Mint 21.3 Cinnamon 6.04 64bit. Kernel 6.8.0-40-generic
Deleted folders are not deleted.
Effect:
If I delete a folder, it doesn't get deleted. It reappears at the bottom of the folder list in the folder pane, with all contents, like it's a new folder.
It doesn't give any error messages, it just doesn't do it. It will disappear from the folder pane if I delete using the folder pane, but will reappear on pressing F5.
The issue exists with deleting from the folder pane or thumbnail pane.
It is for NTFS file systems only, it works OK on Ext4.
It is XNViewMP only, not a problem with Nemo file explorer or any other method.
I can move folders no problem.
To reproduce:
1. XNViewMP in Linux
2. Delete a folder
Actual behaviour (bug): folders cannot be deleted from NTFS partitions
Expected behaviour: folders deleted
1.7.2 64-bit (Linux): Folders cannot be deleted on NTFS partitions
Moderators: helmut, XnTriq, xnview, Dreamer
-
- Posts: 21
- Joined: Tue Aug 15, 2023 8:17 pm
Re: 1.7.2 64-bit (Linux): Folders cannot be deleted on NTFS partitions
on your system do you have gvfs-trash or gio?
Pierre.
-
- Posts: 21
- Joined: Tue Aug 15, 2023 8:17 pm
Re: 1.7.2 64-bit (Linux): Folders cannot be deleted on NTFS partitions
gio 2.80.0
gvfs I have, gvfs-trash I am not sure.
Code: Select all
mint@mint-XXXX:~$ apt list --installed | grep gvfs
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
gvfs-backends/noble,now 1.54.0-1ubuntu2 amd64 [installed]
gvfs-common/noble,noble,now 1.54.0-1ubuntu2 all [installed]
gvfs-daemons/noble,now 1.54.0-1ubuntu2 amd64 [installed]
gvfs-fuse/noble,now 1.54.0-1ubuntu2 amd64 [installed]
gvfs-libs/noble,now 1.54.0-1ubuntu2 amd64 [installed]
gvfs/noble,now 1.54.0-1ubuntu2 amd64 [installed]
The same physical drives were fine in XNViewMP windows, I've deleted the windows partition now otherwise I'd check at this time to be sure.
OK I think you're straight to it though. Deleting in Nemo file explorer from NTFS it says it can't move to the trash, do you want to delete permanently. Which it doesn't on EXT4, including the blank external one.
This is great though, now I know it will be ok on EXT4 I will move it over overnight. I bought the blank disk to migrate media anyway, just haven't got round to it yet.
Re: 1.7.2 64-bit (Linux): Folders cannot be deleted on NTFS partitions
I can still confirm this issue on Opensuse Linux.
XNView MP version 1.8.6 64bit appimage Feb 14. 2025.
For starting I had a problem with non existent and uncreatable trash folder too on NTFS mount that I saw in Thunar file manager.
I modified mount entries with adding uid, gid parameters and trash started working in Thunar without problem, but still not in XNViewMP. I had to disable the trash usage option in settings, then it deletes folders right. If I enable it, XNView just pretend it deletes folder from folder list, but still visible on right side with the thumbnails, but physically it does not delete the folder. After a lot of organisation of my photos to different folders I realized that I still see a lot of empty folders that I thought I deleted before and found this topic of the issue....
It seems gio is the default trash service in Opensuse too.
Edit: I figured out XNView only deletes folder from the thumbnail view window, but not from folders window, and only with trash usage option disabled in settings. On folder view window it always pretends it deletes folder (disappear from original position) but physically not. On thumbnail view window with enabled trash usage in XNView settings, nothing happens on delete, the folder remains at same place which I want to delete.
XNView MP version 1.8.6 64bit appimage Feb 14. 2025.
For starting I had a problem with non existent and uncreatable trash folder too on NTFS mount that I saw in Thunar file manager.
I modified mount entries with adding uid, gid parameters and trash started working in Thunar without problem, but still not in XNViewMP. I had to disable the trash usage option in settings, then it deletes folders right. If I enable it, XNView just pretend it deletes folder from folder list, but still visible on right side with the thumbnails, but physically it does not delete the folder. After a lot of organisation of my photos to different folders I realized that I still see a lot of empty folders that I thought I deleted before and found this topic of the issue....
It seems gio is the default trash service in Opensuse too.
Edit: I figured out XNView only deletes folder from the thumbnail view window, but not from folders window, and only with trash usage option disabled in settings. On folder view window it always pretends it deletes folder (disappear from original position) but physically not. On thumbnail view window with enabled trash usage in XNView settings, nothing happens on delete, the folder remains at same place which I want to delete.
Re: 1.7.2 64-bit (Linux): Folders cannot be deleted on NTFS partitions
Without trashbin, deleting in folder view doesnt work?Smyle wrote: Wed Mar 12, 2025 4:36 am Edit: I figured out XNView only deletes folder from the thumbnail view window, but not from folders window, and only with trash usage option disabled in settings. On folder view window it always pretends it deletes folder (disappear from original position) but physically not. On thumbnail view window with enabled trash usage in XNView settings, nothing happens on delete, the folder remains at same place which I want to delete.
do you have gvfs-trash or gio?
Pierre.
Re: 1.7.2 64-bit (Linux): Folders cannot be deleted on NTFS partitions
- opensuse using gio (gvfs-trash has been deprecated ), as I mentioned already.xnview wrote: Tue Mar 18, 2025 7:05 amWithout trashbin, deleting in folder view doesnt work?Smyle wrote: Wed Mar 12, 2025 4:36 am Edit: I figured out XNView only deletes folder from the thumbnail view window, but not from folders window, and only with trash usage option disabled in settings. On folder view window it always pretends it deletes folder (disappear from original position) but physically not. On thumbnail view window with enabled trash usage in XNView settings, nothing happens on delete, the folder remains at same place which I want to delete.
do you have gvfs-trash or gio?
- Without trashbin, delete does not work from folder view.
- With trashbin enabled in XNView, delete does nothing on thumbnail view window.
- With trashbin enabled in XNView, delete command on a folder in folders view window makes the folder disappearing from there, but it's not deleted physically. Can check on thumbnail view window or in other file manager. On folder view window, the folder is disappearing, pretending it deleted but it's not, but it appear again later. It seems XNView rereading actual folders list in folder view very rarely.
Re: 1.7.2 64-bit (Linux): Folders cannot be deleted on NTFS partitions
i've just installed opensuse Tumbleweed, and no problem to remove a file or folder from a NTFS partitionSmyle wrote: Sat Mar 22, 2025 12:16 pm - opensuse using gio (gvfs-trash has been deprecated ), as I mentioned already.
- Without trashbin, delete does not work from folder view.
- With trashbin enabled in XNView, delete does nothing on thumbnail view window.
- With trashbin enabled in XNView, delete command on a folder in folders view window makes the folder disappearing from there, but it's not deleted physically. Can check on thumbnail view window or in other file manager. On folder view window, the folder is disappearing, pretending it deleted but it's not, but it appear again later. It seems XNView rereading actual folders list in folder view very rarely.

Pierre.