Bug 278664

Summary: Image Names are not displayed completely in the AlbumUI
Product: [Applications] digikam Reporter: Andi Clemens <andi.clemens>
Component: Albums-MainViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 2.0.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.0.0
Sentry Crash Report:

Description Andi Clemens 2011-07-28 05:38:19 UTC
Version:           2.0.0 (using KDE 4.6.5) 
OS:                Linux

Long image names are not displayed completely in the AlbumUI anymore. They are cut of in the beginning and end of the name.

Reproducible: Always

Steps to Reproduce:
1. Click on an album with long image names
2. Look at the image names


Expected Results:  
Names should be completely visible

OS: Linux (i686) release 2.6.39-ARCH
Compiler: gcc
Comment 2 Marcel Wiesweg 2011-07-30 09:16:01 UTC
You would like to have the names elided (...) at the end?
Comment 3 Andi Clemens 2011-07-30 09:31:27 UTC
At least I do not want them to be cut off in the beginning of the filename, this looks weird...
Comment 4 Marcel Wiesweg 2011-07-30 12:31:33 UTC
Qt::ElideLeft	0	The ellipsis should appear at the beginning of the text.
Qt::ElideRight	1	The ellipsis should appear at the end of the text.
Qt::ElideMiddle	2	The ellipsis should appear in the middle of the text.
Qt::ElideNone	3	Ellipsis should NOT appear in the text.
Comment 5 caulier.gilles 2011-12-14 09:21:04 UTC
Andi,

Do you see comment #4 from Marcel ?

Gilles Caulier
Comment 6 Andi Clemens 2011-12-18 11:49:44 UTC
I guess the best option would be Qt::ElideRight or Qt::ElideMiddle, I would prefer the ellipsis shown on the right.
Comment 7 caulier.gilles 2013-11-25 16:59:08 UTC
Andi,

Any progress here ?

Gilles Caulier
Comment 8 caulier.gilles 2013-11-26 17:23:46 UTC
Git commit 033729294277f43da6b7aa97cf6ab94bb38cf1fe by Gilles Caulier.
Committed on 26/11/2013 at 17:22.
Pushed by cgilles into branch 'master'.

apply string elide mode to file name show under thumbnail of icon-view.
FIXED-IN: 4.0.0

M  +3    -1    libs/widgets/itemview/itemviewimagedelegate.cpp

http://commits.kde.org/digikam/033729294277f43da6b7aa97cf6ab94bb38cf1fe