<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>277007</bug_id>
          
          <creation_ts>2011-07-03 14:42:11 +0000</creation_ts>
          <short_desc>KMail2 full search of emails does not work</short_desc>
          <delta_ts>2017-01-13 14:28:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmail2</product>
          <component>general</component>
          <version>5.3.0</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Thomas Berger">tbe</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>Aleksey_R</cc>
    
    <cc>arthur</cc>
    
    <cc>bugs</cc>
    
    <cc>bugz57</cc>
    
    <cc>christopherheiny</cc>
    
    <cc>dav1dblunk3tt</cc>
    
    <cc>frederic.coiffier</cc>
    
    <cc>giovanni.bobbio</cc>
    
    <cc>hanspeterg</cc>
    
    <cc>ht990332</cc>
    
    <cc>jgue</cc>
    
    <cc>juho</cc>
    
    <cc>kdenis</cc>
    
    <cc>kramski</cc>
    
    <cc>lacsilva</cc>
    
    <cc>leo</cc>
    
    <cc>mail</cc>
    
    <cc>montel</cc>
    
    <cc>peebhat</cc>
    
    <cc>piedro.kulman</cc>
    
    <cc>rigo</cc>
    
    <cc>stephan.diestelhorst</cc>
    
    <cc>thomas</cc>
    
    <cc>till2.schaefer</cc>
    
    <cc>virgolus</cc>
    
    <cc>winter</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>202</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1137884</commentid>
    <comment_count>0</comment_count>
    <who name="Thomas Berger">tbe</who>
    <bug_when>2011-07-03 14:42:11 +0000</bug_when>
    <thetext>Version:           2.0.95 (using Devel) 
OS:                Linux

Searching mails via the &quot;full search&quot; feature of KMail2 does always return a empty result.

Reproducible: Didn&apos;t try

Steps to Reproduce:
Open the &quot;full search&quot; window and click on &quot;Search&quot; without any keyword.

Actual Results:  
0 results returned immediately 

Expected Results:  
All mails in the folder should be shown up.

I am using the kde-overlay for Gentoo, currently all versions are at 4.6.90</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1137892</commentid>
    <comment_count>1</comment_count>
    <who name="Allen Winter">winter</who>
    <bug_when>2011-07-03 15:10:57 +0000</bug_when>
    <thetext>version 2.0.95 is old by now.
you should consider installing KDEPIM 4.6 which includes kmail 2.1.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1139135</commentid>
    <comment_count>2</comment_count>
    <who name="Aleksey">Aleksey_R</who>
    <bug_when>2011-07-07 08:33:08 +0000</bug_when>
    <thetext>Search doesn&apos;t work in kmail 2.1.0 at all. Using kontact 4.6.0, KDE 4.6.5.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1139571</commentid>
    <comment_count>3</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2011-07-08 11:46:40 +0000</bug_when>
    <thetext>Are you sure that you have not pb with nepomuk ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1139624</commentid>
    <comment_count>4</comment_count>
    <who name="Andreas Kuhl">mail</who>
    <bug_when>2011-07-08 14:41:06 +0000</bug_when>
    <thetext>Happens for me, too! Nepomuk is working (indexed search works properly in Dolphin) but searching in KMail via &quot;find messages&quot; and scope &quot;complete message&quot; does return nothing.

Searching the same keyword (which only exists in a mail) via KRunner returns a &quot;akonadi:?item=10977&quot; result from type Resource.

KDE SC 4.6.90 with KMail 2.0.95 on openSUSE 11.4 64bit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1139871</commentid>
    <comment_count>5</comment_count>
    <who name="Unknown">null</who>
    <bug_when>2011-07-09 11:52:17 +0000</bug_when>
    <thetext>The description of this bug with &quot;steps to reproduce&quot; leaves all fields empty. If you click &quot;search&quot; then, I think it&apos;s acceptable that no results are shown, because you&apos;re basically not searching for anything. :-)

If you select &quot;Complete Message&quot; contains &quot;something&quot;, I&apos;m getting results... although it might take quite some time depending on the amount of e-mails and whether you&apos;re using IMAP or POP3. Funny thing is, that it doesn&apos;t show anywhere that it&apos;s still busy searching. So you might think that it doesn&apos;t come up with any results. This is unacceptable behavior, since there&apos;s no way of knowing whether it has finished with no results, or it is still busy searching.

