After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 711044 - Loading larger folders with images takes 1+ minutes
Loading larger folders with images takes 1+ minutes
Status: RESOLVED DUPLICATE of bug 524363
Product: nautilus
Classification: Core
Component: Thumbnails
3.8.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 356836 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-10-29 04:00 UTC by florin.arjocu
Modified: 2019-02-11 15:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Show thumbnails only for less than 500 kilo files. Not working (172.90 KB, image/jpeg)
2013-10-30 18:04 UTC, florin.arjocu
Details

Description florin.arjocu 2013-10-29 04:00:56 UTC
I have lots of pictures on my computer and they are taken on digital camera. It makes them 1-6 MB each, and it is common to have 300-500 files in one folder. But using Nautilus to navigate there is a huge error, until I can do anything in that folder, it takes more than a minute. The file list does not appear instantly, but files appear as they get a thumbnail.
See the attached screen recording, in my case it took more than 1 minute and 10 seconds to be able to do anything in that folder. It is a blocking bug.

And thumbs do not have a standard size, like a square, they are shows upper/lower depending on the portrait/landscape type of picture.
Comment 1 florin.arjocu 2013-10-29 04:12:45 UTC
Could not upload the video as it is 13MB, but it is online here: http://www.youtube.com/audio?v=zrbNCg4ijtU
Comment 2 André Klapper 2013-10-29 09:17:08 UTC
Link requires logging in to Youtube hence cannot open.
Comment 3 florin.arjocu 2013-10-29 14:07:32 UTC
Please try again, it is set to work. Here is the  corrent link: http://www.youtube.com/watch?v=zrbNCg4ijtU
Comment 4 florin.arjocu 2013-10-29 14:19:25 UTC
Anyways, it should be quite easy to reproduce it: copy 500 picture to one folder and navigate to that folder (thumbnail view). Try to get to the last file in list. You'll have to wait lots of time. Not all people use SSD hard drives, normal ones take 1+ minutes to load the list of files.

Try it in different thumbnail sizes and see how it reacts. You get stuck for one+ minutes withoult being able to do anything.



If you allow me, I can suggest the probable normal way of doing this is:
1. Each file should have a specific size for the filename (rectangle); if the filename is longer (with space or not), it should be truncated and only be shown on rename mode or on mouse-over. Now, if you are on the last row in thumbnail view and the filename is longer, it covers other files. It also happens to not being able to see the complete filename. It is definitely not very well tested.
2. Each file thumb should fit in one specific size square, depending on user settings, but always that size, even if we see the real .jpg/whatever-file thumb or some standard thumb. If I click a file, it should not go down in my screen while loading other files thumbs, it should stay there. Always. I should be able to do something during that time, I cannot be blocked to wait for thumbnails until I can do some action (rename, copy, delete, etc.).
3. First, load the filenames and paint the squares where the thumbs will be. When finished painting file list, if file size is lower than the configured one to show thumb, start painting thumbsnails.


Quite a simple logic, it works in many other OS's and file managers.
Comment 5 florin.arjocu 2013-10-29 14:24:51 UTC
And for God's sake, please fix overlapping icons on desktop. It should be some reserved square for each file on desktop, and nothing should be allowed in that square (+ some margins + some safety space). Nowadays I can have 10 icons on the same place. Not easy to work with.
Comment 6 André Klapper 2013-10-29 14:43:03 UTC
(In reply to comment #5)
> And for God's sake, please fix overlapping icons on desktop.

For god's sake, provide a patch and add your comment to the bug report about that specific issue instead. Icons on desktop is not even used anymore in GNOME 3 by default so it's no high priority I guess.
Comment 7 florin.arjocu 2013-10-29 15:22:17 UTC
Sorry for my tone, I did no ment to upset anyone. I cannot know what is part of Gnome and what is not. I am just using it and I could observe that desktop+file manager go together (killing one, kills both and vice versa). I did report it before, nothing changed :(
Comment 8 florin.arjocu 2013-10-29 15:23:23 UTC
PS: I use Ubuntu 13.10 and it includes Nautilus 3.8.2
Comment 9 António Fernandes 2013-10-30 16:19:13 UTC
Thumbnails can be disabled for all files in the preferences.
(Go to "Files" application menu -> "Preferences" -> "Preview" tab; set "Show thumbnails" to "Never".)

Can you test if it still takes a lot of time even with thumbnails disabled?


-----
(Some related reports: bug 682836, bug 356836, bug 682836)
Comment 10 florin.arjocu 2013-10-30 18:04:50 UTC
Created attachment 258602 [details]
Show thumbnails only for less than 500 kilo files. Not working

I have it set not to show thumbs for files larger than 500 kilo. It does not work :)
Comment 11 florin.arjocu 2013-10-30 18:07:41 UTC
Disabling thumbnails loads the files list quite fast, so it is an isue of the time it creates the thumbnails and checking the file size. It should do those actions only AFTER loading the file list (and of course, checking file size should work).
Comment 12 florin.arjocu 2013-10-30 23:03:31 UTC
I have not said there, but I think it is clear. Just in case, I explain the  screenshot from here: https://bug711044.bugzilla-attachments.gnome.org/attachment.cgi?id=258602

The files in this picture are 5-6 MB each, and as you can see, Nautilus is set not to show thumbs for files larger than 500 KB :) But there you have all the thumbnails.

PS: I guess that having status Unconfirmed is caused by the inexistance of any other choice for the status.
Comment 13 António Fernandes 2013-10-31 08:28:54 UTC
(In reply to comment #12)
> I have not said there, but I think it is clear. Just in case, I explain the 
> screenshot from here:
> https://bug711044.bugzilla-attachments.gnome.org/attachment.cgi?id=258602
> 
> The files in this picture are 5-6 MB each, and as you can see, Nautilus is set
> not to show thumbs for files larger than 500 KB :) But there you have all the
> thumbnails.

Oh, this looks like a bug indeed. Can you file another bug report for this specific problem?
 
> PS: I guess that having status Unconfirmed is caused by the inexistance of any
> other choice for the status.

Yes, it sounds weird, but don't worry about that. The bug is open.
Comment 14 Alexandre Franke 2015-06-15 23:08:24 UTC
*** Bug 356836 has been marked as a duplicate of this bug. ***
Comment 15 António Fernandes 2017-08-23 14:26:51 UTC
Given the bug only happens if thumbnails are enabled, this doesn't seem related to the bugs I've mentioned on comment 9.

The issue is how thumbnail loading is processed in large directories. This was discussed in detail in bug 524363.

*** This bug has been marked as a duplicate of bug 524363 ***