Suggestions for autocomplete do not always appear
See original GitHub issueInternal ticket: https://app.asana.com/0/488551667048375/1108574295820133
This problem is related to autocomplete feature.
Steps to reproduce shows an example with bangs, but it happens for all kind of characters.
Steps to reproduce the problem
- Open the app
- Type
!
in the address bar - Suggestions appear
- Clear the address bar
- Type
!
in the address bar again - “No suggestions” message appear
Expected behavior
- In the step 6 user should see suggestions.
Additional notes
- When after performing all the steps to reproduce, I will type
!
+ any sign (e.g.!a
) and then remove additional sign (a
in the case of example), then suggestions appear - When after performing all the steps to reproduce, I will kill the app, open it again and type
!
, then suggestions appear - Address bar can be cleared in 3 ways (with backspace button on the keyboard, with
x
sign in the address bar or by pressing back button when keyboard is open) - in all cases behavior is the same
Question
- Can you tell me, where in the code can I find implementation of the bangs? I searched it in
SpecialUrlDetector.kt
and I searched for keywords like “bang” and “bangs” in the GitHub repo, but I couldn’t find anything.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Autocomplete suggestions don't appear - Stack Overflow
Suggestion list doesn't appear straight after the letters were typed, the user need to click out of input and then click on input...
Read more >Manage Google autocomplete predictions - Android
With autocomplete, you can enter a Google search more quickly. ... If you don't want to get these predictions and recommendations, turn off...
Read more >Outlook AutoComplete not showing all suggestions
Recent shows some suggestions but not all that would be expected, and Suggested is now not visible. I have tried creating a new...
Read more >How to turn off form autocompletion - Web security | MDN
If a browser keeps on making suggestions even after setting autocomplete to off, then you have to change the name attribute of the...
Read more >How Google autocomplete works in Search
A behind-the-scenes look at how Google autocomplete creates predictions ... don't necessarily reflect awful opinions that some may hold but ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks again for reporting this, and all the info provided. This should be fixed in the next release.
Let me know if it’s still causing problems.
PR created for this https://github.com/duckduckgo/Android/pull/433