Closed Bug 1497515 Opened 6 years ago Closed 6 years ago

Most recently used search engine keyword is highlighted on internal pages even without interacting with the urlbar

Categories

(Firefox :: Address Bar, defect, P1)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: bruce.bugz, Assigned: adw)

References

Details

(Whiteboard: [fxsearch])

Attachments

(1 file)

Attached image Highlighted keyword.PNG
STR: 1. Give a keyword of, say, `a` (without backticks) to any search engine, say, Wikipedia. 2. Type in the address bar: `a test`. `a` gets highlighted, and upon pressing Enter, you are taken to a Wikipedia page, as expected. 3. Now open some internal pages that have `a` in their address. So any about: pages would do. Extension pages would work too. AR: First instance of `a` is highlighted in the urls of such pages. Other things: This bug seems to be per-window. So if you opened a new window after STR2 and opened an internal page in it, the bug won't be reproduced. You will have to follow STR2 again for the new window too.
Drew, didn't you fix something like this recently?
Flags: needinfo?(adw)
STR3 in my description is incomplete. Revised STR: 1. Give a keyword of, say, `a` (without backticks) to any search engine, say, Wikipedia. 2. Type in the address bar: `a test`. `a` gets highlighted, and upon pressing Enter, you are taken to a Wikipedia page, as expected. 3. Now open some internal pages that have `a` in their address, but without using the urlbar. E.g., open about:addons by pressing ctrl+shift+a, or hamburger > Add-ons. Any about: pages or extension pages that can be opened this way would work. This should probably block bug 1491724.
Yes, this looks like bug 1495614, which I filed based on another comment of yours, Bruce. I'd need to investigate this a little more to say for sure and marking it a dupe. Bruce, if you can confirm it's a duplicate in the meantime, then let us know.
Blocks: 1491724
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(adw)
See Also: → 1495614
Assignee: nobody → adw
Status: NEW → ASSIGNED
Priority: -- → P1
Also I doubt this has anything to do with internal about: pages. It's probably just a dupe of bug 1495614, as I said.
I had decided to file a new bug because I thought that the STR are quite different: here, the keywords retain their highlight even when not interacting with the urlbar, unlike bug 1495614. I don't know if the two bugs are exact duplicates or just related.
Whiteboard: [fxsearch]
The patch in bug 1495614 fixes this, and after having written it and understanding this bug better, I think it's probably right to keep these bugs separate.
Fixed by bug 1495614, closing
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: