thunderbird / thunderbird/thunderbird-android
Attachment changes size
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 14k
- Forks
- 2.8k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 57
Description
When I was trying to fix #3343 I have found a weird thing. I'm not sure if it is connected with k9mail or IMAP protocol. When someone sends us an attachment before we click "download complete message" it seems to be bigger.
Expected behavior
It should show the same size before and after "download complete message".
Actual behavior
Size of an attachment is different.


Steps to reproduce
- Get mail with a picture attachment.
- Check the size of this attachment before clicking "download complete message".
- Click "download complete message".
- Size in step 2 and step 3 are different.
Environment
K-9 Mail version: 5.7
Android version: 7.0
Account type (IMAP, POP3, WebDAV/Exchange): IMAP
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue using K-9 Mail 5.7 on Android 7.0 with an IMAP account, following the four listed steps and comparing the attachment size before and after downloading the complete message. Trace the attachment-size handling involved in those two states; done means the displayed size is identical before and after the download.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100