Bug 112374

Summary: Closing kfind using the close button does not stop a in-progress search
Product: [Applications] kfind Reporter: Vincenzo Ciancia <vincenzo_ml>
Component: generalAssignee: Eric Coquelle <coquelle>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: patch to kfinddlg.cpp

Description Vincenzo Ciancia 2005-09-10 17:19:23 UTC
Version:            (using KDE KDE 3.4.2)
Installed from:    Fedora RPMs

I start a search in my huge home directory, then I insert some word in the "containing text..." field or whatever it is called in english, then I start the search, which lasts long. Then I close the window with the close button, and kfind keeps running in background, keeping my hard drive busy; I have to manually kill it.
Comment 1 Vincenzo Ciancia 2005-12-11 18:01:58 UTC
Still there in kde 3.5
Comment 2 Vincenzo Ciancia 2005-12-11 19:45:18 UTC
Created attachment 13866 [details]
patch to kfinddlg.cpp
Comment 3 Vincenzo Ciancia 2006-01-17 10:51:57 UTC
it's more than 1 month since I submitted the patch, I emailed Eric Coquelle directly but did not get any reply, what should I do to get this bug fixed? The patch is just one line - I originally thought I was doing a good thing by fixing a small bug myself instead of just reporting it - BTW it took me 1 hour to get the source, understand it (I never saw a qt application before) and fix that stupid bug - maybe in a not so correct way, I don't know.
Comment 4 Haris Kouzinopoulos 2006-03-03 19:32:20 UTC
SVN commit 515434 by charis:

Patch by Vincenzo Ciancia, stops searches when user exits kfind
BUG: 112374



 M  +1 -0      kfinddlg.cpp  


--- branches/KDE/3.5/kdebase/kfind/kfinddlg.cpp #515433:515434
@@ -87,6 +87,7 @@
 
 void KfindDlg::closeEvent(QCloseEvent *)
 {
+   stopSearch();
    slotClose();
 }