Description
When creating or editing a filter, the folder selection dropdown sometimes fails to load the mailbox folder tree and only displays the placeholder:
Select folder
The expected list of mailbox folders is not loaded, making it impossible to select a destination folder for the filter.
Steps to Reproduce
- Open Bulwark Webmail outside the root (webmail.domain.com/) or refresh the page outside the root
- Navigate directly to Settings → Filters (or refresh the page while already on the Filters page).
- Create or edit a filter.
- Open the folder selection dropdown.
Actual Result
The dropdown only shows "Select folder" and does not display any mailbox folders.
Workaround
- Return to the main mailbox view (Inbox).
- Wait for the mailbox to load.
- Navigate back to Settings → Filters.
- Open the folder selector again.
The mailbox folder tree is then loaded correctly and becomes available in the dropdown.
Possible Cause
From what I can observe, the folder tree appears to be loaded only when the mailbox view is initialized.
If Bulwark is refreshed or opened directly on a page other than the main mailbox view (for example the Filters settings page), the folder selector may not have access to the mailbox folder hierarchy and therefore remains empty.
It looks like the Filters page depends on folder data that may not have been loaded yet, instead of fetching it independently when required.
Steps to Reproduce
- Open Bulwark Webmail outside the root (webmail.domain.com/) or refresh the page outside the root
- Navigate directly to Settings → Filters (or refresh the page while already on the Filters page).
- Create or edit a filter.
- Open the folder selection dropdown.
Expected Behavior
Have all folder in the list
Actual Behavior
The dropdown only shows "Select folder" and does not display any mailbox folders.
Bulwark Version
1.7.4
Stalwart Mail Server Version
0.16.10
Browser
No response
Operating System
None
Screenshots / Screen Recording
Relevant Logs or Error Output
Additional Context
No response
Description
When creating or editing a filter, the folder selection dropdown sometimes fails to load the mailbox folder tree and only displays the placeholder:
The expected list of mailbox folders is not loaded, making it impossible to select a destination folder for the filter.
Steps to Reproduce
Actual Result
The dropdown only shows "Select folder" and does not display any mailbox folders.
Workaround
The mailbox folder tree is then loaded correctly and becomes available in the dropdown.
Possible Cause
From what I can observe, the folder tree appears to be loaded only when the mailbox view is initialized.
If Bulwark is refreshed or opened directly on a page other than the main mailbox view (for example the Filters settings page), the folder selector may not have access to the mailbox folder hierarchy and therefore remains empty.
It looks like the Filters page depends on folder data that may not have been loaded yet, instead of fetching it independently when required.
Steps to Reproduce
Expected Behavior
Have all folder in the list
Actual Behavior
The dropdown only shows "Select folder" and does not display any mailbox folders.
Bulwark Version
1.7.4
Stalwart Mail Server Version
0.16.10
Browser
No response
Operating System
None
Screenshots / Screen Recording
Relevant Logs or Error Output
Additional Context
No response