Closed Bug 1687034 Opened 3 years ago Closed 3 years ago

Global Search icon appears in the Mail Toolbar with Global Search disabled

Categories

(Thunderbird :: Mail Window Front End, defect)

x86_64
All
defect

Tracking

(thunderbird_esr78+ verified, thunderbird85 wontfix, thunderbird86 verified)

VERIFIED FIXED
86 Branch
Tracking Status
thunderbird_esr78 + verified
thunderbird85 --- wontfix
thunderbird86 --- verified

People

(Reporter: walts48, Assigned: mkmelin)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files, 1 obsolete file)

Attached image search-icon.png

Open Thunderbird
Open Options > General
Scroll down to Indexing
Disable Global Search and Indexer
Return to the Mail tab

After bug 1681010 landed with the icon moved to the left the icon always appears in the Mail toolbar with the preference disabled.

The icon should not be on the toolbar.

Keywords: regression
Regressed by: 1681010
Attached patch bug1687034_showgloda.patch (obsolete) — Splinter Review

I don't think hiding/showing should be the responsibility of the custom element.

Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Attachment #9197569 - Flags: review?(richard.marti)

Comment on attachment 9197569 [details] [diff] [review]
bug1687034_showgloda.patch

It works for the main tab but the chat tab has a Gloda search field that needs to be hidden too.

Attachment #9197569 - Flags: review?(richard.marti)

Good catch - and the items can also be customized away.
Testing that I notice the chat one has (since overlay removal 3yrs ago) had &title; showing as the title, so I fixed that as well.

Attachment #9197569 - Attachment is obsolete: true
Attachment #9197586 - Flags: review?(richard.marti)

Comment on attachment 9197586 [details] [diff] [review]
bug1687034_showgloda.patch

Thanks.

Attachment #9197586 - Flags: review?(richard.marti) → review+

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/084beaa47608
hide both Global Search icon and input when Global Search disabled. r=Paenglab

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

Looking at the regressing bug, I'm not sure it's such a good idea to use a separate image instead of styling the input. Anyway...

Target Milestone: --- → 86 Branch

Comment on attachment 9197586 [details] [diff] [review]
bug1687034_showgloda.patch

[Approval Request Comment]
Regression caused by (bug #): 1681010
User impact if declined: gloda search icon showing in the toolbar when gloda disabled
Testing completed (on c-c, etc.): c-c, soon beta
Risk to taking this patch (and alternatives if risky): low risk

Attachment #9197586 - Flags: approval-comm-esr78?

Global search icon no longer appears in the Mail or Chat toolbars with gloda disabled in 86.0b1 build2 Build ID 20210128005905 on Windows 10.

Still present in 78.7.0.

Comment on attachment 9197586 [details] [diff] [review]
bug1687034_showgloda.patch

[Triage Comment]
Approved for esr78

Attachment #9197586 - Flags: approval-comm-esr78? → approval-comm-esr78+

Verified in my test of the 78.7.1 release candidate on Windows 10.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: