[Bug 287779] New: Copy Email then Paste As Attachment does not work as expected

Jonathan Marten jjm at keelhaul.me.uk
Mon Nov 28 18:25:42 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=287779

           Summary: Copy Email then Paste As Attachment does not work as
                    expected
           Product: kmail2
           Version: Git (master)
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: commands and actions
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: jjm at keelhaul.me.uk


Version:           Git (master) (using Devel) 
OS:                Linux

Sometimes the user may wish to attach an existing email as an attachment in the
composer (but not by using Forward -> As attachment, e.g. if it is wanted in
reply to an existing message).  One logical way to do this would be to select
the message to be attached, "Edit - Copy Email", go to the composer, then "Edit
- Paste as Attachment".

If this is done, what happens is that the GUI becomes unresponsive and the
kmail process takes 100% CPU.  What it is doing is trying to create a zip
attachment of the entire user's documents directory, the only way out of this
is either to wait or to kill the kmail process.


Reproducible: Always

Steps to Reproduce:
Select an existing message in the message list, do "Edit - Copy Email".
Open a composer window, do "Edit - Paste as Attachment".


Actual Results:  
The GUI becomes unresponsive, the disc starts churning, KMail takes 100% CPU.


Expected Results:  
The message is pasted as an attachment.


Messages displayed on stderr (this is the start of a very long transcript which
lists the entire contents of the documents directory):

kmail2(6514) Message::AttachmentControllerBase::addAttachment: Creating
attachment from folder
kmail2(6514)/libkdepim
MessageCore::AttachmentFromFolderJob::Private::compressFolder: starting
compression
kmail2(6514)/libkdepim
MessageCore::AttachmentFromFolderJob::Private::compressFolder: writing root
directory :  ""
kmail2(6514)/libkdepim
MessageCore::AttachmentFromFolderJob::Private::addEntity: -1 Attachment size : 
33
kmail2(6514)/libkdepim
MessageCore::AttachmentFromFolderJob::Private::addEntity: adding directory 
"KookaGallery" to zip
kmail2(6514)/libkdepim
MessageCore::AttachmentFromFolderJob::Private::addEntity: -1 Attachment size : 
79
kmail2(6514)/libkdepim
MessageCore::AttachmentFromFolderJob::Private::addEntity: adding directory 
"119110" to zip

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list