Bug 49625

Summary: KMail crashes on sending OpenPGP-encrypted mails if "Outgoing" folder is active
Product: [Applications] kmail Reporter: Henrik Klagges <henrik>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Henrik Klagges 2002-10-24 15:35:38 UTC
Version:           kmail 1.4.7 (using KDE KDE 3.0.8)
Installed from:    SuSE RPMs

Scenario
- have several mails in the outgoing folder - ok
- set outgoing folder to active (one of the outgoing mails, say, a 
  normal, non-encrypted one) is shown in the mail view panel - ok
- send mail (ctrl-l or button) - starts ok
- while sending, each sent mail is removed from outgoing and put into
  sent-mail folder - ok
- the "active mail view" is adjusted to the next in the outgoing folder
  whenever a mail is sent - ok
- when the "active mail view" is adjusted to an encrypted mail, the
  "Enter pass phrase" dialog is shown, but the mails are sent 
  nevertheless
- after all mails are sent, the application crashes, presumably because
  of the "pass phrase" dialog which now is left dangling without a 
  message to decrypt.

BTW, kmail is great! Thank you.
Comment 1 gary.wilson 2003-07-09 22:44:22 UTC
Version: kmail 1.5.2 (using KDE KDE 3.1.2)
Installed from: Gentoo Packages

this bug also happens when just scrolling through messages (in any folder) with
the keyboard and the pass phrase dialog opens but the encrypted message is no
longer the focus.  kmail will crash no matter if you enter the pass phrase or
cancel the dialog box.

not allowing the focus to change when the pass phrase dialog opens could fix
this bug, but would not fix the problem that the original poster mentions.

i like the idea mentioned in Bug 51798
(http://bugs.kde.org/show_bug.cgi?id=51798), that should fix both problems and
the annoyance.
Comment 2 Stephan Kulow 2003-09-20 10:02:46 UTC

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