Closed Bug 2083639 Opened 26 days ago Closed 2 days ago

"Search <engine> for <term>" doesn't work on web pages / start mail page

Categories

(Thunderbird :: Toolbars and Tabs, defect)

Thunderbird 128
Desktop
All
defect

Tracking

(thunderbird_esr153 wontfix, thunderbird161 wontfix)

RESOLVED FIXED
162 Branch
Tracking Status
thunderbird_esr153 --- wontfix
thunderbird161 --- wontfix

People

(Reporter: standard8, Assigned: mkmelin)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 external file)

STR

  1. Start up Thunderbird
  2. On the "Mail Start Page", double-click to select some text, right Click and select "Search <engine> for <selection>".

Alternate:

  1. Open the add-ons manager
  2. Search for an add-on
  3. On the page that appears, select some text, right Click and select "Search <engine> for <selection>".

Alternate:

  1. Install Thunderbird Conversations
  2. Select a message
  3. Highlight text in the message, right Click and select "Search <engine> for <selection>".

Expected Results

A search is opened in the default browser

Actual Result

Nothing happens. On the Error Console there is a message:

10:09:10.825 Uncaught ReferenceError: openWebSearch is not defined
    oncommand chrome://messenger/content/messenger.xhtml:1
 messenger.xhtml:1:1

mozregression gives this range: https://hg-edge.mozilla.org/comm-central/pushloghtml?fromchange=87f4f09099b98ffbe0aeb6e5706338bdc05c5afe&tochange=6feef4b46387240f031aeea774f908bc1ec4fd47

From code inspection, that suggests bug 1866725 as the regressor.

Severity: -- → S3
OS: Unspecified → All
Hardware: Unspecified → Desktop
Version: unspecified → Thunderbird 128

Also reproduced on Thunderbird 158.0.1 (Flathub), Linux. Not limited to the start page and the add-ons search results: the same error comes from every content tab (e.g. the privacy notice tab opened on first run, addons.thunderbird.net search results) and from about:addons. The message body context menu item works.

Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Target Milestone: --- → 162 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/b1d851689dcb
Fix "Search <engine> for <term>" doesn't work on web pages / start mail page. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 2 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: