Closed Bug 1873860 Opened 9 months ago Closed 5 months ago

Check that the quickfilter API is correctly updating the quickfilter input field in Daily

Categories

(Thunderbird :: Add-Ons: Extensions API, defect, P1)

Thunderbird 121

Tracking

(thunderbird127 fixed)

RESOLVED FIXED
127 Branch
Tracking Status
thunderbird127 --- fixed

People

(Reporter: TbSync, Assigned: freaktechnik)

References

(Regression)

Details

(Keywords: regression)

Attachments

(6 files, 1 obsolete file)

Type: task → defect
Keywords: regression
Regressed by: 1835687

@aleca: You can reproduce this bug as follows:

  • install the quickfilter-kbd add-on
  • select a message with a subject you want to set the quickfilter to
  • press shift + alt + s (a shortcut registered by the extension)
  • observe the message list being filtered to messages with the same subject as the selected message
  • observe the quickfilter box remaining empty
Flags: needinfo?(alessandro)

Is the add-on reaching directly into the DOM or passing through an API we offer?

The problem is that we stopped using the XUL search-textbox and moved to a simple HTML form with an HTML input field inside.
That template is used in this custom element and added to the shadowDOM.

Should we implement a method inside the SearchBar custom element to enable add-ons to reach into the input field and send strings?

Flags: needinfo?(alessandro)

The add-on is using the API browser.mailTabs.setQuickFilter() and I need to restore the behavior.

I do not think that we need and API just to update the content, we need to make the content being updated when the setter is being used. Or I have to update the API to use a new setter (but I did not find one).

Assignee: nobody → alessandro
Status: NEW → ASSIGNED

Continuing this.

Assignee: alessandro → martin

Raising the priority as this should land a couple of beta releases before next ESR.

Severity: -- → S2
Priority: -- → P1
Attachment #9398614 - Attachment description: Bug 1873860 - Add documentation for Quick Filter Bar r=heather,#thunderbird-front-end-reviewers → Bug 1873860 - Add documentation for Quick Filter Bar. r=heather,#thunderbird-front-end-reviewers

The first three patches of the stack are ready to land at the time of writing.

Pushed by martin@humanoids.be:
https://hg.mozilla.org/comm-central/rev/3ce4ae1be6ac
Clean up QuickFilterManager JSDocs. r=vineet
https://hg.mozilla.org/comm-central/rev/f3534581a4ac
Fix docs JSDoc build. r=rjl
https://hg.mozilla.org/comm-central/rev/935c55c42eeb
Add documentation for Quick Filter Bar. r=heather,aleca

Target Milestone: --- → 127 Branch
Version: unspecified → Thunderbird 121

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/1f79f652c55e
Fix quick filter bar API for extensions. r=john.bieling,aleca
https://hg.mozilla.org/comm-central/rev/24007c863bc5
Add test for quick filter bar extension API. r=john.bieling
https://hg.mozilla.org/comm-central/rev/8c438b9379a5
Add test for search-bar overrideSearchTerm. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Attachment #9376873 - Attachment is obsolete: true
Duplicate of this bug: 1840955
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: