The best thing of being part of the KDE community is when other KDE developers provide patches for useful features, that I did not have on my Todo-list at all. This happened recently when David Nolden submitted a patch for directory thumbnails. I even did not notice the feature after it had been committed (the code for this is outside the scope of Dolphin). I only got aware about this because David send me a mail, where he asked about the reason of having a wrong alpha blended background for directory thumbnails.
I tried to fix the issue and did some adjustments in the code to have the image folder as background and the images aligned in front of the folders. Well I'm no real artist and two days later another mail was in my inbox. This time from Fredrik Höglund, who provided a patch to improve the look of the directory thumbnails by a nice white border and shadow.
David already wrote about this feature in his weblog and even added a very useful slideshow feature for previews. Feeling somehow guilty that Dolphin got improved by a feature I even did not have on my radar I wanted at least to take care on the remaining issues:
- fix scaling issues for large directory thumbnails
- improve the performance
- let the user configure which previews should be generated
The scaling of the icons in general was not as good as possible. This was especially visible with large icon sizes and has been fixed now:
The directory thumbnails get cached now and are quite fast after creating the thumbnails at least once. Before showing the directory thumbnail it is checked whether the directory content has changed to assure that no outdated cache is used.
Still it is possible that some people don't like this feature, so I added a configuration to let the user decide which previews should be generated:
I'll write about the other features that will appear in Dolphin for KDE 4.3 during the next week :-)