Closed Bug 576022 Opened 10 years ago Closed 10 years ago
Password Manager does not fill in password immediately after selecting username
When there is more than one username/password stored for the same site, Fennec (like Firefox) offers multiple suggestions for the username field. After choosing one of the suggestions, Firefox fills in the password field immediately (while the username field is still focused). But Fennec does not fill in the password until the username field is unfocused. This was confusing to at least one user (my wife) and it also means you can't just press Enter to submit the form after selecting the username.
LoginManager listens for both "blur" and "DOMAutoComplete": http://mxr.mozilla.org/mozilla-central/source/toolkit/components/passwordmgr/src/nsLoginManager.js#335 In Firefox, DOMAutoComplete is fired here: http://mxr.mozilla.org/mozilla-central/source/toolkit/components/satchel/src/nsFormFillController.cpp#455 This patch dispatches DOMAutoComplete from Form Assistant when we use autocomplete to fill a form field. It also contains some minor code cleanup.
Comment on attachment 455286 [details] [diff] [review] patch Hmm, this is not quite working on trunk, although a similar fix does work on 1.1. Investigating...
Use the right document for document.createEvent.
Attachment #455313 - Flags: review?(mark.finkle) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
verified FIXED on build: Mozilla/5.0 (X11; U; Linux armv71; Nokia N900; en-US; rv:2.0b2pre) Gecko/2010701 Namoroka/4.0b2pre Fennec/2.0a1pre
Status: RESOLVED → VERIFIED
Flags: in-litmus?(tchung) → in-litmus+
You need to log in before you can comment on or make changes to this bug.