thunderbird / thunderbird/thunderbird-android

Attachment changes size

Open
#3,354 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: enhancement
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.

screenshot_1524383696
screenshot_1524383702

Steps to reproduce
  1. Get mail with a picture attachment.
  2. Check the size of this attachment before clicking "download complete message".
  3. Click "download complete message".
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.