Bug 136555 - JJ: No way to use custom tags as search criteria
Summary: JJ: No way to use custom tags as search criteria
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.9.5
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 200438 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-31 09:36 UTC by Hasso Tepper
Modified: 2009-07-23 11:56 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hasso Tepper 2006-10-31 09:36:03 UTC
Version:           1.9.5 (using KDE 3.5.5, compiled sources)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.18.1

Latest 3.5.5+ branch compiled from sources. Custom tags feature is nice, but there is no way to use tag as search criteria in search dialog (the one which is opened with "s") and therefore in virtual folders. Builtin tags are all there in "<status>" criteria, but no custom tags.
Comment 1 Allen Winter 2006-10-31 14:42:23 UTC
Hi Hasso,

Yeah, I noticed this yesterday too.  And I also noticed that you can't search on the other built-in tags (like Important or To-do).

So, confirmed.

Comment 2 Hasso Tepper 2006-10-31 19:05:29 UTC
Important and todo are there in the list at least in my install.

However I experienced several times that people don't realise that this dropdown to choose status flags has scrollbar. It's probably because this dropdown is too wide - strings occupy only tiny part of dropdown width and scrollbar in other end of dropdown remains unnoticed.
Comment 3 Allen Winter 2006-11-02 00:18:53 UTC
I think we are mixing things up.

For me:
The Important, To-do, and custom tags are in all the quick search Status drop down.

But the Important, To-do, and custom tags are not available as search criteria in the Find Messages search dialog (the one which is opened with "s").
 
Comment 4 Tobias G. Pfeiffer 2009-01-04 02:34:43 UTC
I would also like to have the possibility to search for tagged mails using the search dialog. In http://bugs.kde.org/show_bug.cgi?id=38732 it says that one is able to search for the "status" of a message (and save this search as a folder) since KDE 3.2 (although I cannot confirm this for my Kmail right now, which is from 4.2 beta 2).
Comment 5 Aldo "xoen" Giambelluca 2009-03-07 03:31:02 UTC
I've tried to search for mails with some tags created for me but this is seems to be impossible, I can filter on "From", "To", and so on, but I can't choose to filter on tags...

I said "seems" because (I don't know how) I found a way to do this, the "trick" is to write "<status>".

There is an usability problem here because it should be possible to use tag information using the search interface without this kind of tricks.
Comment 6 Aldo "xoen" Giambelluca 2009-03-07 03:44:44 UTC
OK, I'm sorry but the "<status> trick" doesn't work for _custom_ tags, I thinked yes, at least it works for _standard_ tags, sorry for the SPAM.
Comment 7 Rigo Wenning 2009-06-12 14:51:04 UTC
If you're at it, I noticed that searching for the mail address in the search bar (not with the full blown "s") does not work either. Say I have a friend with email tlr@example.org and I type "tlr" into the search bar, the results list is empty. If I expand the name as shown in the message list to "Timo Laurent Ruquier" it will find all the messages. As one can have many Joe Does with different mail addresses, it is far better to search with some snippet of the mail address. This is currently not possible. It worked in the past AFAIR..
Comment 8 Maciej Pilichowski 2009-06-12 16:25:39 UTC
Rigo, I believe the issue you mention is covered in:
https://bugs.kde.org/show_bug.cgi?id=99094
Comment 9 Jonathan Armond 2009-06-24 13:36:05 UTC
SVN commit 986207 by jarmond:

Allow searching by tag. Created new RuleWidgetHandler for tags.

FEATURE: 136555
CCBUG: 182279

 M  +10 -1     kmsearchpattern.cpp  
 M  +1 -0      kmsearchpattern.h  
 M  +2 -0      kmsearchpatternedit.cpp  
 M  +1 -1      kmsearchpatternedit.h  
 M  +296 -0    rulewidgethandlermanager.cpp  
 M  +2 -1      searchjob.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=986207
Comment 10 Christophe Marin 2009-07-23 11:56:20 UTC
*** Bug 200438 has been marked as a duplicate of this bug. ***