Bug 228378 - Tag filtering is bugged
Summary: Tag filtering is bugged
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Filters (show other bugs)
Version: 1.1.0
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-24 22:15 UTC by Tenno Seremel
Modified: 2012-06-27 10:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 1.2.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tenno Seremel 2010-02-24 22:15:09 UTC
Version:           1.1.0 (using KDE 4.3.4)
OS:                Linux
Installed from:    Debian testing/unstable Packages

I have many tags and often use right sidebar to apply them. However filter text box in it seems to be bugged.

Simple example: I type 'a' (without quotes) and all I'm getting is 'guilty gear/a.b.a' tag even though I expect it to show all other tags to me with a letter 'a'. Such as 'awesome', 'armor', etc.

If I type more letters it's the same thing. I only get only one of the tags that begins with what I typed even if I typed a whole word.
Comment 1 Johannes Wienke 2010-02-24 22:35:40 UTC
This is the automatic completion mode which is taken from the kde globals as a default. You can change it eg. to "dropdown list" via a right click on the filter bar -> completion mode.
Comment 2 Tenno Seremel 2010-02-24 23:23:48 UTC
Those items in completion mode always didn't quite make sense to me (name are somewhat counter-intuitive). However it seems using 'semi-automatic' (translated from my language here) does the trick.

I'm not sure how is that it have any relation to the tag tree but it works. Maybe it should set sane default or is it not possible / against KDE HIG?
Comment 3 Johannes Wienke 2010-02-24 23:30:53 UTC
The completion and their settings are directly provided by the KLineEdit that is used for this filtering. So we cannot do much about this. You could open a bug report for the kdelibs if you think this needs a usability improvement.

What is the confusion about the relation to the tag tree? Right now every tag title in the tree is used as a suggestion for the completion.
Comment 4 Tenno Seremel 2010-02-24 23:46:55 UTC
The confusion was mostly because this option appears on KLineEdit however it affects tag tree. To me they looked liked separate widgets so I haven't expected then to work that way.

Maybe I should suggest to rename 'Automatic' and 'semi-automatic' (completion mode menu items) to something else in kdelibs but what should they be called I'm not sure.
Comment 5 Johannes Wienke 2010-02-24 23:49:35 UTC
Well it affects tag tree in the moment the line edit completes the first match. This completed text is then used to filter the tag tree. Or are you experiencing other symptoms?
Comment 6 Tenno Seremel 2010-02-25 00:12:11 UTC
No. It's just I thought KLineEdit's completion options works only for KLineEdit itself not for the tag tree. Apparently they are connected to each other in such a way that if it's set to 'automatic' I have only 1 item in the result tree. 

BTW 'Manual' seems to work as I epxect from a filter too, so what's difference is between semi-automatic and manual I don't know.

(I'm using direct links below. I don't know if they allow hotlinking. Copy/paste if it is not so.)

Hmm… weird thing is if I'm typing with 'automatic' it's wrong:
http://img641.imageshack.us/img641/8048/d1098.png

however if I paste it from clipboard (still with automatic) it works normally:
http://img641.imageshack.us/img641/2088/d1099.png

Should I blame kdelibs or digikam's completion? (seen as grey letters in the 1st image)
Comment 7 Tenno Seremel 2010-02-25 00:15:42 UTC
Err... seems 'manual' (and semi-automatic does not... at least not always) does what I need. So many completion options that does something I don't quite understand...
Comment 8 Johannes Wienke 2010-02-26 18:44:03 UTC
Don't hesitate to open a bug report for the kdelibs requesting a usability improvement for this.

I will close this bug as as invalid as the filtering is working as expected. Reopen if you really find a problem in the filtering.