Closed
Bug 482739
Opened 17 years ago
Closed 17 years ago
Software keyboard does not activate on password text edit fields
Categories
(Core :: Widget: Win32, defect)
Tracking
()
VERIFIED
FIXED
| Tracking | Status | |
|---|---|---|
| fennec | 1.0a1-wm+ | --- |
People
(Reporter: dougt, Assigned: dougt)
References
Details
(Keywords: fixed1.9.1)
Attachments
(1 file)
|
2.08 KB,
patch
|
blassey
:
review+
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
1) go to reader.google.com
2) click in the user name field
3) notice that the software keyboard is displayed
4) click in the password field
5) notice that the software keyboard is not displayed
expected result:
software keyboard to be displayed when entering text into a password text field
| Assignee | ||
Updated•17 years ago
|
Flags: wanted-fennec1.0?
Updated•17 years ago
|
tracking-fennec: --- → 1.0a1-wm+
| Assignee | ||
Updated•17 years ago
|
Assignee: nobody → doug.turner
Comment 1•17 years ago
|
||
I think this is a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=480306
| Assignee | ||
Comment 2•17 years ago
|
||
it is a dup, but the fix is actually platform specific.
The problem turns out that we are using the wrong nsIWidget IME flags to determine if we should open up the software keyboard. We should be testing just to see if the IME is disabled, and if it is we should close the software keyboard. Otherwise, all other states (normal, plugins, password), we should open up the software keyboard.
patch coming up.
| Assignee | ||
Comment 3•17 years ago
|
||
Attachment #368441 -
Flags: review?(bugmail)
| Assignee | ||
Updated•17 years ago
|
Attachment #368441 -
Flags: superreview?(pavlov)
Comment 4•17 years ago
|
||
Comment on attachment 368441 [details] [diff] [review]
patch v.1
>diff --git a/widget/src/windows/nsWindow.cpp b/widget/src/windows/nsWindow.cpp
>+ HWND hWndSIP = FindWindowW(L"SipWndClass", NULL );
>+ if (hWndSIP)
>+ ::ShowWindow( hWndSIP, show ? SW_SHOW: SW_HIDE);
Can you fix up the "( " and " )" when you land this? Yes, I'm a nut case.
| Assignee | ||
Comment 5•17 years ago
|
||
mfinkle, yeah good catch.
Updated•17 years ago
|
Attachment #368441 -
Flags: review?(bugmail) → review+
Comment 6•17 years ago
|
||
Comment on attachment 368441 [details] [diff] [review]
patch v.1
so there are two changes here, one is to pull the code out as a helper function; which is pretty strait forward.
The second is to enable the SIP for passwords, which seems like a good idea. The question that comes to my mind though is why doesn't the IME code enabled the IME for passwords in general? i.e. should this change be:
- PRBool enable = (aState == nsIWidget::IME_STATUS_ENABLED ||
- aState == nsIWidget::IME_STATUS_PLUGIN);
+ PRBool enable = aState != nsIWidget::IME_STATUS_DISABLED;
otherwise this looks fine, perhaps Stuart or another peer can weigh in on that though.
Updated•17 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Updated•17 years ago
|
Attachment #368441 -
Flags: superreview?(pavlov) → approval1.9.1?
| Assignee | ||
Comment 7•17 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 8•17 years ago
|
||
Comment on attachment 368441 [details] [diff] [review]
patch v.1
a191=beltzner
Attachment #368441 -
Flags: approval1.9.1? → approval1.9.1+
Comment 9•17 years ago
|
||
Keywords: fixed1.9.1
| Assignee | ||
Comment 10•17 years ago
|
||
clearing wanted flag; this landed on 1.9.1
Flags: wanted-fennec1.0?
Comment 11•17 years ago
|
||
verified FIXED on build:
Mozilla/5.0 (Windows; U; WindowsCE 5.2; en-US; rv1.9.2a2pre) Gecko/20090810 Fennec/1.0a3pre
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•