[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: Search fails on large message folder
From:       Don Sanders <sanders () kde ! org>
Date:       2000-09-30 17:45:15
[Download RAW message or body]

Try to quit KMail and restart, does that help?

The problem is after a change is made to the list of folders (liking 
inserting a new one) the search dialog gets confused, it should really 
indicate failure rather than just do nothing.

Try applying the attached patch, after doing so you should be able to fix the 
problem by simply closing and reopening the search dialog rather than having 
to quite and restart kmail (Which at least is an improvement).

BFN,
Don.


On Sat, 30 Sep 2000, Casey Allen Shobe wrote:
> Casey Allen Shobe wrote (on Fri, 29 Sep 2000):
> > Hi
> >
> > I have 1974 messages in a folder.
> >
> > When I run a search in that folder for a subject or complete message, it
> > doesn't find what I'm looking for, and at the bottom it says "0 matches
> > found (103 messages processed)".
> >
> 	> Why is it only processing 103 out of 1974 messages?
>
> Okay, I've discovered the bug that was causing this!  Here's a portion of
> my email folders:
>
> Mail
>
> |-Mailing Lists
> |
>   |-KDE
>   |
>   | |-Development
>   | |
>   |   |-Core
>   |
>   |-Licq
>   |
>     |-Development
>
> When I switch into the KDE Development folder, and press S, it searches the
> LICQ development folder unless I manually change the folder from the
> dropdown.
>
> Okay, problem solved?  No, because this generated another bug.  The search
> never finds anything - it does search them all, takes a little while to do
> so, but doesn't find anything, ever, even if I search all 1974 messages
> using <complete message> for 'bug' or something common.
>
> I'd change the name of the folder to temporarily try to workaround this,
> however, kmail does not have a 'rename' option in the RMB for the folder,
> nor anywhere else that I could find.  I would really appreciate such a
> feature in the future.  I would suggest calling it 'properties' to a)
> comply with kde standards, b) allow more than just renaming (room for
> future expansion :) ).

["search.diff" (text/plain)]

Index: kmfldsearch.cpp
===================================================================
RCS file: /home/kde/kdenetwork/kmail/kmfldsearch.cpp,v
retrieving revision 1.23
diff -u -b -r1.23 kmfldsearch.cpp
--- kmfldsearch.cpp	2000/08/11 15:44:24	1.23
+++ kmfldsearch.cpp	2000/09/30 17:38:05
@@ -30,7 +30,7 @@
 //-----------------------------------------------------------------------------
 KMFldSearch::KMFldSearch(KMMainWin* w, const char* name, 
   QString curFolder, bool modal, WFlags f): 
-  KMFldSearchInherited(NULL, name, modal, f)
+  KMFldSearchInherited(NULL, name, modal, f | Qt::WDestructiveClose)
 {
   KButtonBox* bbox;
   QLabel* lbl;

_______________________________________________
Kmail Developers mailing list
Kmail@master.kde.org
http://master.kde.org/mailman/listinfo/kmail


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic