10.10.5: Deletion of folders does not work

Bugs which are supposed to be fixed in the next test version (not available yet)

Moderators: xnview, Dreamer

Paulo88
Posts: 9
Joined: Thu Sep 26, 2024 8:16 am

10.10.5: Deletion of folders does not work

Post by Paulo88 »

XnView: MP 10.10.5 - 64 bit
OS: Linux (Fedora 43 KDE) 64bit

==================================
Short description of the problem
==================================
Folders cannot be deleted, does not matter if it is empty or not.
When trying to delete a folder the confirmation box appears, but after clicking "Yes" the folder is not deleted.
Files, however can be deleted, this only happens with folders.

==================================
Further infos and things I tried
==================================
Permissions should not be an issue as a new test-folder in my home-folder has the same problem.
Delete is working in Dolphin and also using another appimage "Double commander".

I already removed the xnview.ini and tried different versions of XNView MP back to 1.4.5, all show this behavior.
The problem occurred at around January/February 2026, where I probably installed Fedora updates.

I set up a new virtual Fedora 43 and tried XNViewMP there, it shows the same behavior.
So it seems to be broken even in a new installation of Fedora 43.

==================================
Effect: Deletion of folder is not possible
==================================

To reproduce:
1. Select Folder to be deleted
2. Right-Click and Delete OR Press "Del" on keyboard
3. Confirm the deletion of the folder in the message prompt
4. Folder is not deleted
Actual behavior (bug): Folder is not deleted :bug:

Expected behavior: Folder should be deleted
User avatar
xnview
Author of XnView
Posts: 47743
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 10.10.5: Deletion of folders does not work

Post by xnview »

you delete folder from Folder treeview or from thumbnail view?
Pierre.
Paulo88
Posts: 9
Joined: Thu Sep 26, 2024 8:16 am

Re: 10.10.5: Deletion of folders does not work

Post by Paulo88 »

I tried both, if I delete in the Thumbnail-view the folder nothing happens.
If I try to delete in the treeview the folder disappears from the treeview, but is not really deleted as it stays in the thumbnailview and selecting refresh it reappears.

I recorded a small video of the problem from the newly installed virtual Fedora installation.
2026-04-19 15-08-46.mp4

If you want me to try anything else, just let me know.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 47743
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 10.10.5: Deletion of folders does not work

Post by xnview »

could you send us the logs when you try to delete folder?
Pierre.
Paulo88
Posts: 9
Joined: Thu Sep 26, 2024 8:16 am

Re: 10.10.5: Deletion of folders does not work

Post by Paulo88 »

Sure, can do.
But as I was not able to find a log-file, I will provide:
1. Standard Output when started from a terminal
2. strace-file (strace -o xnview_strace.txt xnviewmp)
Logs.tar.gz

If you specify what log file specifically you require I should be able to provide it.

PS:
Something else I noticed is that this seems to only happen with the appimage-version.
The rpm-version I was not able to test as will fail to install with missing dependencies, as mentioned here: viewtopic.php?t=46833
After trying the binary version (tgz) this version is able to delete the folder.
So for Fedora at least the only working version seems to be the tgz one.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 47743
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 10.10.5: Deletion of folders does not work

Post by xnview »

Paulo88 wrote: Sun Apr 26, 2026 8:32 am 1. Standard Output when started from a terminal
thanks. do you have gvfs-trash or gio?
Pierre.
Paulo88
Posts: 9
Joined: Thu Sep 26, 2024 8:16 am

Re: 10.10.5: Deletion of folders does not work

Post by Paulo88 »

Only gio is installed.

Code: Select all

[user@Mammut-MKV:~]$ which gio
/usr/bin/gio

[user@Mammut-MKV:~]$ which gvfs-trash
which: no gvfs-trash in (/home/user/.pyenv/shims:/home/user/.pyenv/bin:/home/user/miniconda3/condabin:/home/user/.local/bin:/home/user/.pyenv/bin:/home/user/.cargo/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/user/.local/bin)
Let me know if I can provide further infos.
User avatar
xnview
Author of XnView
Posts: 47743
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 10.10.5: Deletion of folders does not work

Post by xnview »

if you try

Code: Select all

gio folder
, folder is removed?
Pierre.
Paulo88
Posts: 9
Joined: Thu Sep 26, 2024 8:16 am

Re: 10.10.5: Deletion of folders does not work

Post by Paulo88 »

Code: Select all

gio remove zzTest
Successfully deleted the folder "zzTest" completely.

Code: Select all

gio trash zzTest
Successfully moved the folder "zzTest" to trash.
User avatar
xnview
Author of XnView
Posts: 47743
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 10.10.5: Deletion of folders does not work

Post by xnview »

it seems that gio can't be started in XnVIew. I've tried on fedora 44, and it works
Pierre.
Paulo88
Posts: 9
Joined: Thu Sep 26, 2024 8:16 am

Re: 10.10.5: Deletion of folders does not work

Post by Paulo88 »

I cannot explain why it is working for you, as I installed a completely new version of Fedora 44 KDE and I cannot delete any folder.

As I am no programmer, just a simple IT-Admin, I brute-forced myself to the library that seems to cause the issue in the appimage version.
I extracted the appimage using "XnView_MP-1.11.2.glibc2.17-x86_64.AppImage --appimage-extract".
I then deleted more and more lib-files from the extracted appimage so that the app can still start, but CAN delete folders.
Afterwards a re-extracted the image and only delete the libs that seemt o be related.

The culprits seems to be "libglib-2.0.so.0.4800.2" located in "squashfs-root/lib/x86_64-linux-gnu/" AND
"libgio-2.0.so.0.4800.2" + "libgmodule-2.0.so.0.4800.2" + "libgobject-2.0.so.0.4800.2" located in "squashfs-root/usr/lib/x86_64-linux-gnu/".

After deleting these libraries and its symlinks, XnViewMP seems to fall back to the system-installed library "libglib-2.0.so.0.8800.0".
Now I am able to delete folders without issue.

Maybe update these libs in the appimage version as they seem out of date?
User avatar
xnview
Author of XnView
Posts: 47743
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 10.10.5: Deletion of folders does not work

Post by xnview »

you didn't use the TGZ package?
Pierre.
Paulo88
Posts: 9
Joined: Thu Sep 26, 2024 8:16 am

Re: 10.10.5: Deletion of folders does not work

Post by Paulo88 »

As mentioned in my post from Apr 26 2026, the tgz-version is working without issue out of the box.

This issue pertains to the appimage-version.
User avatar
xnview
Author of XnView
Posts: 47743
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 10.10.5: Deletion of folders does not work

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
Paulo88
Posts: 9
Joined: Thu Sep 26, 2024 8:16 am

Re: 10.10.5: Deletion of folders does not work

Post by Paulo88 »

Thanks for taking the time to look into this issue.