Summary: | imap moving message loses attachments | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Greg Sullivan <gregs> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.6 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Greg Sullivan
2004-02-24 03:41:56 UTC
CVS commit by burghard: Restore the original complete-state. CCMAIL: 75983-done@bugs.kde.org M +4 -1 kmcommands.cpp 1.99.2.4 M +1 -0 kmcommands.h 1.26.4.1 --- kdepim/kmail/kmcommands.cpp #1.99.2.3:1.99.2.4 @@ -1704,4 +1704,5 @@ KMSaveAttachmentsCommand::KMSaveAttachme { // do not load the complete message but only parts + mMessageComplete = msg->isComplete(); msg->setComplete( true ); setDeletesItself( true ); @@ -1710,4 +1711,7 @@ KMSaveAttachmentsCommand::KMSaveAttachme void KMSaveAttachmentsCommand::execute() { + QPtrList<KMMessage> lst = retrievedMsgs(); + if ( lst.count() == 1 ) // restore original complete state + lst.first()->setComplete(mMessageComplete); if ( mAttachments.count() > 0 ) { @@ -1716,5 +1720,4 @@ void KMSaveAttachmentsCommand::execute() } KMMessage *msg = 0; - QPtrList<KMMessage> lst = retrievedMsgs(); QPtrListIterator<KMMessage> itr( lst ); --- kdepim/kmail/kmcommands.h #1.26:1.26.4.1 @@ -301,4 +301,5 @@ private: QPtrList<partNode> mAttachments; bool mEncoded; + bool mMessageComplete; }; In which version is it fixed? I have KMail Version 1.8.1 and I can reproduce the bug. You should use at least KDE 3.4.2 (or even better KDE 3.4.3). That means KMail 1.8.2 (KMail 1.8.3). |