1.4.4 Performance issues deleting files

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
xzo
Posts: 10
Joined: Sat Oct 29, 2016 9:44 pm

1.4.4 Performance issues deleting files

Post by xzo »

XnViewMP 1.4.4 64 bit
Ubuntu 22.04.2 LTS

Example: 482 single image files (1.1 GB) on a fast NVME disk

Effect: selecting the files and deleting them hangs the program for 11 seconds (longer for lager amounts of files). Ubuntu asks to kill the program.

To contrast: selecting and copy/pasting the same files in XnView is almost instant (<0.5s), as is deleting a folder with these files (<0.1s)

To reproduce: select a large amount of images in a folder, press delete, click "yes"

Expected behaviour: deleting files should take roughly the same amount of time as copy/pasting them, and not hang the program
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.4.4 Performance issues deleting files

Post by xnview »

Do you use recycle bin?
Pierre.
xzo
Posts: 10
Joined: Sat Oct 29, 2016 9:44 pm

Re: 1.4.4 Performance issues deleting files

Post by xzo »

Yes this only occurs when using recycle bin. Still, I do not expect deleting files to hang the program or take longer than moving or copy/pasting them.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.4.4 Performance issues deleting files

Post by xnview »

To delete files, XnView uses gvfs-trash or gio
Pierre.
Post Reply