[Bug 280026] New: Incorrect size of Base64 encoded attachment

patrick at noxs.nl patrick at noxs.nl
Sat Aug 13 14:46:01 BST 2011


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

           Summary: Incorrect size of Base64 encoded attachment
           Product: kmail2
           Version: 4.7
          Platform: Archlinux Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: composer
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: patrick at noxs.nl


Version:           4.7 (using KDE 4.7.0) 
OS:                Linux

The size of a Base64 encoded attachment shown in the attachment overview of the
composer is incorrect. The size is apparently calculated as 75% of the original
file size, but this is incorrect. A Base64 encoded file is 33% larger than the 
file it is created from.

Reproducible: Always

Steps to Reproduce:
1. Create a new email (open a composer window).
2. Choose 'Attach File' from the 'Attach' menu.
3. Select a binary file and remember the file size.
4. Compare the file size shown in the attachment overview with the real size.

Actual Results:  
The file size shown in the attachment overview is 75% of the original file
size.

Expected Results:  
Either the original file size or the size after Base64 encoding should be
shown.

-- 
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