So, I&apos;m guessing that the above is what&apos;s happening to Andreas Demmer in #4? To confirm this, wait a few minutes after a search.

As for the bug description, it might be a nice feature if one can do a search for everything: that way, one can combine &quot;sent&quot; and &quot;inbox&quot; folders and turn threading on. But that&apos;s not part of this bug. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1140152</commentid>
    <comment_count>6</comment_count>
    <who name="Andreas Kuhl">mail</who>
    <bug_when>2011-07-10 09:50:00 +0000</bug_when>
    <thetext>No, there is no background activity for me, the search has already finished. And an indexed search should run only a couple of seconds. At least, that is how it worked back in KDE 4.6 already with KMail2: Searching took only a fraction of a second and results appeared. Here I can wait for minutes and no results turn up.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1147940</commentid>
    <comment_count>7</comment_count>
    <who name="Luis Silva">lacsilva</who>
    <bug_when>2011-07-31 20:21:51 +0000</bug_when>
    <thetext>I have the exact same result. I am compiling from git master against kde 4.7.0.
When launching kmail from a command line and doing a search for foo in mail headers, for example I get the following invalid SPARQL querry:
select distinct ?r ?reqProp1 (bif:concat(bif:search_excerpt(bif:vector(&apos;foo&apos;), ?v2))) as ?_n_f_t_m_ex_ where { { ?r &lt;http://akonadi-project.org/ontologies/aneo#akonadiItemId&gt; ?reqProp1 . ?r &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#messageSubject&gt; ?v2 . FILTER(bif:contains(?v2, &quot;&apos;foo&apos;&quot;)) . ?r a &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email&gt; . } . ?r &lt;http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible&gt; ?v1 . FILTER(?v1&gt;0) . }

If instead I search for &quot;foo&quot; in the &quot;Complete message&quot; I again get an invalid querry:
select distinct ?r ?reqProp1 (bif:concat(bif:search_excerpt(bif:vector(&apos;foo&apos;), ?v11),bif:search_excerpt(bif:vector(&apos;foo&apos;), ?v12),bif:search_excerpt(bif:vector(&apos;foo&apos;), ?v14),bif:search_excerpt(bif:vector(&apos;foo&apos;), ?v4))) as ?_n_f_t_m_ex_ where { { ?r &lt;http://akonadi-project.org/ontologies/aneo#akonadiItemId&gt; ?reqProp1 . { ?r &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#to&gt; ?v2 . ?v2 &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nco#hasEmailAddress&gt; ?v3 . ?v3 &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nco#emailAddress&gt; ?v4 . FILTER(bif:contains(?v4, &quot;&apos;foo&apos;&quot;)) . } UNION { ?r &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#cc&gt; ?v5 . ?v5 &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nco#hasEmailAddress&gt; ?v6 . FILTER(bif:contains(?v4, &quot;&apos;foo&apos;&quot;)) . } UNION { ?r &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#bcc&gt; ?v7 . ?v7 &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nco#hasEmailAddress&gt; ?v8 . FILTER(bif:contains(?v4, &quot;&apos;foo&apos;&quot;)) . } UNION { ?r &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#from&gt; ?v9 . ?v9 &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nco#hasEmailAddress&gt; ?v10 . FILTER(bif:contains(?v4, &quot;&apos;foo&apos;&quot;)) . } UNION { ?r &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#messageSubject&gt; ?v11 . FILTER(bif:contains(?v11, &quot;&apos;foo&apos;&quot;)) . } UNION { ?r &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#plainTextMessageContent&gt; ?v12 . FILTER(bif:contains(?v12, &quot;&apos;foo&apos;&quot;)) . } UNION { ?r &lt;http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf&gt; ?v13 . ?v13 &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#plainTextMessageContent&gt; ?v14 . FILTER(bif:contains(?v14, &quot;&apos;foo&apos;&quot;)) . } . ?r a &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email&gt; . } . ?r &lt;http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible&gt; ?v1 . FILTER(?v1&gt;0) . }

It seems that the problem is in the querry construction.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1148124</commentid>
    <comment_count>8</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2011-08-01 09:13:24 +0000</bug_when>
    <thetext>I will work on search during this week
It&apos;s important to fix it.
Regards</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1148142</commentid>
    <comment_count>9</comment_count>
    <who name="Andreas Kuhl">mail</who>
    <bug_when>2011-08-01 09:33:35 +0000</bug_when>
    <thetext>That&apos;s good news, thank you! :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1148228</commentid>
    <comment_count>10</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2011-08-01 12:04:20 +0000</bug_when>
    <thetext>Yes for complete message query is not good. I will investigate it.
There is still some search type not implemented.
I will implement them soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1148821</commentid>
    <comment_count>11</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2011-08-02 12:32:54 +0000</bug_when>
    <thetext>Ok now search for messages/headers etc. is ok.
Need to improve all search but now it&apos;s ok.
fixed in 4.7/master.
Will work to make other search work (for example specific header etc.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1148823</commentid>
    <comment_count>12</comment_count>
    <who name="Andreas Kuhl">mail</who>
    <bug_when>2011-08-02 12:49:49 +0000</bug_when>
    <thetext>I will not be able to test until KDE SC 4.7.1 is available in openSUSE repos, building KMail from trunk is a tough job.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1148828</commentid>
    <comment_count>13</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2011-08-02 13:05:12 +0000</bug_when>
    <thetext>not necessary to build now
I think there is still bugs but by default we can search
so it&apos;s a good step :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1149204</commentid>
    <comment_count>14</comment_count>
    <who name="Luis Silva">lacsilva</who>
    <bug_when>2011-08-03 07:57:20 +0000</bug_when>
    <thetext>I can confirm that the latest changes already shopw an improvement. However, kmail is now crashing everitime I perform a given search the first time. Probably a different issue. Should I submit a different bug or just post the backtrace here and keep it all together?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1149209</commentid>
    <comment_count>15</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2011-08-03 08:01:36 +0000</bug_when>
    <thetext>Yes please create a new bug or give the backtrace
thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1149464</commentid>
    <comment_count>16</comment_count>
    <who name="Luis Silva">lacsilva</who>
    <bug_when>2011-08-03 17:13:22 +0000</bug_when>
    <thetext>(In reply to comment #15)
&gt; Yes please create a new bug or give the backtrace
&gt; thanks

Just created Bug 27930 for this. Cheers and thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1264855</commentid>
    <comment_count>17</comment_count>
    <who name="leo_rockway">leo</who>
    <bug_when>2012-06-12 07:38:54 +0000</bug_when>
    <thetext>Search not working on KDE SC 4.9 beta 1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1265021</commentid>
    <comment_count>18</comment_count>
    <who name="Luis Silva">lacsilva</who>
    <bug_when>2012-06-12 17:22:38 +0000</bug_when>
    <thetext>I can confirm this with both kubuntu-ppa/beta packages and sources compiled from git master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1271324</commentid>
    <comment_count>19</comment_count>
    <who name="leo_rockway">leo</who>
    <bug_when>2012-07-01 07:40:44 +0000</bug_when>
    <thetext>I can see that search is finding some results using KDE SC 4.9RC1. It&apos;s only showing a limited amount of results, though. I searched for an email with a subject I already knew existed; the email is a few months old and it didn&apos;t show up in the search. When I search for something that I know exists and is newer then I can get proper results.
In the Maintenance tab of the folder properties I can see that it says the folder was indexed a few days ago.

Anyway, glad to see that searching is making progress. Thank you for this and keep up the good work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1276598</commentid>
    <comment_count>20</comment_count>
    <who name="Colin J Thomson">colin.thomson</who>
    <bug_when>2012-07-16 18:05:37 +0000</bug_when>
    <thetext>I am seeing this on Fedora17 x86_64 - KDE 4.9RC2.
Downgrading virtuoso-opensource to version 6.1.4 and search in Kmail now works again and fast..
Of note the results of my test search that was empty when running 6.1.5 where shown after the downgrade to 6.1.4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1280281</commentid>
    <comment_count>21</comment_count>
    <who name="Colin J Thomson">colin.thomson</who>
    <bug_when>2012-07-31 17:07:15 +0000</bug_when>
    <thetext>An update of virtuoso-opensource to 1:6.1.6-0.1.rc2 seems to have fixed this with my initial testing. KDE 4.9/F17 x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1302475</commentid>
    <comment_count>22</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2012-10-03 10:09:21 +0000</bug_when>
    <thetext>*** Bug 299840 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1302488</commentid>
    <comment_count>23</comment_count>
    <who name="Parameshwara Bhat">peebhat</who>
    <bug_when>2012-10-03 11:07:33 +0000</bug_when>
    <thetext>search not working for opensuse 12.2 kde 4.8.5 kmail 4.8.5
pbhat@linux-8ddu:~&gt; rpm -qa|grep virtuoso
virtuoso-drivers-6.1.6-3.4.1.i586
soprano-backend-virtuoso-2.7.6-2.1.2.i586
virtuoso-server-6.1.6-3.4.1.i586</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1303969</commentid>
    <comment_count>24</comment_count>
    <who name="Andrew Gaydenko">a</who>
    <bug_when>2012-10-07 15:24:20 +0000</bug_when>
    <thetext>4.9.2 (under Arch) still has the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1303970</commentid>
    <comment_count>25</comment_count>
    <who name="Luis Silva">lacsilva</who>
    <bug_when>2012-10-07 15:34:10 +0000</bug_when>
    <thetext>I can confirm that this is still a problem with 4.9.2 and master.
I was looking at the code and it seems that the problem may even be in the akonadi code that performs the search.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1303972</commentid>
    <comment_count>26</comment_count>
    <who name="Luis Silva">lacsilva</who>
    <bug_when>2012-10-07 15:42:04 +0000</bug_when>
    <thetext>Other issues that may have a common cause:
- Searching for a specific message status like &quot;Important&quot; only ever returns the unread messages.
- Searching for messages arrived in the last three days returns all my messages.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1304017</commentid>
    <comment_count>27</comment_count>
    <who name="Andrew Gaydenko">a</who>
    <bug_when>2012-10-07 20:00:47 +0000</bug_when>
    <thetext>This is a debug output from all processes with &apos;mail&apos; context in name. I have started kmail, invoked search dialog (S), printed a letter in the search context field and clicked search button. At the end of fragment below you will find two interesting notes about 

- disabled code, and
- &quot;&quot; (empty string) context field content.

kmail2(26429) KMKernel::openReader:
kmail2(26429) MessageList::StorageModel::StorageModel: Using model: Akonadi::EntityTreeModel
kmail2(26429) Nepomuk::ResourceWatcher::start: Successfully connected to watch service
kmail2(26429) KMail::KMSystemTray::KMSystemTray: Initting systray
kmail2(26429) MessageList::Core::View::resizeEvent: Resize event enter (viewport width is  235 )
kmail2(26429) MessageList::Core::View::resizeEvent: Resize event enter (viewport width is  1108 )
kmail2(26429) KSieveUi::Vacation::Vacation: Vacation: found url &quot; &quot;&quot; &quot;
kmail2(26429) MessageList::Core::View::resizeEvent: Resize event enter (viewport width is  1108 )
kmail2(26429) MailCommon::SearchRuleWidget::setRule: ( &quot;&quot;Subject&quot; &lt;contains&gt; &quot;&quot;&quot; )
kmail2(26429) KMail::SearchWindow::SearchWindow: AKONADI PORT: Disabled code in   KMail::SearchWindow::SearchWindow(KMMainWidget*, const Akonadi::Collection&amp;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1386767</commentid>
    <comment_count>28</comment_count>
    <who name="Till Schäfer">till2.schaefer</who>
    <bug_when>2013-07-29 14:34:08 +0000</bug_when>
    <thetext>I can confirm that  the advanced search does not find every message which contains a keyword. It seems that only a subset of the results are shown. This may be related to IMAP (see bug: 223813 ). 

another bug that might be related to this one: 258676


using KDE 4.10.5 on Gentoo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1386771</commentid>
    <comment_count>29</comment_count>
    <who name="Andrew Gaydenko">a</who>
    <bug_when>2013-07-29 14:48:59 +0000</bug_when>
    <thetext>(In reply to comment #28)
&gt; This may be related to IMAP (see bug: 223813 ). 

The issue takes place with POP3 accounts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1386772</commentid>
    <comment_count>30</comment_count>
    <who name="Christopher Heiny">christopherheiny</who>
    <bug_when>2013-07-29 14:50:21 +0000</bug_when>
    <thetext>It also occurs with local mail files and maildirs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1396723</commentid>
    <comment_count>31</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2013-09-12 14:03:45 +0000</bug_when>
    <thetext>I made a lot of improvment in 4.11.2 and 4.12
Will continue to improve search</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1440565</commentid>
    <comment_count>32</comment_count>
    <who name="Hussam Al-Tayeb">ht990332</who>
    <bug_when>2014-04-09 22:27:17 +0000</bug_when>
    <thetext>Search works better here after baloo port.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1440567</commentid>
    <comment_count>33</comment_count>
    <who name="Andrew Gaydenko">a</who>
    <bug_when>2014-04-09 23:18:15 +0000</bug_when>
    <thetext>Hussam, please, would you be a little more elaborate? Frankly, I don&apos;t understand &quot;better&quot;. I understand &quot;does work&quot; or &quot;doesn&apos;t work&quot; :) In other words, can you be absolutely sure current search finds *all* occurrences of the search context among thousands of messages?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1440598</commentid>
    <comment_count>34</comment_count>
    <who name="Hussam Al-Tayeb">ht990332</who>
    <bug_when>2014-04-10 07:38:53 +0000</bug_when>
    <thetext>On Wednesday 09 April 2014 23:18:15 you wrote:
&gt; https://bugs.kde.org/show_bug.cgi?id=277007
&gt; 
&gt; --- Comment #33 from Andrew Gaydenko &lt;a@gaydenko.com&gt; ---
&gt; Hussam, please, would you be a little more elaborate? Frankly, I don&apos;t
&gt; understand &quot;better&quot;. I understand &quot;does work&quot; or &quot;doesn&apos;t work&quot; :) In other
&gt; words, can you be absolutely sure current search finds *all* occurrences of
&gt; the search context among thousands of messages?

Searching for keywords in email subjects now always works. Previously it 
randomly failed.
Searching for keywords in &quot;Body of Message&quot; now works in emails that are 
filtered to specific folders but not in the top &quot;inbox&quot; folder. This is when I 
do &quot;Tools -&gt; Search&quot; and search only in &quot;Local Folders/inbox&quot; but with 
&quot;Include sub-folders&quot; enabled.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1445249</commentid>
    <comment_count>35</comment_count>
    <who name="Till Schäfer">till2.schaefer</who>
    <bug_when>2014-05-02 14:19:14 +0000</bug_when>
    <thetext>it is still broken for me in 4.13.0 with baloo backend. when i do a a search in the quickfilter or in the general search dialog over all folders, a mail that is located in my send folder is never found. i tried different matching strings, the from, to and subject, fields. The message is never listed. 

it is much better than before baloo, but is is still not completely working.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1472337</commentid>
    <comment_count>36</comment_count>
    <who name="Thomas Arend">thomas</who>
    <bug_when>2014-09-22 18:03:44 +0000</bug_when>
    <thetext>Search and quick filtering doesn&apos;t work in 4.14.1

I try to filter after info@twitter.com but get a lot of messages where this string is not included.

Restricting the search  to &quot;From&quot; works. Restricting it to the body should gives a lot none twitter e-mails but no twitter e-mail.

Filtering is still a disaster!

How did you code this? Normally &quot;If a=b then&quot; should work in any programming language. Or do you roll the dice?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1472341</commentid>
    <comment_count>37</comment_count>
    <who name="Thomas Arend">thomas</who>
    <bug_when>2014-09-22 18:16:06 +0000</bug_when>
    <thetext>I searched for &quot;info@twitter.com&quot; in the whole message and &quot;vmware&quot; only in the From header field. This should return an empty list but I got 36 of 53 VMWare messages.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1546827</commentid>
    <comment_count>38</comment_count>
    <who name="Robert Scott">bugs</who>
    <bug_when>2015-09-28 16:29:29 +0000</bug_when>
    <thetext>I&apos;m having the same problem with 4.14.1 under debian jessie. Immediately returning no search results no matter what I type.

Part of me wants to say this is the last straw with kmail2, but I&apos;ve said it before too much already. I think the only reason I&apos;ve been staying with it is because of the convenience of kde&apos;s kioslaves. It makes me sad because kmail1 was one of my *favourite* applications.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1548274</commentid>
    <comment_count>39</comment_count>
    <who name="Ezio Vergine">virgolus</who>
    <bug_when>2015-10-06 09:10:05 +0000</bug_when>
    <thetext>Same issue here:

kmail2 5.0.1
KDE Frameworks 5.14.0
Qt 5.5.0 (built against 5.5.0)

I&apos;ve only one result for every query I try.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1571083</commentid>
    <comment_count>40</comment_count>
    <who name="Josep">jgue</who>
    <bug_when>2016-01-21 14:03:03 +0000</bug_when>
    <thetext>Just the same, with the same configuration as Robert Scott (kmail 4.14.1, Debian Jessie, all KDE packages installed through package system). Searchs finish almost instantly, but always with empty results. Tried selecting search folder manually, include and don&apos;t include subfolders and several other options, but the search was always instantaneous and empty.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654025</commentid>
    <comment_count>41</comment_count>
    <who name="Denis Kurz">kdenis</who>
    <bug_when>2017-01-13 13:09:41 +0000</bug_when>
    <thetext>*** Bug 345054 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654028</commentid>
    <comment_count>42</comment_count>
    <who name="Denis Kurz">kdenis</who>
    <bug_when>2017-01-13 13:11:09 +0000</bug_when>
    <thetext>*** Bug 354406 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654029</commentid>
    <comment_count>43</comment_count>
    <who name="Denis Kurz">kdenis</who>
    <bug_when>2017-01-13 13:12:40 +0000</bug_when>
    <thetext>Confirmed for 5.3.0 in Bug 354406</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654032</commentid>
    <comment_count>44</comment_count>
    <who name="Denis Kurz">kdenis</who>
    <bug_when>2017-01-13 13:14:10 +0000</bug_when>
    <thetext>*** Bug 365801 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654034</commentid>
    <comment_count>45</comment_count>
    <who name="Denis Kurz">kdenis</who>
    <bug_when>2017-01-13 13:16:01 +0000</bug_when>
    <thetext>*** Bug 374952 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654036</commentid>
    <comment_count>46</comment_count>
    <who name="Denis Kurz">kdenis</who>
    <bug_when>2017-01-13 13:18:09 +0000</bug_when>
    <thetext>*** Bug 353671 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654038</commentid>
    <comment_count>47</comment_count>
    <who name="Denis Kurz">kdenis</who>
    <bug_when>2017-01-13 13:23:56 +0000</bug_when>
    <thetext>*** Bug 353318 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654040</commentid>
    <comment_count>48</comment_count>
    <who name="Denis Kurz">kdenis</who>
    <bug_when>2017-01-13 13:29:40 +0000</bug_when>
    <thetext>*** Bug 353675 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654043</commentid>
    <comment_count>49</comment_count>
    <who name="Denis Kurz">kdenis</who>
    <bug_when>2017-01-13 13:47:11 +0000</bug_when>
    <thetext>Bug 353675 probably describes what&apos;s going on when this bug occurs. Bug 353675, Comment 3 describes the cure. Daniel committed the fix before the 16.12.1 release, so this version should be unaffected.

I set this bug to fixed for now. If it still happens to you, dear reader, in version 16.12.1 (a.k.a. 5.4.1), please report back and I&apos;ll reopen.

If you do, please take care not to mix up this bug with one of the other search-related bugs currently around, since we have other reports for these.

Ideally, you&apos;d make sure that *every* search fails, especially the first one after a reboot (or restart of akonadi/kmail). Not being able to do subsequent searches, or not being able to edit search criteria of existing search folders, or even searching in the message body or using the &quot;does not contain&quot; filter... those are all different bugs that should not be discussed here.

Btw, without Daniel&apos;s comment I would mark this as WORKSFORME, because it works for me on 16.12.1. It did not work in older versions in my setup.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654055</commentid>
    <comment_count>50</comment_count>
    <who name="Denis Kurz">kdenis</who>
    <bug_when>2017-01-13 14:28:24 +0000</bug_when>
    <thetext>*** Bug 324189 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>