Open Bug 1765077 Opened 3 years ago Updated 1 year ago

Highlight of new rules and advanceFocusIntoSubtree(searchVal) stopped working when adding new search term

Categories

(MailNews Core :: Filters, defect)

Thunderbird 91
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: rachel, Unassigned)

References

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0

Steps to reproduce:

While working on bug 297852 we noticed that newly added search terms are no longer highlighted and the focus is also not moved into the searchVal any more:
TB 68: Highlight + focus moved
TB 78: Highlight, no focus moved, likely broke during de-XBL
TB 91: No highlight, no focus moved.

Relevant code:
https://searchfox.org/comm-central/rev/7b94d18421e20ea59fd44cca16118ff696f2f584/mailnews/search/content/searchTerm.js#401-405

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