Version: unknown (using 4.3.1 (KDE 4.3.1), Debian packages) Compiler: cc OS: Linux (i686) release 2.6.31odino Password window should never loose the focus. It happens to me to type password and another thing pops up and the input goes on that.
KWin needs to make sure the focus is not reassigned to a different window, unless by explicit user input (click on a different window, Alt+Tab, etc.)
this should be done by the usertime comparism. a) what focus stealing prevention level do you use (in doubt, try "medium", "low" will pass the focus "in doubt") b) what kind of popups steal the focus? if the popup however comes with an application just lauched (during system start) the focus will be passed (assuming you launched it, so the window shows by demand) otherwise a) we'd need a reverse focus stealing rule or NETWM extension ("being kwalletd" is no sufficient hint ;-) b) kwalletd would have to grab the keyboard if it thinks it's special enough.
this collapses to a dupe of bug #185060 however usually it would be the dialogs duty to ultimately grab the keyboard (the only secure way to prevent any input sniffing) *** This bug has been marked as a duplicate of bug 185060 ***