Bug 133191

Summary: quick search/filter for albums like in amarok
Product: [Applications] digikam Reporter: Sebastian Turzański <dpbasti>
Component: Searches-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: aironmail, malte
Priority: NOR    
Version: 0.8.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 0.9.3
Sentry Crash Report:
Attachments: digikam with amarok quick-filter

Description Sebastian Turzański 2006-08-29 17:12:30 UTC
Version:           0.8.2 (using KDE 3.5.4 Level "a" , unofficial build of SUSE )
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.16.21-0.13-smp

In the left panel when You have "albums" vertical tab selected there should be a quick search box just like in amarok when You have "collection" selected as vertical tab.
I think many people name their albums with something that is connected to the content for example I could only write "summer" to get only albums containing the word "summer" displayed
Comment 1 caulier.gilles 2006-08-29 18:05:29 UTC
To be sure, please, give us a screenshot part of the amarok search tool relevant. Thanks in advance

Gilles
Comment 2 Sebastian Turzański 2006-08-29 19:47:46 UTC
Created attachment 17558 [details]
digikam with amarok quick-filter

digikam with amarok quick-filter should look like this
Comment 3 Sebastian Turzański 2006-08-29 19:51:36 UTC
as You can see albums with mp3 are very simmiliar to albums with photos so the mechanism which makes amarok so succesful should be IMHO implemmented in digikam.
In this screenshots i just wanted to have only the band's that have "strachy" as part of their names (case insensitive) so when I want to listen to my favourite band "Strachy na Lachy" i just have to do 3 quick things - open amarok, write strachy in quickfilter and dragg-to-right-panel or double click the albums to listen
Comment 4 Sebastian Turzański 2007-02-23 18:41:03 UTC
are You sure what i ment?
Comment 5 caulier.gilles 2007-02-23 18:45:52 UTC
Seb,

Yes of course. no problem, but we finalize 0.9.1 release. We will working on search part later

Gilles
Comment 6 Sebastian Turzański 2007-02-23 19:04:18 UTC
ahh ok , I just thought You misunderstood the idea.

thx for ur good work
Comment 7 Mikolaj Machowski 2007-08-22 11:28:14 UTC
*** Bug 149100 has been marked as a duplicate of this bug. ***
Comment 8 Arnd Baecker 2007-09-05 07:57:56 UTC
Note that this is technically (from the type of code needed)
essentially the same as
http://bugs.kde.org/show_bug.cgi?id=146364

Gilles, do you think that one can easily extract a filter widget
out of the right-side bar comments/tags association
which has the tree display + plus the text filter at the bottom?
(Generally I would think it would be could to have the text filtering
at the bottom, as in view of 
http://bugs.kde.org/show_bug.cgi?id=149555
there a search box at the top would make sense )
Comment 9 caulier.gilles 2007-09-05 08:04:00 UTC
*** Bug 149555 has been marked as a duplicate of this bug. ***
Comment 10 caulier.gilles 2007-11-18 15:09:10 UTC
SVN commit 738271 by cgilles:

digiKam from KDE3 branch : new text filter on status bar to filter current album contents based on item name, comments and tags strings.

CCMAIL: digikam-devel@kde.org
BUG: 110136
CCBUGS: 139283
CCBUGS: 133191


 M  +1 -1      albumiconview.cpp  
 M  +37 -9     albumlister.cpp  
 M  +3 -1      albumlister.h  
 M  +14 -0     albumsettings.cpp  
 M  +3 -0      albumsettings.h  
 M  +21 -0     digikamapp.cpp  
 M  +1 -0      digikamapp.h  
 M  +4 -0      digikamappprivate.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=738271
Comment 11 Mikolaj Machowski 2007-11-18 20:01:26 UTC
Really great feature, few comments though:

- everywhere else I can think of in KDE it is case insensitive and for
  good reasons: this is quick'n'dirty thing, no time to think about
  capitalization and pressing of Shift; the only place where it is
  configurable is KPDF/Okular and only there it should be. Please make
  it case insensitive and not configurable

