thunderbird / thunderbird/thunderbird-android

When moving mail a second time, the folder list scroll position is off by 1

Open
#1,493 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Expected behavior

If you're going to move messages to specific folders, the last used destination folder should always be displayed as first entry.

Actual behavior

If you're going to move messages to specific folders, always the folder which follows the last used destination folder is displayed as first entry.

Steps to reproduce
  1. Beside the Inbox you've create several destination folders in which you want to archive your email.
    Lets assume that these folders are called a-folder, b-folder, c-folder ...
  2. Now you mark one or more messages, touch the folder icon and select the folder named a-folder as destination folder.
  3. Again you mark one or more messages, touch the folder icon and want to select the previously used destination folder named a-folder. Unfortunately the first displayed folder on the selection list is now b-folder instead of a-folder. You have to scroll on folder up to select a-folder again.
  4. This behavior can be reproduced every time you want to move messages to folders.
Environment

K-9 Mail version: 5.0.10

Android version: 5.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

No files, tests, or entry points are named. Start by reproducing the folder-selection flow on Android with the stated IMAP setup and trace how the previously selected destination determines the initial scroll position. Done means reopening the picker shows the previously used folder as the first entry.

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.