[KPhotoAlbum] adding tags to already tagged images.

Christoph Moseler forums at moseler.net
Sat Nov 11 13:44:30 CET 2006


Hi Jesper,

I solved the problem by testing the width of each line against the width 
of the thumbnails. If the line is to long, I truncate it and add '...' 
to the end of the line.
The height is being calculated in an extra function now.

Hope you like this solution.

Cheers,
Christoph

Jesper K. Pedersen wrote:
> I actually like it a lot, so much that I'm willing to put in into the upcoming 
> release, _IF_ ...
> It has an issue with the text not being shown correctly. see attached 
> screenshot.
> 
> To get this in, I have to ask you to fix this problem. It seems like you have 
> the code for calculating the height twice. How about trying to refactor that 
> into a function.
> 
> If you could get it done today, that would be perfect, otherwise, please try 
> and get it to me at latest during the next week.
> 
> Thanks
> Jesper.
> 
> On Sunday 29 October 2006 19:59, Christoph Moseler wrote:
> | About one year ago I ask Jesper to add a patch for that. At this time
> | kpa (or kimdaba) was shortly before a new release, so he denied adding
> | the patch. But perhaps now we can restart the discussion about that again.
> |
> | The attached patch will add the following functionality:
> |
> | New option in the settings-dialog under "thumbnail view": "Display
> | Categories in thumbnail view". If this option is switched on, kpa shows
> | all assigned categories under each image. It is possible to uses the
> | keys from A to Z to add or remove tokens to/from the selected images in
> | the thumbnail view.
> |
> | Backup you source tree before patching, please!
> |
> | Feedback welcome.
> |
> | Cheers,
> | Christoph
> |
> | Risto H. Kurppa wrote:
> | >> However, that does bring me to wonder if it would be possible to apply
> | >> tokens to images without opening a new window --- just select some
> | >> images and hit a token key.   I doubt this could go into the current
> | >> release, but it's something to consider.  Any thoughts, Jesper?
> | >>
> | >> -Kimball Robinson
> | >
> | > I've been thinking the same. Together with seeing tokens in the
> | > thumbnail view under each image would make tagging a lot faster than
> | > it is:
> | >
> | > Load new images in the thumbnail
> | > Select images with person A
> | > Click A - key
> | > Select images with person B
> | > Click B - key
> | > etc.
> | >
> | > or select one image at the time
> | > Tag the tags you want
> | >
> | > And in the end go to tokens, select all images and apply the tags you
> | > want for each tag.
> | >
> | > Would help tag since for every tag you wouldn't need to open the image
> | > conf. dialog or open the image to be able to apply a token.
> | >
> | >
> | > r
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> KPhotoAlbum mailing list
> KPhotoAlbum-xItUb1CHQy4 at public.gmane.org
> http://mail.kdab.net/mailman/listinfo/kphotoalbum

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tokens2.patch
Url: /mailman/pipermail/kphotoalbum/attachments/20061111/53508a5d/attachment.ksh 


More information about the KPhotoAlbum mailing list