Bug 82234

Summary: Selection bug in PGP mail error window
Product: [Frameworks and Libraries] kdelibs Reporter: niek
Component: kdeuiAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: cfeck, kde
Priority: NOR    
Version: 3.5   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description niek 2004-05-26 11:24:30 UTC
Version:           1.6.2 (using KDE 3.2.2,  (testing/unstable))
Compiler:          gcc version 3.3.3 (Debian 20040401)
OS:                Linux (i686) release 2.6.5

When using PGP/GPG with Kmail, a very mild selection bug occurs when entering the PGP/GPG passphrase incorrectly. 

What happens is the following: When sending the mail, one is prompted for the passphrase. So far, so good. However, when the passphrase is wrong, one is given a window with three options: retry, cancel, etc. In this window there is the bug: if you use Tab to cycle through the buttons, one would expect to select buttons One, Two, Three, One, Two,... on subsequent tab presses. However, what happens is: One, Two, Three, "Text above the buttons", One, Two, ... 

The text is not edittable, and should not be selected.
Comment 1 Rolf Eike Beer 2007-12-13 13:26:30 UTC
KMail calls KMessageBox here so this is the wrong package to blame. I still see similar behaviour in KDE 3.5.7.
Comment 2 Christoph Feck 2009-12-11 05:25:27 UTC
Allowing focus on the text was probably added to support copying the message text, but someone forgot that it isn't useful to "Tab" to the text. This is fixed in KDE 4.