Bug 137431

Summary: kwin dead program protection is too agressive
Product: [Plasma] kwin Reporter: Albert Astals Cid <aacid>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: fuzzybyte
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Albert Astals Cid 2006-11-15 22:52:51 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Ubuntu Packages

the ¿kwin? popup dialog that warns about programs that are not answering is too agressive in KDE 3.5.5, i can get it to appear on lots of "normal" situations.

1 - Open konqueror, open two tabs on it, click on the [x] button, a dialog appears asking if you want to close all tabs, the current one or cancel. Do nothing for a while, the dialog about dead programs will appear.

2 - Open an image in GIMP, modify it, click on the [x] button,  a dialog appears asking if you want to save the image. Do nothing for a while, the dialog about dead programs will appear.

3 - Open an image in kolourpaint, modify it, click on the [x] button,  a dialog appears asking if you want to save the image. Do nothing for a while, the dialog about dead programs will appear.

And so on.
Comment 1 jos poortvliet 2006-11-16 00:48:26 UTC
maybe kwin should allow these applications to tell it about the fact they are trying to get input from the user? maybe kwin already understands that, but the apps just don't tell it, and the bug is in the apps?
i wonder if there's a way to detect this for kwin, but i'm not sure how good that would work, eg if the app crashes after opening the dialog, or if they show the question in the main window and not in a seperate one...
Comment 2 Lubos Lunak 2006-11-16 17:15:39 UTC
Does not happen here. Either your KDE is patched or there is something special about your setup.
Comment 3 Albert Astals Cid 2006-11-16 21:06:32 UTC
More info, i'm using both KUbuntu 3.5.5 on intel laptop and amd 64 bit workstation, on the laptop i can not reproduce it, but on the amd i can reproduce it, both with Kubuntu binaries and self compiled ones, may it be a 64 bit problem? While compiling kwin i got some gcc warnings telling me it was converting a negative number to unsigned.

Tomorrow i'll try at work, an intel 32 bit machine to confirm it does not happen to me on 32 bit machines.
Comment 4 Albert Astals Cid 2006-11-16 21:23:03 UTC
smileaf on #kde-devel confirmed he has the same problem, also running an amd64 machine
Comment 5 Stephen Leaf 2006-11-16 21:27:34 UTC
Here is how I ran across this.
Open kwrite write something, click close then when it asks if you want to save it click cancel.
after a while the dead program dialog will appear.
I'm on Gentoo, AMD64 with KDE 3.5.5
Comment 6 Albert Astals Cid 2006-11-17 08:44:28 UTC
Confirmed, it does not happen in the 32 bit machine i use at work either.
Comment 7 Lubos Lunak 2007-01-02 16:08:37 UTC
*** Bug 139296 has been marked as a duplicate of this bug. ***
Comment 8 Lubos Lunak 2007-04-24 14:58:34 UTC

*** This bug has been marked as a duplicate of 143545 ***