Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Suggested words UI gets into an infinite loop #3

jasarien opened this Issue May 23, 2011 · 1 comment


None yet
2 participants

In some cases the suggested words UI presented when giving an ambiguous word to the definition controller can get itself into an infinite loop. Note that this is a loop in the UI flow, not in the traditional recursion sense that might cause a stack overflow.

Example, if you pass the word "red" to the definition view controller, the suggestion UI appears asking the user if they meant "red" or "Red". Choosing the first option usually takes the user to the definition page as intended, however, if the other option is selected the user is asked to pick from more suggestions, with exactly the same choices, only they appear in a new order.

It is possible for the user to continue choosing options that lead to more suggestions with the same choices forever, never arriving at a definition view.

The only way to get out of the suggestions UI is to keep pressing the back button until the user reaches the root. Once at the root, the user can press the 'done' button to exit the UI. It should be noted that the done button doesn't appear to have any function when the user drills down past the first suggestion page.


fehguy commented May 24, 2011

Hi Jasarien, that's an issue. I'll look into it and report back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment