Bug 128712

Summary: WISH: different exit value when passivepopup times out
Product: [Applications] kdialog Reporter: hammerpaolo
Component: generalAssignee: Brad Hards <bradh>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 1.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description hammerpaolo 2006-06-05 22:44:51 UTC
Version:           1.0 (using KDE KDE 3.4.2)
Installed from:    SuSE RPMs

It should be possible in scripts to determine if the passivepopup dialog times out or returns because of user interaction.
I guess the easiest way to facilitate this would be to let kdialog return a different exit code in the first case.
Comment 1 Brad Hards 2006-08-22 13:29:24 UTC
I'm not so sure that this is a good idea. The concept is that it is "passive", so it just goes away on its own. You can click on it, but that isn't conceptually different to it timing out.

That said, this wouldn't be especially difficult to do (although it will have to wait for KDE4)

Can you explain what you are trying to do?