[Bug 282891] New: searching is severely broken

Wolfgang Rohdewald wolfgang at rohdewald.de
Tue Sep 27 08:35:35 BST 2011


https://bugs.kde.org/show_bug.cgi?id=282891

           Summary: searching is severely broken
           Product: kmail2
           Version: 4.7
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: wolfgang at rohdewald.de


Version:           4.7 (using KDE 4.7.1) 
OS:                Linux

There are so many problems - I am just listing all I had so far here. Please
tell me which parts you want me to open a separate bug report for.

I have several thousands of mails with a subject starting with SF##### where
##### is a number with between one and five digits. 

when searching for subjects containing SF, I only get mails where SF is NOT
followed by a digit - expected are ALL mails containing SF. I also get mails
with sf in the subject (which I think is wrong).

When searching for a specific string like SF18013 I get correct results.

When searching with regular expression SF, I get lots of mails where nothing
like SF or sf is in the header. I would have expected (assuming this regex is
not anchored) to get all mails containing SF anywhere in the header. Same for
regex ^SF.* - I also get tons of unrelated mails - I would have expected only
those starting with SF

I just sent myself a mail with subject ABC567 - whatever I try I cannot define
a search returning this mail. But some time later (meanwhile I restarted kmail)
it appears twice for the sent message and twice for the received message.
Should only appear once for sent and once for received

Searching by age in up to 15 days returns thousands of year-old mails
Searching by age greater or equal 15 days returns nothing - such mails do exist
however.

there seems to be no way to get the "Stop" button enabled - searching cannot be
stopped. There is no way to say "you already found enough - I will analyse
this, you do not have to search further" - this was possible before kmail2

when changing the search term during an ongoing big search, the mails not
matching anymore are only partially removed from the mail list in the search
dialog. Right now the message count of the search folder says 20 messages while 
actually holding lots and lots of messages - the message list is constantly
shuffling in strange ways. At the same time the search dialog says "0 matches
Searching in Last Search" (shouldn't "Searching" be lowercase?) while the mail
list in the search dialog shows lots of mails not matching at all. After
closing the search dialog, I try to delete the search folder - it disappears
only after shuffling mails for about two minutes.

after having deleted the search folder the next search tells me "Can not get
search result. Unknown error. (No such collection). The field for entering the
Search folder name is disabled - shouldn't it be enabled? At this point
searching is not possible anymore. When now pressing "Open search folder" I get
an empty folder in the main view - while the folder list in the main view shows
no search folder at all. When no search folder exists, that button should be
disabled.

After that I tried to search again. Starting the search window, I first entered
a new search folder name (now it was enabled) only to get the message "There
was a problem renaming your search folder. A common reason for this is that
another search folder with the same name already exists." (which is not the
case since there is no search folder at all). Also, why does this appear while
I type in the name? This makes it impossible to define a search folder "X5"
when a search folder "X" already exists.

often when modifying a search I get "Can not get search result. Unknown error.
(Only resources can modify remote identifiers). Presenting such a message to a
stupid end user like me is a severe usability bug IMHO - how should I know what
this means and what I am supposed to do?

when removing the only search folder I have, the next search will tell me "Can
not get search result. Unknown error. (No such collection). Instead it should
allocate the search folder. If I close kontact and restart it, there still is
no search folder but if I search now, it will correctly be allocated.

Reproducible: Always

Steps to Reproduce:
see above

Actual Results:  
see above

Expected Results:  
see above

OS: Linux (x86_64) release 3.0.0-12-generic
Compiler: gcc

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list