Closed Bug 659599 Opened 13 years ago Closed 5 years ago

Hitting the return key should dismiss the virtual keyboard

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: tech4pwd, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows NT 6.1; rv:6.0a1) Gecko/20110524 Firefox/6.0a1
Build Identifier: 

Pressing enter in a search <input> box does nothing, it should start a search or at the very least exit the box (in landscape) and return the user to the page.

Reproducible: Always
OS: Other → Android
Hardware: Other → ARM
What do you call an <input> box? Can you give examples?
STR:
1/ Put phone in landscape
2/ Click on an <input> (single line text box)
3/ Write some text
4/ Click enter

Expected Results: You should be taken back to the page out of the editor.

Actual Results: You're left within the text editor.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Enter in search box should invoke search → Hitting the return key should dismiss the virtual keyboard
Just as a use case : What about forms that have multiple input text boxes?
http://people.mozilla.org/~nhirata/html_tp/formsninput.html

Personally, I would find it annoying if I hit return, had to click on a field for input and the VKB was animating back and forth every time.  Not sure how others feel.
if you hit enter in a normal input box it submits the form, why would you ignore convention completely on mobile?
It depends on the text fields.  see the test page. that I linked in Comment 3.  First text boxes doesn't submit the form, the username field will submit the form.  This occurs even in mobile.

Personally, I think mobile conventions should be slightly different because it's a different type of user interface (touch interface/typing on a mobile device is more of a pain IMHO) with different limitation (such as size/spacing/memory, etc.).  that's just my belief though.
Please note this bug is about input boxes and not textareas. also note that the slightly different convention is exiting the input box and not submitting the form.
Well, perhaps it's my misunderstanding, but I am not sure what you are referring to when you state input boxes based on your last comment.  Can you give an example of some html code?
(In reply to comment #7)
> Well, perhaps it's my misunderstanding, but I am not sure what you are
> referring to when you state input boxes based on your last comment.  Can you
> give an example of some html code?
To use html from this very page:

<input id="status_whiteboard" name="status_whiteboard" class="text_input" value="" size="40"> = Dismiss virtual keyboard.

<textarea name="comment" id="comment" rows="10" cols="80"></textarea> = Create new line within editor.
I apologize.   I see your point in landscape where you can't see anything.  I suppose it was my fault for reading too fast.
(In reply to comment #9)
> I apologize.   I see your point in landscape where you can't see anything. 
> I suppose it was my fault for reading too fast.

Not completely your fault, i was myself thinking about it silently to be sure to understand the point.
Closing all opened bug in a graveyard component
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.