Bug 195871 - image tool tip does not show all tags if too long
Summary: image tool tip does not show all tags if too long
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Engine (show other bugs)
Version: 1.0.0
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-10 12:00 UTC by Jonathan Marten
Modified: 2012-06-27 11:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments
Screen shot of alternative tooltip tag display (12.20 KB, image/png)
2009-06-10 12:01 UTC, Jonathan Marten
Details
Patch to implement tag display as above (1.15 KB, patch)
2009-06-10 12:03 UTC, Jonathan Marten
Details

Note You need to log in before you can comment on or make changes to this bug.
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