Bug 327009 - Tags auto-completion suggestions list is cut off at the right side
Summary: Tags auto-completion suggestions list is cut off at the right side
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Engine (show other bugs)
Version: 4.2.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL: http://www.aniunaite-ott.de/pub/digik...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-01 22:18 UTC by Jan Ott
Modified: 2015-03-11 22:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.0
Sentry Crash Report:


Attachments
tagitem.patch (955 bytes, patch)
2015-03-11 21:45 UTC, Maik Qualmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Ott 2013-11-01 22:18:43 UTC
For tagging my photos I use what is labeled "the keyboard way" in this description: 
http://www.digikam.org/node/641
When I start typing the desired tag, a list of matching tag suggestions appear. But this list is cut off at the right side so that the "tag roots" are not displayed properly. 
Example: For people I use tags with pattern /Personen/family_name/first_name. As you can see in the linked screenshot, there are three persons with first name Andreas. Their family names are not displayed so you can only guess which Andreas to choose.

Reproducible: Always

Steps to Reproduce:
1. Open digikam in album view,
2. select Caption/Tags,
3. enter the first letters of the desired tag in the first box from the top,
Actual Results:  
A list of tag suggestions appears. The suggestions are cut off, not using all the available space to the right. Identical Tags with different roots cannot be distinguished.

Expected Results:  
The tag list should use all of the available space, showing as much as possible of the tag roots.
Comment 1 Jan Ott 2014-04-10 21:24:34 UTC
The problem is still present in digikam 4.0.0-beta4
Comment 2 caulier.gilles 2014-09-02 08:02:06 UTC
Jan,

Problem is reproducible using last digiKam 4.2.0 ?

Gilles Caulier
Comment 3 Jan Ott 2014-09-02 20:52:24 UTC
Yes, the problem still remains the same in 4.2.0.

Jan
Comment 4 caulier.gilles 2014-09-25 18:52:58 UTC
For original report : "As you can see in the linked screenshot"...

Where is the screenshot exactly ?

Gilles Caulier
Comment 5 caulier.gilles 2014-09-25 18:54:56 UTC
ok, i find it : http://www.aniunaite-ott.de/pub/digikam-screenshot.jpg
Comment 6 Jan Ott 2015-03-11 16:50:14 UTC
Problem is still present in 4.8.0.
Comment 7 Maik Qualmann 2015-03-11 21:45:23 UTC
Created attachment 91536 [details]
tagitem.patch

In the tag Item string is a line break. Only for very large symbol (48) of the text is visible. This patch removes the line break.
Comment 8 caulier.gilles 2015-03-11 22:39:13 UTC
Git commit c14c21d46b9bd7c62e0dccc9ac1551ca0995c444 by Gilles Caulier.
Committed on 11/03/2015 at 22:34.
Pushed by cgilles into branch 'master'.

apply patch #91536 from MAik Qualmann to remove line break in tag completion suggestion list
FIXED-IN: 4.9.0

M  +2    -1    NEWS
M  +2    -2    app/tags/addtagscompletionbox.cpp

http://commits.kde.org/digikam/c14c21d46b9bd7c62e0dccc9ac1551ca0995c444
Comment 9 caulier.gilles 2015-03-11 22:43:58 UTC
Git commit 896a82c1f487e14c0c4bb8e1ef4bafd23a033b00 by Gilles Caulier.
Committed on 11/03/2015 at 22:40.
Pushed by cgilles into branch 'frameworks'.

backport commit #c14c21d46b9bd7c62e0dccc9ac1551ca0995c444 from git/master to frameworks branch

M  +2    -2    libs/tags/addtagscompletionbox.cpp

http://commits.kde.org/digikam/896a82c1f487e14c0c4bb8e1ef4bafd23a033b00