thunderbird / thunderbird/thunderbird-android

Number of mails to sync via "Load up to 25 more"

Open
#2,154 4 comments 2 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

Account settings --> Fetching mail --> Local folder size sets the number of mails to fetch. Scrolling down in mailbox, you find Load up to 25 more, what let you fetch n x 25 more mails than stated in Local folder size.

Expected behavior

When I delete a mail, I expect it to be subtracted from the amount of mails added to Local folder size.
Say, I have Local folder size == 25. When I extend fetching to 200 mails via Load up to 25 more and delete 197 mails, I want the fetching to fall back to 25.

Actual behavior

Instead it continues the 200 mail synchronization until 197 new mails came in and kind of flushed the old ones out.

Steps to reproduce

See above.

Why this is important/annoying to me

I get lots of "spam" (not really important feedback of scripts). When I use Load up to 25 more several times to extend the fetching up to the last important mail and then delete the junk inbetween, it continues to fetch 200 mails, whats heavy on my data-bill and completely unnecessary since I know the older ones.

Environment

K-9 Mail version: 5.203

Android version: 7.1.1

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 in Account settings > Fetching mail > Local folder size using an IMAP account, then extend fetching with “Load up to 25 more” and delete the fetched messages. Trace the synchronization behavior responsible for the local folder limit; done means deleting messages reduces the effective fetch count and the app returns to the configured limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.