thunderbird / thunderbird/thunderbird-android

Update folder list when a remote command fails with a "folder not found" error

Open
#3,026 2 comments 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

Expected behavior

When I open a subordinated folder in k9 client, and pull down to refresh, it should check for new emails, even after the concerning email folder was renamed by me in a browser (webmail access).

Actual behavior

The folder's content was updated successfully before i renamed it. But after renaming, it still appears with its old name in the client, while on the email server this folder has its desired new name.

Steps to reproduce

1.Use an internet browser to lo into your enail account, and change the name of a subordinate email folder.
2. in k-9 mail's settings go to Account - fetching emails - set poll "All" folders.
3. in k-9 go into that email folder which still appears with the old name, and try to check for new emails, manually, by wiping down.

Environment

K-9 Mail version: 5.207.4

Android version: 7.1.2 (LineageOS 14.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

Start by reproducing the folder refresh flow with an IMAP account after renaming a subordinate folder through webmail. Trace the account's “All” folder fetching and manual refresh behavior. Done means the client detects the renamed server folder and no longer leaves the old folder name when refreshing.

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.