- you can easily forget how great this little black KDE invention is,
  unless  it is not there. Please add widget for clearing of this field.

- Some indication what is this also would be nice. Text label (not
  tooltip) could be bloating already crowded status bar but small loupe
  like for search?

Once again thanks.
Comment 12 Antonio E. 2007-11-20 23:50:41 UTC
I'm agree with Mikolaj, I think it should be case insensitive.
Using the quick search text field (in the bottom bar) I can filter the images in the selected album, which is great.

I think that it would be convenient to have also some way to filter the album tree in a similar way, just filtering the album names with some text.

For example: The idea is that, if I have the following albums:
AlbumAAA
AlbumAAB
AlbumCCC

If I enter in the filter for the album tree: aa
only the albums: AlbumAAA and AlbumAAB should be listed on the tree.
Comment 13 Sebastian Turzański 2007-11-20 23:57:52 UTC
I agree with Antonio but anyway thx so much for this feature :)
Comment 14 Arnd Baecker 2007-11-21 00:04:45 UTC
- case insensitive: yes
- clearing the field: yes please
- loupe: nice idea

Antonio, concerning the album tree filter, see also bug 146364.
With a new widget, this should be easy to do both for tags and albums
(and yes, I think it would be a great feature!).
Comment 15 Mikolaj Machowski 2007-11-21 08:50:30 UTC
Another icon which could be used is those kitchen utensil - funnel - 
used everywhere where KDE filters things. There are already loupes in 
digiKam interface and another could create confusion.

When placed on the left it could apply its meaning to all filters placed 
in status bar: text, mime (sorry file type ;), rating.

----------------------------------------------------
Wycieczki
Zimowe szale
Comment 16 caulier.gilles 2007-11-25 21:56:51 UTC
SVN commit 741527 by cgilles:

digiKam from KDE3 branch : new text filters have been added to the bottom of left and right sidebars. View listed below can be filtered:
- Album folder view.
- Tags folder view.
- Search folder view
- Tags Filter folder view.

When user type a string, a search is performed to tree view contents and only items including the strings are displayed. 
A screenshot of digiKam in action is available at this url:

http://digikam3rdparty.free.fr/Screenshots/digikam0.9.3-searchfolderbar.png

BUG: 133191
BUG: 146364
CCBUGS: 110136
CCMAIL: digikam-devel@kde.org



 M  +69 -1     albumfolderview.cpp  
 M  +5 -0      albumfolderview.h  
 M  +86 -11    digikamview.cpp  
 M  +34 -1     searchfolderview.cpp  
 M  +9 -0      searchfolderview.h  
 M  +68 -0     tagfilterview.cpp  
 M  +5 -0      tagfilterview.h  
 M  +68 -0     tagfolderview.cpp  
 M  +5 -0      tagfolderview.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=741527
Comment 17 caulier.gilles 2007-11-26 09:43:11 UTC
SVN commit 741717 by cgilles:

backport commits #741527 from KDE3 branch: new text filters have been added to the bottom of left and right sidebars. View listed below can be filtered:
- Album folder view.
- Tags folder view.
- Search folder view
- Tags Filter folder view.

When user type a string, a search is performed to tree view contents and only items including the strings are displayed.
A screenshot of digiKam in action is available at this url:

http://digikam3rdparty.free.fr/Screenshots/digikam0.9.3-searchfolderbar.png

CCBUGS: 133191
CCBUGS: 146364
CCBUGS: 110136
CCMAIL: digikam-devel@kde.org


 M  +69 -0     albumfolderview.cpp  
 M  +7 -1      albumfolderview.h  
 M  +85 -12    digikamview.cpp  
 M  +33 -0     searchfolderview.cpp  
 M  +10 -1     searchfolderview.h  
 M  +68 -0     tagfilterview.cpp  
 M  +5 -0      tagfilterview.h  
 M  +68 -0     tagfolderview.cpp  
 M  +5 -0      tagfolderview.h  


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