When using setDefaultSuggestion during onInputChanged to update the item text for the first suggestion item, the update is not instant. To test, set up a WebExtension as in http://stackoverflow.com/a/17246127 where the description for setDefaultSuggestion contains the text. See attached screenshot where I entered "foo", paused a bit, then added "bar".
Another interesting bit I just noticed, the "Search for xxx with" text seems to be an another schedule, it looks like I also paused after "fooba".
test how it works on chrome - to validate desired behavior.
Assignee: nobody → mwein
Priority: -- → P1
Whiteboard: omnibox, investigate
Summary: Calling omnibox.setDefaultSuggestion during omnibox.onInputChanged does not update default suggestion → Calling setDefaultSuggestion within onInputChanged should update the default suggestion for the current search query
Whiteboard: omnibox, investigate → omnibox
JFTR, Chromium has the desired instant-update behaviour.
I have encountered this issue as well. In general it breaks the: Search TargetSite for "...." pattern, in which the first suggestion is expected to update instantly when text is typed. It can also break ported Chrome extensions relying on this behavior, as well.
I also would like to push this bug. WebExtension's omnibox.setDefaultSuggestion is always one keyInput behind which is very confusing if you want to give the user feedback what he is gonna searching/typing in his omnibox. Please increase the priority of this. It breaks one essential omnibox WebExtensions feature. Thank you guys, and greetings from Vienna, Clemens
Hi, I just received again user complaints about this bug, because it is super confusing if the update of the default user suggestion lags one keystroke behind. Please take a look at this issue. I guess it's an easy to fix bug. Thank you very much.
You need to log in before you can comment on or make changes to this bug.