Version: (using Devel) Installed from: Compiled sources instead of just preventing a window from getting focus completely, kwin could activate it as usual but overlay it with a lock window. the lock would go away only after a configurable amount of time (.5-1 sec by default) without button and key clicks. that way dialogs would get the attention they deserve, but would not risk having bogus data (usually a premature confirmation) entered into them. ideally, the overlay would be semi-transparent and would have a countdown blended into it. :-) i think it might be even reasonable to make that the default behavior for dialogs (as opposed to "proper" windows).
*** Bug 163008 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 110543 ***