0.85b4: Better handling of folders with A LOT of subfolders

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

Moderator: Dreamer

Post Reply
arspr
Posts: 63
Joined: Sat Mar 25, 2017 12:25 pm

0.85b4: Better handling of folders with A LOT of subfolders

Post by arspr » Sat Apr 01, 2017 10:47 am

(OK, I know this is not technically a bug but an enhancement... BUT it really feels like a bug...)

XnView: MP 0.85b4 64 bit
OS: Windows 10 1607 - 64bit

XnView seems completely hung as it remains unresponsive when accessing folders with A LOT of subfolders. (BUT the number of files does not seem important. Only folders seem critical for this issue).

Effect: It feels bad, the user can get the impression the program has stopped working.

To reproduce:
1. Just enter a folder which contains A LOT of subfolders.

Actual behaviour (bug): For some seconds, (I suppose it depends on the amount of subfolders and your computer/HDD speed; I get a 2-3 second delay in a 400+ subfolder one), XnView does not respond to user actions nor gives any kind of feedback about the situation...

(OTOH, when reading data from images, a progress indicator is shown in the lower left bar).

Expected behaviour: At least a "Working... Please wait" message (even with a progress indicator similar to the file reading one?) should be displayed.

Nevertheless the best solution would be making the program fully responsive through the update process. Wild guess: supposing the issue is caused because XnView is just reading the data from subfolders and sorting them before showing the new file list, the best solution would be immediately showing a partial folder list which is being continuously updated as new members are added. And which allowed the user to abort/change to another folder on the fly.

User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Re: 0.85b4: Better handling of folders with A LOT of subfold

Post by Dreamer » Sat Apr 01, 2017 12:08 pm

Confirmed.

I think the folder should be changed first, so that we could click another folder instantly, once the folder is changed, file list should start loading items. Currently there's a small delay when browsing folders with many subfolders, delay after each click.

BTW Another solution or workaround to quickly browse many folders is the feature from XnView Classic, not implemented to MP yet (link).
Dreamer

User avatar
helmut
Posts: 8134
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.85b4: Better handling of folders with A LOT of subfold

Post by helmut » Sat Apr 01, 2017 7:47 pm

Thank you for your bug report, arspr. Slow performance or a non-responsive interface are always irritating and can be considered as bugs.

I suspect the thumbnails for folders to cause the problem. Could you please temporarily deactivate the creation of thumbnails for folders and see what happens (in Settings: Browser » File list | Custom Filter uncheck "Show as thumbnails" in row "Folders")?

User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Re: 0.85b4: Better handling of folders with A LOT of subfold

Post by Dreamer » Sat Apr 01, 2017 8:21 pm

I tried it but I still have a delay sometimes, in folders with many subfolders and files.
Dreamer

User avatar
helmut
Posts: 8134
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.85b4: Better handling of folders with A LOT of subfold

Post by helmut » Sat Apr 01, 2017 8:33 pm

Dreamer wrote:I tried it but I still have a delay sometimes, in folders with many subfolders and files.
O.k., thank you for checkinig, Dreamer. This was just a thought. I hope Pierre can reproduce this and find the reason for the problem and most of all fix the non-responsive user interface.

User avatar
xnview
Author of XnView
Posts: 29493
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.85b4: Better handling of folders with A LOT of subfolders

Post by xnview » Wed Apr 18, 2018 2:51 pm

are you able to reproduce on lastest version?
Pierre.

Post Reply