thunderbird / thunderbird/thunderbird-android

Local folder size limit does not work

Open
#4,815 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
14k
Forks
2.8k
Avg merge
3d 3h
Merged PRs (30d)
57

Description

Please search to check for an existing issue (including closed issues, for which the fix may not have yet been released) before opening a new issue: https://github.com/k9mail/k-9/issues?q=is%3Aissue

Expected behavior

Number of emails in Inbox restricted to number selected in setting (older emails removed from local Inbox). This worked in previous versions

Actual behavior

Email number in local Inbox continues to increase past the limit set in Account Settings - Fetching mail - Local folder size

Steps to reproduce
  1. Count emails in Inbox
  2. Compare with limit set in Local folder size
Environment

K-9 Mail version: 5.715

Android version: 9

Account type (IMAP, POP3, WebDAV/Exchange): POP3

Please take some time to retrieve logs and attach them here:

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

Start by reproducing the issue with a POP3 account on K-9 Mail 5.715, using the Account Settings - Fetching mail - Local folder size setting and comparing the local Inbox count with its limit. Review the local Inbox synchronization and cleanup flow; done means older emails are removed so the local count stays within the selected limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.