[KPhotoAlbum] fix: special category's attributes not saved

Jesper K. Pedersen blackie at blackie.dk
Sat Nov 18 17:12:02 CET 2006


This has gone forth and back a few times. I'd really appreciate it if you 
could svn log a bit to see why I previously removed it, and tell me what you 
learned. 
On Sunday 12 November 2006 01:05, Christoph Moseler wrote:
| Hi Jesper,
|
| the attributes "icon", "show", "viewtype" and "thumbnailsize" are not
| saved for the categories "folder" and "media type".
|
| Steps to reproduce that the show-attribute is not saved:
| - open an image in the Viewer
| - open the context menu -> show -> deselect "Show Media Type"
| - Quit kpa and save your db
| - reopen kpa
| - open an image in the Viewer
| - open the context menu -> show
| The show-state of the Media Type has not been saved, it's selected again.
|
| The problem is that categories with the shouldSave-flag set to false are
| not be written to the index.xml at all.
|
| With my patch, categories that should not be saved are written now to
| the index.xml, but without their value-tags.
|
| Best regards,
| Christoph

-- 
Having trouble finding a given image in your collection containing
thousands of images?

http://www.kphotoalbum.org might be the answer.


More information about the KPhotoAlbum mailing list