Closed Bug 1796788 Opened 2 years ago Closed 11 months ago

Disable extension keyword handling when a search engine keyword has already been entered in URL

Categories

(Firefox :: Address Bar, defect)

Firefox 106
Desktop
All
defect

Tracking

()

RESOLVED DUPLICATE of bug 1815819
Tracking Status
firefox106 --- affected
firefox107 --- affected
firefox108 --- affected

People

(Reporter: exa, Unassigned)

Details

Attachments

(1 file)

Steps to reproduce:

Actual results:

  • Extension keyword handling works even if a search engine keyword has already been entered in the URL bar
  • Pressing enter will trigger whatever action the extension has defined for this keyword (just like it would without entering a search keyword)

Expected results:

  • Extension keyword handling is disabled upon entering a search engine keyword in the URL bar
  • You can search for keywords even if that keyword is registered by an extension (using omnibox object attribute in their manifest) when pressing enter

The Bugbug bot thinks this bug should belong to the 'WebExtensions::Untriaged' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Product: Firefox → WebExtensions
Component: Untriaged → Address Bar
Product: WebExtensions → Firefox

Bookmark keywords are unaffected by this issue.

Add-on dev of the mentioned extension here. The downstream issue/related issue for that is https://github.com/rugk/awesome-emoji-picker/issues/139. Actually, the issue here, is clearly a Firefox bug though, as two keywords should not be possible, respectively one needs to take precedence. (which, IMHO, should be the first one, but you may find another solution)

The keyword is statically defined in the extension, after all.

This doesn't look like a new regression. It's been like this all the way back to the implementation of search mode for engines(Fx81), meaning that the extension is always suggested even if the user is already in searchmode.
The double keyword seems to be working only in case of webextensions, because it doesn't work with double keywords of default search engines. Marking the bug as new.

Severity: -- → S4
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → Desktop
Status: NEW → RESOLVED
Closed: 11 months ago
Duplicate of bug: 1815819
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: