Skip to content

Fix #1774: refresh folder list after disabling Unread Only#1794

Open
Keegil wants to merge 1 commit into
runbox:masterfrom
Keegil:fix/issue-1774
Open

Fix #1774: refresh folder list after disabling Unread Only#1794
Keegil wants to merge 1 commit into
runbox:masterfrom
Keegil:fix/issue-1774

Conversation

@Keegil
Copy link
Copy Markdown
Contributor

@Keegil Keegil commented Mar 26, 2026

Bug fix — Message list stays empty after disabling Unread Only when no unread messages exist in the folder.

Problem

When a folder contained no unread messages, enabling Unread Only produced an empty list (expected). Disabling Unread Only afterwards left the list empty instead of repopulating it with all messages. The issue only occurred in this specific state (empty filtered result set, no local index). Issue #1774.

Fix

  • Force a filter reapplication even when the current filtered result set is empty
  • Repopulate the folder message list after Unread Only is turned off without requiring a local index to be present

Testing

  • Regression test added for the filter-refresh code path
  • npm run lint passes (existing repo-wide warnings only)
  • npx ng build runbox7 succeeds

Fixes #1774

Re-run message list filtering even when the current filtered list is empty so turning off Unread Only repopulates the folder view without a local index. Add regression coverage for the filter refresh path.\n\n#1774
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unchecking 'Unread Only' does not update message list unless local index enabled

1 participant