Open
Bug 1332944
Opened 8 years ago
Updated 2 years ago
Delay for omnibox.onInputChanged suggestions increases with text length
Categories
(WebExtensions :: Frontend, defect, P3)
WebExtensions
Frontend
Tracking
(Not tracked)
REOPENED
People
(Reporter: Fallen, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: omnibox, investigate, triaged)
Attachments
(1 file)
1.12 MB,
video/quicktime
|
Details |
Using the following snippet:
browser.omnibox.onInputChanged.addListener((text, suggest) => {
suggest([{
content: "foo",
description: "bar"
},{
content: "baz",
description: "quux"
}])
});
should be fast enough that results will be displayed instantly. I've made the following observations:
1) Entering 1-3 characters after the keyword is pretty much instant, but it flickers between typing characters because the item is removed and added again. Ideally the item should be re-used, so no flickering occurs
2) When entering 4 or more characters, there is a noticeable delay between typing the character and the items appearing. The more characters, the longer it takes.
Updated•8 years ago
|
Assignee: nobody → mwein
Priority: -- → P1
Whiteboard: omnibox, investigate
Comment 1•8 years ago
|
||
Could you confirm whether the suggestions appear for the most part instantly after you stop typing? I suspect that the delay is due to the Awesome Bar waiting for the user to finish inputting text before processing it.
Flags: needinfo?(philipp)
Reporter | ||
Comment 2•8 years ago
|
||
Other awesomebar results appear instantly, there is a delay only for the omnibox results. See attached screencast with me entering "amo cliqz". Full add-on code at https://github.com/kewisch/amo-helper/blob/master/webextension/background/omnibox.js if you can't reproduce using the snippet.
Flags: needinfo?(philipp)
Updated•8 years ago
|
Whiteboard: omnibox, investigate → omnibox, investigate, triaged
Comment 3•8 years ago
|
||
This is unscientific, but I think this might not strictly be an omnibox bug. While testing my WebExtension, I'm seeing several seconds of lag in my usual profile, with its other extensions, large pile of history, open tabs, etc--but I *don't* see lag in a fresh profile: long inputs get shown quickly.
This is an assigned P1 bug without activity in two weeks.
If you intend to continue working on this bug for the current release/iteration/sprint, remove the 'stale-bug' keyword.
Otherwise we'll reset the priority of the bug back to '--' on Monday, August 28th.
Keywords: stale-bug
Updated•7 years ago
|
Priority: P1 → P2
Updated•7 years ago
|
Priority: P2 → P3
Updated•7 years ago
|
Product: Toolkit → WebExtensions
Updated•2 years ago
|
Severity: normal → S3
Updated•2 years ago
|
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(philipp)
Resolution: --- → WORKSFORME
Reporter | ||
Comment 6•2 years ago
•
|
||
Yes, this is still occurring. Tested in a 2023-07-31 nightly.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•