Bug 191078

Summary: Pressing "Enter" during confirmation dialog for mail deletion erases mail when Cancel is selected
Product: [Applications] kmail Reporter: Jerome Vizcaino <j.vizcaino>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: finex
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jerome Vizcaino 2009-04-29 21:24:38 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Debian testing/unstable Packages

Hello,

In Kmail message list, I select a mail and press Shift + Del.
A popup appears asking me to confirm my action.
The left button (Delete) is selected (default button in the Qt Dialog I presume).
Pressing the right arrow on the keyboard moves the selection to Cancel button.
Pressing Enter afterwards acts as if Delete was selected and removes my email.

This is a pretty annoying and dangerous bug as there's no way to recover the erased entry.

Thank you.

Jerome
Comment 1 FiNeX 2009-04-29 22:25:04 UTC
I don't know if it was a kdelibs or a Qt issue, anyway it was a problem on all confirmation dialogs.

Fortunatly on current trunk (r961118) with Qt 4.5.0, the bug has been fixed.

I don't know if it will be backported to 4.2.3.
Comment 2 FiNeX 2009-04-29 22:51:39 UTC

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