Bug 177327

Summary: long tooltips are cut in metadata panel
Product: [Applications] digikam Reporter: Mikolaj Machowski <mikmach>
Component: Usability-ErgonomyAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:
Attachments: long caption cut in tooltip

Description Mikolaj Machowski 2008-12-09 19:24:08 UTC
Version:            (using Devel)
Compiler:          gcc4.3.2 
OS:                Linux
Installed from:    Compiled sources

Long tooltips in metadata panel are cut short not displaying its content fully.

Also display of those links in one long line isn't user friendly for various reasons (eg. hard to follow, may obscure material outside of main window).

If it is possible to use just multiline elements in panel - not just one line cut very quickly - would be great. Of course it would be not possible to fit whole caption from attached screenshot but cutting it after 12 characters is a bit extreme.
Comment 1 Mikolaj Machowski 2008-12-09 19:25:04 UTC
Created attachment 29186 [details]
long caption cut in tooltip
Comment 2 caulier.gilles 2008-12-11 08:13:08 UTC
SVN commit 895597 by cgilles:

Use digiKam style sheet method to cut off long tool tip from metadata side bar tab
BUG: 177327


 M  +2 -2      digikam/albumiconviewtooltip.cpp  
 M  +1 -1      digikam/albumiconviewtooltip.h  
 M  +1 -1      digikam/imagepreviewbar.cpp  
 M  +8 -1      libs/widgets/metadata/metadatalistviewitem.cpp  
 M  +13 -11    project/project.kdevelop  


WebSVN link: http://websvn.kde.org/?view=rev&revision=895597
Comment 3 Mikolaj Machowski 2008-12-11 16:14:16 UTC
Tooltips are now multiline - easier to read, thanks - but still doesn't display whole content of caption: cut after 128 character.
Comment 4 caulier.gilles 2008-12-11 16:34:51 UTC
Mik,

Without to cut to 128, you can explode screen with a big tool tip size.

If you want to find the right value to cut adjust the values set here :

http://lxr.kde.org/source/extragear/graphics/digikam/libs/widgets/metadata/metadatalistviewitem.cpp#053

http://lxr.kde.org/source/extragear/graphics/digikam/libs/widgets/metadata/metadatalistviewitem.cpp#055

... and let's me hear which value is fine for you...

Gilles
Comment 5 Mikolaj Machowski 2008-12-11 21:11:17 UTC
512 characters should be enough for everybody ;)
Comment 6 caulier.gilles 2008-12-11 21:26:05 UTC
SVN commit 895824 by cgilles:

set 512 char as limit of metadata tooltip string
BUG:177327


 M  +2 -2      metadatalistviewitem.cpp  


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