Bug 125775 - Digikam way to save and delete "Searches"
Summary: Digikam way to save and delete "Searches"
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Searches-Engine (show other bugs)
Version: 0.8.1
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-18 00:14 UTC by Fri13
Modified: 2012-08-09 07:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 0.9.4


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fri13 2006-04-18 00:14:40 UTC
Version:           0.8.1 (using KDE KDE 3.5.2)
Installed from:    SuSE RPMs

When searching files with search key, it suggest "Last Search" name to save search. It would be little easier if it would suggest automatically name what is used as search key.

Now if i just click OK and it saves my search as "Last search" and then i do new search with different key and i press OK, it prompt me a question for new search name. This is annoying when searching with different keys.

So if i wanted search "Red car" from my pictures, it use that as default name to saved search. Then if i search "Yellow car" it save that search automatically as "Yellow car".

Other suggestion is that when searching something many times and it saves them, it isn't so easy way to delete these saved searches. 
There could be a button to delete search just right side of search (look a picture) and to avoid mistakes, it could act like close buttongs on konversation tabbar, where you need hover mouse over tab a second until you can press it.

http://img386.imageshack.us/my.php?image=digikamsearch2uw.png
Comment 1 Duncan Hill 2006-04-18 08:04:24 UTC
This would work for simple searches.  However, the logic breaks slightly when the search is for 'Images with a date before 1234 and after 0101 and album contains Fred and rating greater than 3'.  I suppose if the code just picks the first search term as the search name it would work though.

I do like the concept of the delete button though, as it reduces right-button clicking for context menus.
Comment 2 Fri13 2006-04-19 11:40:55 UTC
That would be only for simple searches, i dont know but i think most normal users just use simple search more often than advance. In advance you need type other informations and use mouse more than in simple search. So my idea would just make simple search easier :-)

Comment 3 Matt Rosewarne 2006-11-06 21:29:24 UTC
KMail has a good example of how this could be implemented.  When searching (equivalent to Digikam's Advanced Search) the dialogue contains a lineedit which allows the user to select the name of the virtual folder that displays the search results.  The default value is "Last Search".  Essentially, instead of requiring Digikam to name the search based on the criteria the user gives it an arbitrary name.
Comment 4 Matt Rosewarne 2006-11-06 22:18:30 UTC
Wow, never mind.  This functionality is already implemented.  As far as the bug is concerned, I'm not sure there exists a better way to implement saving searches.
Comment 5 Fri13 2008-04-10 12:22:53 UTC
Current digiKam version has better search panel now, so this kind isn't anymore needed.
Comment 6 caulier.gilles 2008-04-10 13:06:54 UTC
Paristo,

You want mean KDE3 or KDE4 searches panel is better ?

Gilles Caulier