Bug 258640

Summary: Tagged messages not seen by nepomuk search.
Product: [Applications] kmail2 Reporter: Fest <fest.in>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: adrian, fest.in, luisfe, montel, PVince81
Priority: NOR    
Version: 4.9.3   
Target Milestone: ---   
Platform: Chakra   
OS: Linux   
Latest Commit: Version Fixed In: 4.13

Description Fest 2010-12-03 02:35:47 UTC
Version:           2.0.89 (using KDE 4.5.80) 
OS:                Linux



Reproducible: Always

Steps to Reproduce:
1. Tag message with nepomuk tag.
2. Search this tag from other program (dolphin for example)

Actual Results:  
Tagged message not found.

Expected Results:  
Tagged message found.
Comment 1 Adrián Chaves (Gallaecio) 2012-11-25 17:49:57 UTC
I can’t figure out how to tag a message from KMail (so I can try to reproduce the issue). If the feature was not removed, could you please provide the steps to add a tag to a message?
Comment 2 Fest 2012-11-25 19:35:57 UTC
Menubar -> Message -> Mark message -> (select tag)

Or just right click on message in message list and " Mark message -> (select tag)"
Comment 3 Adrián Chaves (Gallaecio) 2012-11-25 19:57:48 UTC
Thanks a lot. I can confirm the bug.

On a side not, the KMail dialog to add tags does not allow to create a new one (as Dolphin’s), which should probably be fixed as well.
Comment 4 Vincent Petry 2013-04-28 21:22:55 UTC
Is dolphin able to display emails at all ? I'm not sure but could imagine that dolphin is only displaying files.
Comment 5 Vincent Petry 2013-05-04 10:07:46 UTC
I just tried this in KDE 4.10.2:

I tagged a message with the tag "test".

Then I went to dolphin and typed the following URL: "nepomuksearch:/?query=hasTag:test"
The email will appear in the result list.
Using the other format "tags:/test" doesn't show it.

It means that tagging worked on the kmail side.
Comment 6 luisfe 2013-05-15 17:03:39 UTC
Could you try the following?

On dolphin, write 

nepomuksearch:/hastag=Tagname

With Tagname one of the tags of your mail and check if you get results. I am not sure but it seems to me that tagged mail are "out of scope" for search on dolphin
Comment 7 Laurent Montel 2013-09-19 07:49:24 UTC
Did you retest in last version ?
Comment 8 Laurent Montel 2014-04-03 17:08:29 UTC
I close it.
kmail is free nepomuk in 4.13