Bug 3351

Summary: Two problems when re-sending a file with an attachment
Product: Claws Mail (GTK 2) Reporter: Marvin <marvint.roebuck>
Component: UIAssignee: users
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 3.11.1   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
This is a problematic file for claws and others none

Description Marvin 2014-12-09 23:42:41 UTC
When I re-send a file there are two problems.

1. The attachment becomes inline
2. The attachment is also attached (and the size is the unencoded size, see bug # 3350)

The file is now almost twice the size of the original

(Looking in the sent folder)

original size on disk = 256116
new size on disk      = 508567


Inlining the attachment is problem #1
Doubling the size of the original is problem #2
Comment 1 Paul 2014-12-10 09:42:25 UTC
Attach an example message to this bug item.
Comment 2 Paul 2014-12-10 11:00:20 UTC
When you say 're-send' do you mean Redirect or Forward?
When you say 'file' do you mean 'message'?
"(Looking in the sent folder)" - you mean that you're resending one of your own messages?
What differences show if you diff the files?
Comment 3 Marvin 2014-12-12 19:55:03 UTC
Steps to repro:

1. dbl-click previously sent message containing an attachment only.
2. Note that the attachment now appears in the body of the new message
3. Note that the attachment is also an attachment.
Comment 4 Marvin 2014-12-12 20:42:05 UTC
Created attachment 1459 [details]
This is a problematic file for claws and others
Comment 5 users 2014-12-15 22:45:02 UTC
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
http://git.claws-mail.org/

++ ChangeLog	2014-12-15 22:45:02.460604311 +0100
http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=87be2c0ce19e48dd629f7450757892383cef4f23
Merge: 08b6971 656c173
Author: Colin Leroy <colin@colino.net>
Date:   Mon Dec 15 22:45:02 2014 +0100

    Merge branch 'master' of file:///home/git/claws

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=656c1735cc75f73417ea1913355778bd4ecbc4fb
Author: Paul <paul@claws-mail.org>
Date:   Mon Dec 15 21:42:25 2014 +0000

    fix bug 3351, 'Two problems when re-sending a file with an attachment' (really one problem, though)