[KPhotoAlbum] Thumbbail problem solved - new snapshot available
Jesper K. Pedersen
blackie at blackie.dk
Thu Jan 26 14:40:20 GMT 2006
On Thursday 26 January 2006 07:49, Robert L Krawitz wrote:
| 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.
No, that was a different cache :-)
--
Jesper K. Pedersen | Klarälvdalens Datakonsult
Senior Software Engineer | www.klaralvdalens-datakonsult.se
Prinsensgade 4a st. |
9800 Hjørring | Platform-independent
Denmark | software solutions
More information about the Kphotoalbum
mailing list