Bug 112374 - Closing kfind using the close button does not stop a in-progress search
Summary: Closing kfind using the close button does not stop a in-progress search
Status: RESOLVED FIXED
Alias: None
Product: kfind
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Eric Coquelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-10 17:19 UTC by Vincenzo Ciancia
Modified: 2006-03-03 19:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
patch to kfinddlg.cpp (216 bytes, patch)
2005-12-11 19:45 UTC, Vincenzo Ciancia
Details

Note You need to log in before you can comment on or make changes to this bug.
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();
 }