GNOME Bugzilla – Bug 777866
Thumbnail grid - some thumbnails are small
Last modified: 2017-02-23 15:05:18 UTC
Created attachment 344452 [details] screenshot Running master, some of the thumbnails in the main grid are smaller than the others. The corresponding image files are large and are shown at full size when you open them. There's a screenshot attached.
Incidentally, we were discussing this with Jimmac yesterday during DevConf. What's happening here is that some other program has generated smaller thumbnails for those files. Earlier that used to be nautilus, but that's no longer the case since bug 686851, so I am not sure who that would be here. There is a bug in glib (https://bugzilla.gnome.org/show_bug.cgi?id=686895#c7) due to which an application can't query for a hi-res thumbnail without falling back to the lo-res one. Earlier we used to scale up these smaller thumbnails. Bug 690255 is about these scaled up thumbnails looking bad. There is also bug 740417 about thumbnails of really tiny images looking bad when scaled up. As a result, we don't them zoom them any more. Fast forward to this day, we now support non-destructive editing. Since we can't reasonably expect the desktop-wide thumbnailers to support serialized GEGL pipelines, we really do need our own custom thumbnailer. That's also what shotwell and darktable do, by the way. That will make the glib bug irrelevant. Plus, we need to get bug 745375 fixed.
We should no longer have small thumbnails unless the source image is really small. See bug 690255 Please remove gnome-photos' thumbnail cache (rm -rf ~/.cache/gnome-photos/thumbnails) before testing. Some thumbnails might be distorted due to a GEGL bug (see bug bug 779135). We will either have it fixed and released, or worked around in the application in time for GNOME 3.24. *** This bug has been marked as a duplicate of bug 690255 ***