! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Thunar takes a lot of time to show icons in folder
Status:
RESOLVED: MOVED

Comments

Description jEsuSdA 2018-11-06 12:33:10 CET
Created attachment 8089 
Video with the bug.

Hi!

I notice Thunar takes a lot of time to load and show files when the folder has a lot of files.

I know... a big amount of files requires a bit amount of time to load, but, maybe it could be possible to firstly load the files and represent them with generic type icons, and then, calling tumbler to generate specific preview icons.

Sending a video with an example. Thunar takes almost 20 seconds to show any icon.
Comment 1 alexxcons editbugs 2018-11-06 22:09:09 CET
Thanks for reporting.

However I cannot reproduce the bug that easy, tried with 3200 folders.

For thumbnails afaik it is done the way you tell. First some generic placeholder icon is shown, until the thumbnail got loaded.
But maybe it is different for remote file systems ... looks like you are using a ftp mountpoint ?

Maybe you can help to clearify:
- There are only folders inside comics ? Or as well pictures / pdfs / videos ?
- They are located on a ftp mount, not locally ?
- What type causes the most lag for you ? Does the type matter ?
- Is the bug gone if you select to show thumbnails for local files only ?
- Is the bug gone if you select to show no thumbnails ?
- Can you reproduce the bug with nautilus ?
- Can you reproduce the bug on your local file-system ?
Comment 2 jEsuSdA 2018-11-07 19:04:04 CET
Hi!

Maybe you can help to clearify:
- There are only folders inside comics ? Or as well pictures / pdfs / videos ?

2546 comics (cbr + cbz + pdf) + 545 folders

- They are located on a ftp mount, not locally ?

Locally. Mechanic hardrive.

- What type causes the most lag for you ? Does the type matter ?

Yes. Browsing the folders is more fluid than browsing files.

- Is the bug gone if you select to show thumbnails for local files only ?

Thunar configures for thumbnails only for local files.

- Is the bug gone if you select to show no thumbnails ?

Nope. It spend almost the same time. 
Once the folder content is loaded, browsing files is faster.

- Can you reproduce the bug with nautilus ?

I don't have nautilus installed, but I've testing with CAJA, SPACEFM and PCMANFM and Caja and PCManfm are more or less as faster than Thunar. But SpaceFM was like a lightning, it load all the folder content instantly.


I hope this information could help you. Let me know if you need some information.

Thanks a lot, Alex!!
Comment 3 alexxcons editbugs 2018-11-07 20:44:57 CET
Thanks for the details! 

Will try to build a reproducer.

Yet another question:  Does the delay of 20seconds happen each time you browse to the folder ? Or is it only for the first time you open it ?
Comment 4 jEsuSdA 2018-11-07 21:08:40 CET
It happens the first time Thunar enters the folder. For one moment it looks like works fine, but if I exit from folder (to a subfolder, for example), I wait for some time and I try to enter again, the delay appears one more time.

Thanks!
Comment 5 Git Bot editbugs 2020-05-26 23:39:59 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/223.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #14847

Reported by:
jEsuSdA
Reported on: 2018-11-06
Last modified on: 2020-05-26

People

Assignee:
Xfce Bug Triage
CC List:
3 users

Version

Attachments

Video with the bug. (270.36 KB, video/x-matroska)
2018-11-06 12:33 CET , jEsuSdA
no flags

Additional information