Bug 56545

Summary: Reminders should be on top, but not steal the focus
Product: [Applications] korganizer Reporter: John Goodman <john_goodman53>
Component: generalAssignee: Cornelius Schumacher <schumacher>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandrake RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description John Goodman 2003-03-28 16:15:42 UTC
Version:            (using KDE KDE 3.1)
Installed from:    Mandrake RPMs
Compiler:           Its the packages from mandrake 9.1 so however they compiled it.
OS:          Linux

When my reminders come up they steal mouse or keyboard focus. And it messes up other programs most notably games. I suggest having reminders pop up in small notification boxes which show over other windows and stay on top but don't steal any focus.

John
Comment 1 Jakob Schröter 2004-12-04 17:29:18 UTC
CVS commit by schrot: 

- don't steal focus
BUG: 56545


  M +2 -4      alarmdialog.cpp   1.26


--- kdepim/korganizer/korgac/alarmdialog.cpp  #1.25:1.26
@@ -184,9 +184,7 @@ void AlarmDialog::show()
 {
   KDialogBase::show();
-  raise();
-  KWin::forceActiveWindow( winId() );
-  actionButton( KDialogBase::Ok )->setFocus();
+  KWin::setState( winId(), NET::KeepAbove );
+  KWin::setOnAllDesktops( winId(), true );
   eventNotification();
-// FIXME: go to foreground but don't steal focus
 }