Open Bug 1923075 Opened 5 months ago Updated 5 months ago

"Edit > Find > Search Messages" doesn't work for saved search folders and should likely be disabled on the menu

Categories

(Thunderbird :: Mail Window Front End, defect)

Thunderbird 115
defect

Tracking

(Not tracked)

People

(Reporter: francesco, Unassigned)

References

Details

(Keywords: good-first-bug, triaged)

"Edit > Find > Search Messages" doesn't work for search folders and should likely be disabled on the menu.

Note that the context menu for search folders doesn't have an entry "Search Messages", so there it was intentionally(?) not displayed.

(I've set version to 115 although the problem likely existed before. I haven't checked that.)

Severity: -- → S4
Keywords: triaged
See Also: → 270232
Summary: "Edit > Find > Search Messages" doesn't work for search folders and should likely be disabled on the menu → "Edit > Find > Search Messages" doesn't work for saved search folders and should likely be disabled on the menu

Code is likely here: https://searchfox.org/comm-central/rev/bf4f9ec8e85a8831b47234d4e8122d9d7c2b4562/mail/base/content/mailCommon.js#458 - add a check for folder flags Virtual, like https://searchfox.org/comm-central/rev/bf4f9ec8e85a8831b47234d4e8122d9d7c2b4562/mail/base/content/about3Pane.js#759 (Note folder.isVirtual there is not a thing, and should be removed). Also check MailServices.accounts.accounts.length to disable when no accounts are availabe.

Keywords: good-first-bug
You need to log in before you can comment on or make changes to this bug.