Bug 71526

Summary: Focus stealing prevention launches kwallet input dialog into background
Product: [Plasma] kwin Reporter: Daniel Molkentin <molkentin>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniel Molkentin 2003-12-31 00:31:36 UTC
Version:           kwin_iii (using KDE Devel)
Installed from:    Compiled sources

KWin (Focus stealing prevention level "Low") will cause he kwallet input dialog from KNode or Kontact into background. Disabling  the fsp fixes it.

Some background information:

- KWalletD is a KDED service. Looking at its code the dialog is created new every time and called with ->exec(). 

- KWin seems to assume that it doesn't belong to the current application (since it has no direct connection to it) and decides to put it into the background). This is very annoying. KWallet does provide an option to pass a window id that it calls XSetTransientFor on, but in those cases no window id's are provided since the wallet window get's opened before any mainwindow has been instanciated (or at lease shown).
Comment 1 Casey Allen Shobe 2003-12-31 02:13:10 UTC
Confirmed.  This is very irritating...
Comment 2 Lubos Lunak 2004-01-05 15:00:51 UTC

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