[KPhotoAlbum] Thumbbail problem solved - new snapshot available

Robert L Krawitz rlk at alum.mit.edu
Thu Jan 26 12:49:59 GMT 2006


   From: "Jesper K. Pedersen" <blackie at blackie.dk>
   Date: Thu, 26 Jan 2006 00:33:41 -0500
   Cc: Richard Bos <richard at radoeka.nl>

   Finally found the problem with the thumbnails not showing up.  If
   you had never run the settings dialog, then you wouldn't have a
   value in the config file for the thumbnail cache, and as a result I
   used a default, namely 4096. This number used to be kbytes, but at
   some point in development I decided to change the unit to Mbytes.

   So now the pixmap cache tried to allocate 4Gb, which it likely
   failed, and thus it used 0 bytes instead. Due to the design of the
   thumbnail loader, this resulted in the cache always being empty,
   and thus the paint event never finding its images.

I thought that there was another problem, though, whereby single
images that are larger than the viewer cache caused a massive memory
crunch.  In this case, the configurability both triggered the problem
(when someone backed it down to 5 MB) and provided the hint and the
workaround to the problem.




More information about the Kphotoalbum mailing list