Bug 177327 - long tooltips are cut in metadata panel
Summary: long tooltips are cut in metadata panel
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Ergonomy (show other bugs)
Version: 0.10.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-09 19:24 UTC by Mikolaj Machowski
Modified: 2022-01-20 04:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments
long caption cut in tooltip (54.51 KB, image/jpeg)
2008-12-09 19:25 UTC, Mikolaj Machowski
Details

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