Bug 80802

Summary: imap message reloaded with binary attaches then reply
Product: [Applications] kmail2 Reporter: Sergey Y. Afonin <asy>
Component: commands and actionsAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: wishlist CC: annma, bugs, carlos-spam, gassauer, hauke, mail, meyerm, mhhennig, radek.dvorak, stefan.freyr
Priority: NOR    
Version: 1.99.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sergey Y. Afonin 2004-05-02 19:14:31 UTC
Version:           1.6.2 (using KDE 3.2.1, ALT Linux)
Compiler:          gcc version 3.3.3 20040216 (ALT Linux, build 3.3.3-alt1)
OS:          Linux (i686) release 2.4.23-smp-sm

Then I use IMAP and select "reply" on message...
1. it downloaded completely then contain attaches, but only text parts need for reply.
2. the text parts isn't need for download: it's already downloaded and displayed in message body window.

It's report very similar with bug 56021 and I surprised what this exist then load on demand for attachments was implemented.
Comment 1 Carsten Burghardt 2004-05-18 23:39:31 UTC
*** Bug 81812 has been marked as a duplicate of this bug. ***
Comment 2 Ferdinand Gassauer 2004-07-26 20:20:36 UTC
I agree, this is a really a "boaring" bug.
Comment 3 Peter Thomassen 2005-03-30 23:27:32 UTC
Please fix this. Usually, one views attachments seperately so they are downloaded twice. This is very annoying using a low bandwidth connection.
Comment 4 Matthias H 2005-06-08 09:46:18 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 Carsten Burghardt 2005-06-08 10:22:33 UTC
*** Bug 101089 has been marked as a duplicate of this bug. ***
Comment 6 ieure 2005-09-08 15:02:15 UTC
This also happens when you select text in the message and reply (reply with selected text quoted instead of full message text).
Comment 7 Andriy Tkachuk 2006-05-05 13:44:41 UTC
in kmail-1.9.1 from kde-3.5.2 the bug is still there. It's really annoying one. I have to use an web-interface to my mail account to reply on mails with big attachments.
Comment 8 Martin van Es 2006-05-05 14:01:16 UTC
I found a work-around for this problem: use cachedimap instead of normal imap account. This has another advantage of having the mail locally available when my mailserver is down for maintenance!

btw: why is cachedimap called disconnected imap when adding an account? Please let somebody make up his mind!
Comment 9 Sergey Y. Afonin 2006-05-05 14:49:54 UTC
> why is cachedimap called disconnected imap when adding an account?

cachedimap != disconnected.

I have about 200k (3.6Gb) of messages in my account. If I reconfigure my account to disconnected all messages will be downloaded. Please calculate download time for 56K dialup connection. :-)
Comment 10 Martin van Es 2006-05-05 15:10:24 UTC
Hmm... I agree that initially downloading 3.6G worth of mail over 56K6 is not an option, but I disagree with your first statement: as far as I can see cachedimap and disconnected imap ARE the same in kmail (1.9.1, kde 3.5.2) and I still think this double naming is confusing, this discussion as proof.
Comment 11 Sergey Y. Afonin 2006-05-05 15:35:03 UTC
Caching is a preservation of read data, instead of in advance. To fancy, for example, squid, which download all www-server with references.

Comment 12 Sergey Y. Afonin 2006-05-05 15:46:21 UTC
And please read bug 82684. There the close problem is discussing
Comment 13 Andriy Tkachuk 2006-05-05 18:05:03 UTC
btw. there is same issue when deleting the mail, i.e. the all message is downloaded before deletion.
Comment 14 Bram Schoenmakers 2007-03-10 16:03:49 UTC
*** Bug 112698 has been marked as a duplicate of this bug. ***
Comment 15 meyerm 2007-09-27 20:27:25 UTC
The problem is still valid for KMail 1.9.7.
Comment 16 Ferdinand Gassauer 2008-09-07 14:13:22 UTC
and still in 1.10.1 KDE 4.1.1 rel 31.5 OpenSuSE
Comment 17 Non_E 2009-05-12 23:20:21 UTC
Problem is still present in KDE 4.2.3. It has been here for five years.
Comment 18 mhhennig 2010-11-04 16:08:26 UTC
And still in 4.5.2.

To clarify (because the original complaint was a bit ambiguous):

When replying to an email, an attachment is downloaded in full, even though it is not included into the reply. This is annoying if there is a 10 meg attachment and one is using a slow connection.

Default behaviour should be to NEITHER download nor include an attachment.

I this still the right place for the bug, given that we now have kontact? How can we make this more visible to developers? Sounds not terribly difficult to fix...
Comment 19 Anne-Marie Mahfouf 2011-12-01 09:57:21 UTC
Reassigning to KMail2 product