Skip to content

Donation Appeal Displays Multiple Times if Auto-Select Folder Set to "None" #11677

Closed

Description

@dani-zilla

Checklist

  • I have used the search function to see if someone else has already submitted the same bug report.
  • I will describe the problem with as much detail as possible.

App

Thunderbird for Android

App version

26.0-Snapshot (Likely in 25.0 Beta as well)

Where did you get the app from?

None

Android version

Android 16

Device model

Motorola Razr Plus (2023)

Steps to reproduce

This is easier to test on a branch that has set the FUNDING_REMINDER_DELAY_MILLIS and FUNDING_REMINDER_MIN_ACTIVITY_MILLIS values to under 10000 (10s). I chose 5s for my testing. The default is 7 days and 30 minutes, respectively, so do edit this.

  1. Open the app
  2. Add at least 2 accounts (may be only necessary with 1, but two people were able to reproduce with 2)
  3. Go to Settings -> -> Folders -> Auto-select folder and select "None"
  4. Repeat step 3 with another account
  5. Return to the message list
  6. If the app has been open longer than the FUNDING_REMINDER_DELAY_MILLIS and FUNDING_REMINDER_MIN_ACTIVITY_MILLIS value you set, tap a message to open it, then go back to the message list to trigger the donation appeal
  7. You will see multiple popups as you dismiss
  8. If you go into settings, close the app and re-open it, or otherwise force the activity to pause and recalculate the active time in the app, then repeat step 6, you will see step 7 again, but only once. It appears as though the counter is being respected, but the number of times it can display is somehow being triggered multiple times per count.

Expected behavior

There should only be, at the time, at most 2 popups anyone ever sees for donations, and they should be 39 minutes of activity and 7 days apart from each other.

Furthermore, if they see one, they just see one, and dismissing it dismisses it.

Actual behavior

You will see multiple popups as you dismiss the popup.

Logs

No crash data yet, we'll have to debug this one with manual logs to see why it could be happening. My going theory is that MessageHomeActivity is somehow triggering the popup multiple times.

Activity

  1. self-assigned this
    on Oct 2, 2026
  2. updated Estimate 3 and Priority P1 on Oct 2, 2026
  3. added theissue type on Oct 2, 2026
  4. added
    tb-team
    on Oct 2, 2026
  5. added
    unconfirmed
    on Oct 2, 2026
  6. github-actions commented on Oct 2, 2026

    @github-actions
    Contributor

    Thanks for reporting this issue!

    New bug reports are initially labeled unconfirmed so a maintainer can review and triage them.

    Note

    GitHub Feature, Task, and Milestone issues are created and managed by project maintainers.
    Please submit new feature ideas on
    Mozilla Connect.
    See our contribution guide
    for more information.

  7. moved this from Backlog to In progress in Thunderbird for Android - Sprintson Oct 2, 2026
  8. changed
    Estimate
    toon Oct 2, 2026
  9. removed
    unconfirmed
    on Oct 2, 2026
  10. dani-zilla commented on Oct 2, 2026

    @dani-zilla
    CollaboratorAuthor

    This appears to be tricky to reproduce. While I was able to confirm it once, as was another person, I have yet to be able to reproduce the exact issue with the exact conditions again. This has made it very difficult to study.
    I have:

    1. Attempted it without setting any accounts' auto-select folder settings to "None
    2. Attempted it with one account setting it
    3. Attempted it with one account setting it to none and the other leaving as the default inbox
    4. Setting two accounts to none
    5. Adding three and then later four accounts, setting "none" on one and then two of the accounts
    6. Tried it with and without a gap between setting them (going to the message list)

    We should leave this ticket open because it is a confirmed issue, but figuring out why it happens and why it's so difficult to reproduce while following the exact same steps may not be the way we solve this. Other reports and adding logging statements in MessageHomeActivity's initializeFunding(), and FundingReminder's registerReminder().

  11. added a commit that references this issue on Nov 3, 2026
    6fd1ed7
  12. added a commit that references this issue on Nov 4, 2026
    f948cfb
  13. added a commit that references this issue on Nov 5, 2026
    caba5e1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

tb-team

Type

Fields

Estimate

5

Priority

P3

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions