Programs like pinentry-qt4 capture all keyboard events, preventing the user to type the password in a wrong window by accident. kdesu and kdesudo should either use the pinentry-programs or implement something similiar. Reproducible: Always