Skip to content

[Bug]: search resetting when switching folders and having "Keyword" in "Message"-Filter #553

Description

@proxforge

Description

search is not showing the correct e-mails / not filtering correct when switching folders after using fields from "advanced search"

Steps to Reproduce

  1. Search via advanced-search for something for example in "Nachricht" for "Test-03072026"
  2. The Mail from "Posteingang" which has this string in its mail-text is found
  3. switch folders for example to "Alle Ordner"
  4. search now shows all mails, without reapplying the string from "Nachricht" "Test-03072026" so basically it just shows all mails, despite showing it still filters for "Test-03072026".
  5. Even switching back to the prev. default folder "Posteingang" shows now all mails, instead of the only hit it found on the first advanced-search query.

Expected Behavior

Switching folders should reapply already used/set search-parameters/fields

Actual Behavior

switching folders resets already set search-fields, despite still showing that it still is used (it is not)

Bulwark Version

0.6.11

Stalwart Mail Server Version

0.1.79

Browser

Firefox

Operating System

Windows

Screenshots / Screen Recording

No response

Relevant Logs or Error Output

I checked console logs, but nothing relevant only this:

"12:15:57.726 [DEBUG:jmap] [Mailbox Tree] Building tree from 25 mailboxes 3718-c7a29c490c4a041f.js:1:294
12:15:57.726 [DEBUG:jmap] [Mailbox Tree] Built tree: 12 root nodes, max depth: 1, total own: 25, shared: 0 3718-c7a29c490c4a041f.js:1:294
12:15:58.028 [DEBUG:jmap] [Mailbox Tree] Building tree from 25 mailboxes 3718-c7a29c490c4a041f.js:1:294
12:15:58.028 [DEBUG:jmap] [Mailbox Tree] Built tree: 12 root nodes, max depth: 1, total own: 25, shared: 0 3718-c7a29c490c4a041f.js:1:294
12:15:58.066 [DEBUG:jmap] [Mailbox Tree] Building tree from 25 mailboxes 3718-c7a29c490c4a041f.js:1:294
12:15:58.066 [DEBUG:jmap] [Mailbox Tree] Built tree: 12 root nodes, max depth: 1, total own: 25, shared: 0 3718-c7a29c490c4a041f.js:1:294
12:16:02.953 [DEBUG:jmap] [Mailbox Tree] Building tree from 25 mailboxes 3718-c7a29c490c4a041f.js:1:294
12:16:02.953 [DEBUG:jmap] [Mailbox Tree] Built tree: 12 root nodes, max depth: 1, total own: 25, shared: 0 3718-c7a29c490c4a041f.js:1:294
12:16:02.956 [DEBUG:jmap] [Mailbox Tree] Building tree from 25 mailboxes 3718-c7a29c490c4a041f.js:1:294
12:16:02.957 [DEBUG:jmap] [Mailbox Tree] Built tree: 12 root nodes, max depth: 1, total own: 25, shared: 0 3718-c7a29c490c4a041f.js:1:294
12:16:03.162 [DEBUG:jmap] [Mailbox Tree] Building tree from 25 mailboxes 3718-c7a29c490c4a041f.js:1:294
12:16:03.162 [DEBUG:jmap] [Mailbox Tree] Built tree: 12 root nodes, max depth: 1, total own: 25, shared: 0 3718-c7a29c490c4a041f.js:1:294
12:16:03.318 [DEBUG:jmap] [Mailbox Tree] Building tree from 25 mailboxes 3718-c7a29c490c4a041f.js:1:294
12:16:03.318 [DEBUG:jmap] [Mailbox Tree] Built tree: 12 root nodes, max depth: 1, total own: 25, shared: 0 3718-c7a29c490c4a041f.js:1:294
12:16:06.766 [DEBUG:jmap] [Mailbox Tree] Building tree from 25 mailboxes 3718-c7a29c490c4a041f.js:1:294
12:16:06.766 [DEBUG:jmap] [Mailbox Tree] Built tree: 12 root nodes, max depth: 1, total own: 25, shared: 0 3718-c7a29c490c4a041f.js:1:294
12:16:06.973 [DEBUG:jmap] [JMAP Mailbox] getMailboxes returned 25 mailboxes for account c 3718-c7a29c490c4a041f.js:1:294
12:16:06.974 [DEBUG:jmap] [Mailbox Tree] Building tree from 25 mailboxes 3718-c7a29c490c4a041f.js:1:294
12:16:06.974 [DEBUG:jmap] [Mailbox Tree] Built tree: 12 root nodes, max depth: 1, total own: 25, shared: 0"

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions