Closed Bug 831457 Opened 12 years ago Closed 12 years ago

[Browser] JS prompt does not focus on the field

Categories

(Firefox OS Graveyard :: Gaia::Browser, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:-, b2g18+ fixed)

RESOLVED FIXED
blocking-b2g -
Tracking Status
b2g18 + fixed

People

(Reporter: nhirata, Assigned: rwaldron)

Details

(Whiteboard: uxbranch)

Attachments

(3 files)

Attached image screenshot
## Environment: Gecko http://hg.mozilla.org/releases/mozilla-b2g18/rev/0a7c51803227 Gaia a03f7b532e9998e646d55f93a0fc03a04d7ca7d9 BuildID 20130115230201 Version 18.0 Otoro/Unagi ## Repro : 1. launch browser 2. go to http://people.mozilla.com/~nhirata/html_tp/PasswordPrompt.html ## Expected : focus should be in the text field, so that the keyboard pops up and the text in the field should be readable ## Actual : focus is not on the text field; the contents of the field is not readable. ## Note :
Whiteboard: uxbranch
Assignee: nobody → waldron.rick
Summary: [Browser] JS Password prompt does not focus on the field and the contents is hard to read. → [Browser] JS prompt does not focus on the field
Invoke elements.promptInput.focus(); to set focus and therefore a cursor on the prompt's input field. https://github.com/mozilla-b2g/gaia/pull/8012
Attached patch Fix for 831457Splinter Review
Attachment #711453 - Flags: review?(bfrancis)
blocking-b2g: --- → tef?
Attachment #711453 - Flags: review?(bfrancis) → review?(nhirata.bugzilla)
blocking-b2g: tef? → -
Hi Rick, I'm not an official code reviewer. It looks good to me though. :) I'll ping ben.
Flags: needinfo?(bfrancis)
Attachment #711453 - Flags: review?(nhirata.bugzilla) → review?(dale)
Comment on attachment 711453 [details] [diff] [review] Fix for 831457 That text field is really tiny! But that's outside the scope of this bug. r+me.
Attachment #711453 - Flags: review?(dale) → review+
Flags: needinfo?(bfrancis)
Attached file Updated commit message
Adds r=benfrancis to commit message
Keywords: checkin-needed
(In reply to Rick Waldron from comment #5) > Created attachment 713917 [details] > Updated commit message > > Adds r=benfrancis to commit message Rick, neither attachment has any git commit headers, fwiw. [master 91fa372] Bug 831457 - [Browser] JS prompt does not focus on the field r=benfrancis v1-train: 7b4d4ebb7a6d7ac3c16b0e9c81e31d77520699f8
Status: NEW → RESOLVED
Closed: 12 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Testing in current nightly it seems this has regressed, opening http://people.mozilla.com/~nhirata/html_tp/PasswordPrompt.html doesnt show the keyboard
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee: waldron.rick → nobody
Dale, this was changed in bug 863466
Ah so it did, reclose :)
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Assignee: nobody → waldron.rick
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: