Bug 212245

Summary: Save Attachments calls wrong dialog box
Product: [Applications] kmail Reporter: Dennis Gallion <dwgallien>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: dwgallien, jjm
Priority: NOR    
Version: 1.12.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dennis Gallion 2009-10-28 23:31:16 UTC
Version:           1.12.2 (using 4.3.1 (KDE 4.3.1) "release 183", KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.29-0.1-default

When using "Save Attachments . . ." (i.e., multiple attachments, displaying a directory tree) whether with right-click on a message in the list or from within the message body when the message is opened, the "Save Attachment" (single attachment, displaying a filename data entry line) dialog box incorrectly opens instead.  

The Save Attachments feature works correctly in Kmail 1.12.1 KDE 4.3.1/160 (my wife's system).  Tested with several identical emails on both hers and my system.
Comment 1 Jonathan Marten 2009-10-29 08:35:01 UTC
Cannot reproduce with KMail trunk (1.12.90 Using KDE 4.3.73 (KDE 4.3.73 (KDE 4.4 >= 20091026))).  Note that the message must have more than one attachment, otherwise the single file save dialogue is used even for "Save Attachments".

Would it be possible for you to attach a mail (with attachments) that shows this problem?
Comment 2 Dennis Gallion 2009-10-29 21:58:54 UTC
My bad!  I ran some more tests, and discovered the problem:  If the attachments are inside an encapsulated message (such as a message forwarded as an attachment rather than inline), then the encapsulated message must first be opened (by clicking on the "Encapsulated Message" text just above the encapsulated's title line).  When that is done, Save Attachments works correctly.

I missed this when comparing the emails on the two different machines.

Sorry!  Please close.

And, thanks for the quick reply.