Closed Bug 798614 Opened 12 years ago Closed 12 years ago

Don't keep opening and closing the word suggestion area when switching to alternate characters

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cjones, Assigned: djf)

References

Details

For numeric keyboards, we should never open the word suggestion bar. For alphanumeric entry, word suggestion stays open while I enter alphabetical characters, but when I switch to alternate characters (numeric et al.) it closes. Then when I switch back it opens again. This is pretty janky. How about we just clear the suggestions if a non-alpha character is entered? Also, we're showing word suggestions for the URL input type. That's a bug, right? (The awesomebar does this job.)
Thanks for filing this, Chris. I just fixed a similar bug for opening and closing the suggestion panel after each word. It should be easy to fix this for switching to alternate characters. Word suggestions for URL input is a bug, I can't reproduce it: I don't see word suggestions when I enter a URL in the browser app. Are you seeing them in web content with input type="url" or in an app? #796544 (support the inputmode attribute) will help with this a lot, too. I'm assigning this to myself and adding it to my keyboard meta bug.
Blocks: 797155
Assignee: nobody → dflanagan
(In reply to David Flanagan [:djf] from comment #1) > Word suggestions for URL input is a bug, I can't reproduce it: I don't see > word suggestions when I enter a URL in the browser app. Are you seeing them > in web content with input type="url" or in an app? > I meant the suggestion UI coming up *at all*.
Chris, I just flashed the latest nightly, and now I see what you mean. That's a horrible regression. Yuck. DavidS has already filed a bug about it: #797406. Let's move all big gray bar stuff to that bug, and keep this one focused on not being janky when going in and out of number mode.
CCing Rudy and Casey. I would personally love to not showing an empty UI (screen real estate are precious!) but if that cause performance problem, we have no choice :'(
It's not the performance I'm concerned about. It's the jank of opening and closing the suggestions panel as I switch back and forth from the page of alpha characters to alternate characters. Have you tried it?
Chris, Tim has seen the big gray bar, but thought it was intentional, so he was commenting here to say that he'd like the big gray bar to go away sometimes :-) I think we're all on the same page here.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.