<?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>353671</bug_id>
          
          <creation_ts>2015-10-07 22:12:14 +0000</creation_ts>
          <short_desc>Full Search does not find any Mails</short_desc>
          <delta_ts>2017-01-13 13:18:09 +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>search</component>
          <version>unspecified</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>277007</dup_id>
          <see_also>https://bugs.kde.org/show_bug.cgi?id=353318</see_also>
          <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>0</everconfirmed>
          <reporter>kramski</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>frank-fischer</cc>
    
    <cc>info</cc>
    
    <cc>kdenis</cc>
    
    <cc>kramski</cc>
    
    <cc>rdieter</cc>
    
    <cc>rob</cc>
    
    <cc>tom</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>76</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1548609</commentid>
    <comment_count>0</comment_count>
    <who name="">kramski</who>
    <bug_when>2015-10-07 22:12:14 +0000</bug_when>
    <thetext>Search (shortcut &quot;s&quot;) does not find any results at all, regardless of search criteria.

Reproducible: Always

Steps to Reproduce:
1. Open &quot;Find message windows&quot; on a folder (IMAP inbox in my case)
2. Search for something you know there should be matches, e.g. a known subject or sender

Actual Results:  
Empty result list, empty search folder

Expected Results:  
Result list containing matching mails.

Kmail Version 5.0.1 KDE Frameworks 5.14.0 Qt 5.5.0 (built against 5.5.0)

After initial setup of Kmail and accounts, &quot;Folder Properties / Maintenance / Indexing&quot; of the folder in question was showing
   [x] Enable Full Text Indexing
   Still not indexed

I was able to change this to
   Indexed 30 items of this collection
by deleting ./config/baloorc and &quot;akonadictl restart&quot;, however, search result still is empty regardless of what I search for.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1565056</commentid>
    <comment_count>1</comment_count>
    <who name="">kramski</who>
    <bug_when>2015-12-21 12:10:46 +0000</bug_when>
    <thetext>Still unresolved with KMail 5.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1569546</commentid>
    <comment_count>2</comment_count>
    <who name="Tom Warnke">tom</who>
    <bug_when>2016-01-14 12:29:56 +0000</bug_when>
    <thetext>Is this still an issue in KMail 5.1.1? I had a similar problem, but it seems to be fixed now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1569570</commentid>
    <comment_count>3</comment_count>
    <who name="">kramski</who>
    <bug_when>2016-01-14 14:17:32 +0000</bug_when>
    <thetext>Unfortunately still unresolved with KMail 5.1.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1569576</commentid>
    <comment_count>4</comment_count>
    <who name="Tom Warnke">tom</who>
    <bug_when>2016-01-14 14:26:57 +0000</bug_when>
    <thetext>Can you check if you have a package called &quot;akonadi-search&quot; or similar installed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1569617</commentid>
    <comment_count>5</comment_count>
    <who name="">kramski</who>
    <bug_when>2016-01-14 16:42:28 +0000</bug_when>
    <thetext>extra/akonadi-search 15.12.1-1 [Installiert]

I also tried again the &quot;deleting ./config/baloorc and &apos;akonadictl restart&apos;&quot; thing and cycling the &quot;Enable Full Text indexing&quot; property (Folder Properties / Maintenance / Indexing) of my the mail folders I&apos;m testing with to no avail.

The indexing status shown here (&quot;Indexed n items of this collection&quot;) matches the actual number of mail items of my folders, however all indexing results seem to be hidden somewhere.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1569621</commentid>
    <comment_count>6</comment_count>
    <who name="">kramski</who>
    <bug_when>2016-01-14 16:44:53 +0000</bug_when>
    <thetext>Sorry, typo again, it&apos;s &quot;~/.config/baloorc&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1569626</commentid>
    <comment_count>7</comment_count>
    <who name="Tom Warnke">tom</who>
    <bug_when>2016-01-14 17:10:26 +0000</bug_when>
    <thetext>Can you try with a fresh user? I.e., set up an IMAP account, let it download and index some emails, and try to search in them? This should show if some configuration error is the reason.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1569697</commentid>
    <comment_count>8</comment_count>
    <who name="">kramski</who>
    <bug_when>2016-01-14 22:48:48 +0000</bug_when>
    <thetext>I see a strange behaviour: When I tried this with another  (barely used) account, the bug was also there (no results at all). I then deleted the search folder (to see if https://bugs.kde.org/show_bug.cgi?id=353318 also applies to me) and after that and a KMail restart, my searches for the first time showed some results. The same is true for my own account.

So my current workaround seems to be:
1. Delete the search folder
2. Restart KMail to fix the folder control corruption
3. Search
Sometimes the result list is empty then, sometimes not, but opening the search folder always seems to show the results expected, at least in a few quick tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1569752</commentid>
    <comment_count>9</comment_count>
    <who name="Tom Warnke">tom</who>
    <bug_when>2016-01-15 08:27:35 +0000</bug_when>
    <thetext>I see the same behavior. Also choosing a different name for the search folder seems to help sometimes.
I think this is actually the same bug as https://bugs.kde.org/show_bug.cgi?id=353318</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1590146</commentid>
    <comment_count>10</comment_count>
    <who name="">kramski</who>
    <bug_when>2016-04-23 17:54:36 +0000</bug_when>
    <thetext>Stili unresolved in Version 5.2.0 
(Arch pacman: upgraded kmail (15.12.3-1 -&gt; 16.04.0-2))</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1623960</commentid>
    <comment_count>11</comment_count>
    <who name="Alvin">info</who>
    <bug_when>2016-09-22 08:09:12 +0000</bug_when>
    <thetext>Add Kmail 5.3.0 to the list. 0 search results.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1654035</commentid>
    <comment_count>12</comment_count>
    <who name="Denis Kurz">kdenis</who>
    <bug_when>2017-01-13 13:18:09 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 277007 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>