Bug 195871

Summary: image tool tip does not show all tags if too long
Product: [Applications] digikam Reporter: Jonathan Marten <jjm>
Component: Tags-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.0
Attachments: Screen shot of alternative tooltip tag display
Patch to implement tag display as above

Description Jonathan Marten 2009-06-10 12:00:56 UTC
Version:           1.0.0-beta1 (rev.: 977957M) (using Devel)
OS:                Linux
Installed from:    Compiled sources

If the combined length of an image's tag strings is too long, it is truncated when shown below the image in the album viewer.  This is good, but there is no way to view all of the tags completely - even in the image tooltip the tag string is truncated in the same way.  The only way to view all of the tags seems to be either to scroll up/down through the Caption/Tags tool pane, or scan through "Remove tag" in the context menu.

Suggest that all of the tags should be shown, un-truncated, in the image tooltip (in the same place as before, along with the caption/rating if requested).  This would increase the vertical size of the tootip, but would at least provide an easy way to view all of the assigned tags without ambiguity.

A screenshot of how the tooltip could look, and a patch to implement that, are attached.
Comment 1 Jonathan Marten 2009-06-10 12:01:51 UTC
Created attachment 34399 [details]
Screen shot of alternative tooltip tag display
Comment 2 Jonathan Marten 2009-06-10 12:03:01 UTC
Created attachment 34400 [details]
Patch to implement tag display as above
Comment 3 Marcel Wiesweg 2009-07-26 16:03:57 UTC
SVN commit 1002592 by mwiesweg:

Make sure to show as much of the tags as possible
(there is no other overview about assigned tags. What about right sidebar as well?)
Inspired by patch by Jonathan Marten, but asserting maxStringLength is tooltip.
If a tagPath is too long, use the tag name; if the tag name is too long, use elided text.
BUG: 195871

 M  +3 -1      NEWS  
 M  +19 -4     digikam/tooltipfiller.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1002592