Closed
Bug 16940
Opened 25 years ago
Closed 20 years ago
[FEATURE] need an XP API to disable input methods for password fields
Categories
(Core :: Layout: Form Controls, defect, P1)
Core
Layout: Form Controls
Tracking
()
RESOLVED
FIXED
Future
People
(Reporter: erik, Assigned: masayuki)
References
Details
(Keywords: helpwanted, intl)
Attachments
(13 files, 14 obsolete files)
Frank, since you are currently looking after XP input method issues, I've
initially assigned this bug to you. We need an XP API to turn off input methods
for example for password fields where we should not be seeing the IM text.
After designing and checking in the XP API, we need the owners of each platform
(Unix, Windows, Mac, etc) to implement for their platform.
Updated•25 years ago
|
Component: XP Toolkit/Widgets → HTML Form Controls
Comment 1•25 years ago
|
||
cc buster@netscape.com since he did work on the password input control.
Change component to HTML form controls.
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M12
could this be as simple (and XP?) as turning off IME-specific DOM events based
on a flag passed to the editor and/or IME system?
Updated•25 years ago
|
Target Milestone: M12 → M14
Updated•25 years ago
|
Target Milestone: M14 → M13
Comment 4•25 years ago
|
||
Move to M13.
Updated•25 years ago
|
Priority: P3 → P1
Updated•25 years ago
|
QA Contact: claudius → ckritzer
Updated•25 years ago
|
Target Milestone: M13 → M14
Comment 5•25 years ago
|
||
I don't think I can make it M13. Move to M14.
Updated•25 years ago
|
QA Contact: ckritzer → teruko
Summary: need an XP API to disable input methods for password fields → [BETA] need an XP API to disable input methods for password fields
Comment 6•25 years ago
|
||
Added [BETA] in summary and changed QA contact to teruko@netscape.com.
Comment 7•25 years ago
|
||
Move this to M16. This is a new feature (compare to NS 4.0) Make it post Beta 1
Comment 8•25 years ago
|
||
I don't think we can make it for BETA. move it to M16
Summary: [BETA] need an XP API to disable input methods for password fields → need an XP API to disable input methods for password fields
Target Milestone: M14 → M16
Comment 9•25 years ago
|
||
Comment 10•25 years ago
|
||
Frank, please review the patch in the attachment,
and have it tested on Windows and Mac, also. We've
tested it on Unix, i386 Linux and SPARC Solaris.
Comment 11•25 years ago
|
||
Attached new version of patch in 17419 for nsEditor.cpp.
Please review the codes and my comment in the bug report. Thanks.
Comment 12•25 years ago
|
||
info- 4.x Window / Linux disable IME on password while Mac don't
Move to M20 and mark as "Help wanted"
Keywords: beta2
Whiteboard: estimate- 2-3 days of work total on 3 platform → [Help Wanted]
Target Milestone: M16 → M20
Comment 13•25 years ago
|
||
I read this as "it is impossible for passwords to have anything other than
ASCII, so the IME is not necessary." Is that correct? It seems odd that non-
English systems would require English/Latin-1 passwords--Japanese people
wouldn't be able to type Japanese passwords for use on remote Japanese sites,
for example. It seems that instead of disabling the input method, you really
just want to disable the DISPLAY of the characters. Otherwise, how could my
password be しのはら (Shinohara). I run Microsoft Japanese IME on Engish Win32
systems, so I could test this out if you are looking for help.
Comment 14•25 years ago
|
||
Taking on to modify editor APIs to make this easier.
Assignee: ftang → sfraser
Status: ASSIGNED → NEW
Updated•25 years ago
|
Target Milestone: M20 → M17
Comment 15•25 years ago
|
||
Brian, I lived five years in Japan and all the passwords I ever saw were ASCII.
Reason: you wouldn't want to reveal characters of your password by bringing up
an IME editor window to convert the ASCII characters into
hiragana/katakana/kanji. If behavior has changed in last 3.5 years, someone
please let me know, but I doubt it has. So support for non-ASCII passwords
shouldn't be considered a product requirement for Japanese at least. Expect the
same is true for other languages.
So Win/Linux automatically disable IME on password fields, but Mac doesn't? Do
we have to explicitly disable this on the Mac? Is this therefore a
Mac-specific issue now? What problems occur if we don't do this?
Resetting to FUTURE. Can anyone show a product /user need for this
functionality?
Keywords: helpwanted
Summary: need an XP API to disable input methods for password fields → [FEATURE] need an XP API to disable input methods for password fields
Whiteboard: [Help Wanted]
Target Milestone: M17 → Future
Comment 16•25 years ago
|
||
Comment 17•25 years ago
|
||
I had discussed the solution with sfraser@netscape.com and
jfrancis@netscape.com and I had posted a patch to
mozilla-i18n@mozilla.org, mozilla-editor@mozilla.org
on 24 Apr 2000. But I didn't get any answers yet.
Comment 18•21 years ago
|
||
I totally agree with comment #15. You can't tell it is ASCII or non-ASCII when
your own input is masked. But it's still reasonable that Mozilla accepts
non-ASCII password input with IME on if it can by setting about:config option
true, or by pasting non-ASCII string on password input box.
That said, why this bug and its proposed patch had been forgotten 3 years?
I had this bug on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b)
Gecko/20030822 Mozilla Firebird/0.6.1+ and possibly on the nightly of Mozilla of
the same date. Not sure about Linux and Mac, but on Windows XP it doesn't
disable IME now.
Assignee | ||
Comment 19•21 years ago
|
||
Assignee | ||
Comment 20•21 years ago
|
||
Assignee | ||
Comment 21•21 years ago
|
||
Assignee | ||
Comment 22•21 years ago
|
||
Assignee | ||
Comment 23•21 years ago
|
||
Assignee | ||
Comment 24•21 years ago
|
||
I created above patch.
Spec of the patch.
1. On getting focus, if the editor is password field, IME is closed.
2. On lost focus, if the editor has closed when getting focus, IME is reopened.
3. If IME is used on password field, the editor don't care for IME when lost focus.
4. These behavior can be killed by pref.js.
Note:
I cannot test to build on Linux and Mac and others.
So, attachment 153594 [details] [diff] [review] is not tested.
Assignee | ||
Updated•21 years ago
|
Attachment #153593 -
Flags: review?(ere)
Assignee | ||
Updated•21 years ago
|
Attachment #153591 -
Flags: review?(daniel)
Assignee | ||
Updated•21 years ago
|
Attachment #153592 -
Flags: review?(roc)
Assignee | ||
Updated•21 years ago
|
Attachment #153595 -
Flags: review?(alecf)
Assignee | ||
Comment 25•21 years ago
|
||
Who can test and review attachment 153594 [details] [diff] [review]?
Assignee | ||
Comment 26•21 years ago
|
||
Assignee | ||
Comment 27•21 years ago
|
||
Attachment #153594 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #153651 -
Flags: review?(amardare)
Assignee | ||
Comment 28•21 years ago
|
||
Assignee | ||
Comment 29•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #153653 -
Flags: review?(pinkerton)
Assignee | ||
Comment 30•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #153654 -
Flags: review?(pavlov)
Assignee | ||
Comment 31•21 years ago
|
||
Is mozilla/widget/src/cocoa not maintained?
Comment 32•21 years ago
|
||
it's maintained. camino uses it.
Assignee | ||
Updated•21 years ago
|
Attachment #153652 -
Flags: review?(pinkerton)
Assignee | ||
Comment 33•21 years ago
|
||
I hope that this bug is fixed early.
Because I want to fix the other IME bugs before 1.8 final.
The other IME bugs need to create alike patch of this bug's patch.
Please help me for fixing this bug.
Comment 34•21 years ago
|
||
Comment on attachment 153652 [details] [diff] [review]
Patch for Cocoa(not implemented)
these need an implementation, don't they? the mac version has a stub impl.
Attachment #153652 -
Flags: review?(pinkerton) → review-
Comment 35•21 years ago
|
||
Comment on attachment 153653 [details] [diff] [review]
Patch for Mac(not implemented)
r=pink, but who is going to implement these?
Attachment #153653 -
Flags: review?(pinkerton) → review+
Assignee | ||
Comment 36•21 years ago
|
||
Mike:
Thank you.
> these need an implementation, don't they? the mac version has a stub impl.
I think it.
The method implement in nsChildView.mm?
# nsCocoaWindow has IKBStateControl's method, but the interface is not inherited.
> but who is going to implement these?
It is most difficult issue.
But the necessary code is simple.
I recruit hackers who hack the code for non-Windows platforms in Bugzilla-jp.
Assignee | ||
Comment 37•21 years ago
|
||
Adding reviewers to CC.
Assignee | ||
Comment 38•21 years ago
|
||
Attachment #153652 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #153684 -
Flags: review?(pinkerton)
Comment 39•21 years ago
|
||
Comment on attachment 153684 [details] [diff] [review]
Patch for Cocoa(not implemented) rv. 2
r=pink
Attachment #153684 -
Flags: review?(pinkerton) → review+
Comment 40•21 years ago
|
||
Comment on attachment 153593 [details] [diff] [review]
Patch for Windows
> + bRtn = (BOOL)theIMM.GetOpenStatus(hIMC); \
bRtn is PRBool, right? I'd prefer
*bRtn = theIMM.GetOpenStatus(hIMC) ? PR_TRUE : PR_FALSE;
(note that I'd also move * to the define as it is in the others -- it looks
more like a proper function call)
Same with the setter when converting from PRBool to BOOL.
> + return (mGetOpenStatus) ? mGetOpenStatus(h) : 0L;
and
> + return (mSetOpenStatus) ? mSetOpenStatus(h,b) : 0L;
That should be |: FALSE;|
Attachment #153593 -
Flags: review?(ere) → review-
Assignee | ||
Comment 41•21 years ago
|
||
Ere:
Thank you for review.
> bRtn is PRBool, right? I'd prefer
> *bRtn = theIMM.GetOpenStatus(hIMC) ? PR_TRUE : PR_FALSE;
It is my mistake.
But I think that should |bRtn| be Bool?
And should converting Bool to PRBool is outer macro?
Assignee | ||
Comment 42•21 years ago
|
||
# Additional above comment.
i.e.,
if (hIMC) {
Bool isOpen;
NS_IMM_GETOPENSTATUS(hIMC, isOpen);
*aState = isOpen ? PR_TRUE : PR_FALSE;
NS_IMM_RELEASECONTEXT(mWnd, hIMC);
Assignee | ||
Comment 43•21 years ago
|
||
I think that NS_IMM_GETOPENSTATUS is simple wrapper of Win32API.
Therefore the |bRtn| is BOOL.
For nsIKBStateContrl, the value is converted outer macro.
Assignee | ||
Updated•21 years ago
|
Attachment #153593 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #153733 -
Flags: review?(ere)
Comment on attachment 153592 [details] [diff] [review]
patch for nsIKBStateControl
I think the comments need a bit more information. "Open or Close" is not quite
descriptive enough. Should SetImeOpenState *force* the IME to be enabled or
disabled? If so I think you should rename it "SetIMEEnabled".
Assignee | ||
Comment 45•21 years ago
|
||
Robert:
> I think the comments need a bit more information. "Open or Close" is not quite
> descriptive enough.
O.K. I rewrite comment.
> Should SetImeOpenState *force* the IME to be enabled or
> disabled? If so I think you should rename it "SetIMEEnabled".
No! These methods are changing Open or Close. not Enabled or Disabled.
On Mozilla's widget, IME is always Enabled.
I cannot rename it.
Because we may need the name for other bugs.
# If IME is Disabled in the window, open state is always 'closed'.
# And the state is not able to be changed.
By the way, what would be *really* cool is if (after checking in this patch)
nsIKBStateControl was extended to support "inputmode":
http://www.whatwg.org/specs/web-forms/2004-06-27-call-for-comments/#the-inputmode
Alright, then can you say in the comment exactly what "open" and "closed" means?
I assume it means something like "In the 'Closed' state, no user input is
visible on the screen".
Assignee | ||
Comment 48•21 years ago
|
||
# Sorry, my English is not enough...
| 'Opened' | 'Closed'
--------------------+---------------------------------+--------------------------
IME Eanbled Window | User can input any character. | User can input the ASCII
| i.e., Users can input Japanese | characters only. This
| character and others. | state same as non IME
| User can change to 'Closed'. | users environment.
| | User can change to
| | 'Opend'.
--------------------+---------------------------------+--------------------------
IME Disabled Window | N/A | Same as when 'Enabled'.
| | But user cannot change to
| | 'Opened'.
Okay, so put in the comment:
'Opened' means the user can input any character. I.e., users can input Japanese
and other characters. The user can change the state to 'Closed'.
'Closed' means the user can input ASCII characters only. This is the same as a
non-IME environment. The user can change the state to 'Opened'.
Assignee | ||
Comment 50•21 years ago
|
||
Thank you for you wrote the comment.
Assignee | ||
Updated•21 years ago
|
Attachment #153592 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #153904 -
Flags: review?(roc)
Assignee | ||
Updated•21 years ago
|
Attachment #153592 -
Flags: review?(roc) → review-
Attachment #153904 -
Flags: superreview+
Attachment #153904 -
Flags: review?(roc)
Attachment #153904 -
Flags: review+
Assignee | ||
Comment 51•21 years ago
|
||
Thank you! Robert.
Daniel, Alec, Adrian, Stuart, Ere:
Please review other patchs.
Attachment #153651 -
Flags: review?(amardare) → review+
Assignee | ||
Comment 52•21 years ago
|
||
Adrian:
Thank you for the review.
Comment 53•21 years ago
|
||
Comment on attachment 153733 [details] [diff] [review]
Patch for Windows rv. 1.1
> + NS_IMM_SETOPENSTATUS(hIMC, aState);
You should have a conversion to BOOL here. Otherwise it looks ok. I'll withdraw
my previous notes about the parameter style as it's consistent now.
Attachment #153733 -
Flags: review?(ere) → review-
Assignee | ||
Comment 54•21 years ago
|
||
Attachment #153733 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #153929 -
Flags: review?(ere)
Comment 55•21 years ago
|
||
Comment on attachment 153929 [details] [diff] [review]
Patch for Windows rv. 1.2
Sorry, I should've been more precise. I'd like to have it read
+ NS_IMM_SETOPENSTATUS(hIMC, aState ? TRUE : FALSE);
This is to avoid possible problems in different types. To be frank, it wouldn't
matter in this case, but it's a good practise (it would be a real problem for
example when converting to VARIANT_BOOL where VARIANT_TRUE is 0xFFFF).
Attachment #153929 -
Flags: review?(ere) → review-
Assignee | ||
Comment 56•21 years ago
|
||
Attachment #153929 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #153962 -
Flags: review?(ere)
Assignee | ||
Comment 57•21 years ago
|
||
Simon:
Do you can review 'Patch for nsEditor'?
I sent mail to Daniel, But no reply...
Assignee | ||
Comment 58•21 years ago
|
||
Comment on attachment 153654 [details] [diff] [review]
Patch for gtk(not implemented)
I change reviewer to Blizzard.
Blizzard:
Please review the patch.
Attachment #153654 -
Flags: review?(pavlov) → review?(blizzard)
Updated•21 years ago
|
Attachment #153654 -
Flags: review?(blizzard) → review+
Assignee | ||
Comment 59•21 years ago
|
||
Comment on attachment 153591 [details] [diff] [review]
Patch for nsEditor
I change reviwer to Simon.
Blizzard:
Thank you for the review.
Attachment #153591 -
Flags: review?(daniel) → review?(sfraser)
Comment 60•21 years ago
|
||
Comment on attachment 153591 [details] [diff] [review]
Patch for nsEditor
>Index: idl/nsIEditorIMESupport.idl
>===================================================================
>+
>+ /**
>+ * Care for IME when the editor got focus.
>+ */
>+
>+ [noscript] void CareForImeOnFocus();
>+
>+ /**
>+ * Care for IME when the editor lost focus.
>+ */
>+
>+ [noscript] void CareForImeOnBlur();
>+
These methods need better names. I'm not sure what the "CareFor"
implies.
Perhaps "NotifyImeOnBlur()" or "OnImeOnBlue()" ?
>Index: libeditor/base/nsEditor.cpp
>===================================================================
>+ // If IME state changeing on the field,
"changing"
I think this comment needs a little more detail; it's not obvious
to me why this flag is required.
>+ // don't recover the IME open state.
>+ if (mNeedRecoverIMEOpenState)
>+ mNeedRecoverIMEOpenState = PR_FALSE;
>+
> return ret;
> }
> NS_IMETHODIMP
>+nsEditor::CareForImeOnFocus()
>+{
>+ mNeedRecoverIMEOpenState = PR_FALSE;
>+
>+ nsresult result;
>+ PRBool dontCareForIme;
>+ nsCOMPtr<nsIPrefBranch> prefBranch =
>+ do_GetService(NS_PREFSERVICE_CONTRACTID, &result);
>+ if (NS_SUCCEEDED(result) && prefBranch) {
>+ result = prefBranch->GetBoolPref("ime.password.onFocus.dontCare", &dontCareForIme);
>+ if (NS_FAILED(result))
>+ return result;
>+ }
Do we really have to fetch a service and read a pref every time we unfocus a
text field?
I think it would be much better to get the pref once and cache it.
>+NS_IMETHODIMP
>+nsEditor::CareForImeOnBlur()
Most of this method looke the same as the previous method. Can you factor the
code into one shared private method?
>Index: libeditor/base/nsEditor.h
> /* ------------ nsIEditorIMESupport methods -------------- */
>
> NS_IMETHOD BeginComposition(nsTextEventReply* aReply);
> NS_IMETHOD QueryComposition(nsTextEventReply* aReply);
> NS_IMETHOD SetCompositionString(const nsAString& aCompositionString, nsIPrivateTextRangeList* aTextRangeList,nsTextEventReply* aReply);
> NS_IMETHOD EndComposition(void);
> NS_IMETHOD ForceCompositionEnd(void);
> NS_IMETHOD GetReconversionString(nsReconversionEventReply *aReply);
>+ NS_IMETHOD CareForImeOnFocus();
>+ NS_IMETHOD CareForImeOnBlur();
Can we replace this block with the IDL-generated macro
NS_DECL_NSIEDITORIMESUPPORT?
> // data necessary to build IME transactions
> PRBool mInIMEMode; // are we inside an IME composition?
> nsIPrivateTextRangeList* mIMETextRangeList; // IME special selection ranges
> nsCOMPtr<nsIDOMCharacterData> mIMETextNode; // current IME text node
> PRUint32 mIMETextOffset; // offset in text node where IME comp string begins
> PRUint32 mIMEBufferLength; // current length of IME comp string
> PRBool mIsIMEComposing; // is IME in composition state?
> // This is different from mInIMEMode. see Bug 98434.
>+ PRBool mNeedRecoverIMEOpenState; // Need IME open state
Please use PRPackedBool for mIsIMEComposing and mNeedRecoverIMEOpenState to
save 2 bytes.
Attachment #153591 -
Flags: review?(sfraser) → review-
Assignee | ||
Comment 61•21 years ago
|
||
Comment on attachment 153595 [details] [diff] [review]
Patch for all.js
Simon:
Thank you for the review.
I have a problem.
Alec Flett said "Please find another reviewer".
But nobody are modules/libpref's owner.
Who can review it?
Attachment #153595 -
Flags: review?(alecf) → review?
Updated•21 years ago
|
Attachment #153962 -
Flags: review?(ere) → review+
Assignee | ||
Comment 62•21 years ago
|
||
Comment on attachment 153595 [details] [diff] [review]
Patch for all.js
Simon:
Please review this patch.
Nobady is the module owner, I think the alternate reviwer should be the owner
of module that useing new pref item.
Attachment #153595 -
Flags: review? → review?(sfraser)
Attachment #153595 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #153595 -
Flags: review?(sfraser) → review?(dveditz)
Assignee | ||
Comment 63•21 years ago
|
||
Attachment #153591 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #154075 -
Flags: review?(sfraser)
Assignee | ||
Comment 64•21 years ago
|
||
Who can superreview for other patch? Blizzard? (intl and widget)
Assignee | ||
Updated•21 years ago
|
Attachment #153651 -
Flags: superreview?(blizzard)
Assignee | ||
Updated•21 years ago
|
Attachment #153653 -
Flags: superreview?(blizzard)
Assignee | ||
Updated•21 years ago
|
Attachment #153654 -
Flags: superreview?(blizzard)
Assignee | ||
Updated•21 years ago
|
Attachment #153684 -
Flags: superreview?(blizzard)
Assignee | ||
Updated•21 years ago
|
Attachment #153962 -
Flags: superreview?(blizzard)
Assignee | ||
Comment 65•21 years ago
|
||
Blizzard:
Please super review the patch of widget.
dveditz:
Please review the patch for 'all.js'.
I'm adding to the generic name.
The reason is 'editor' and 'intl' is not suitable.
The IME bugs have three faces.
1. IME's bug is internationalization bug.
2. IME is very important UI for CJK.
3. IME's bugs are very important for accessibility.
I will fix some IME's bug after fixed this bug.
In the case, I will add many prefs for IME accessibility.
# These prefs may be very important for IME users.
Therefore I think that the prefs should be grouped by "ime".
Those prefs should not be grouped by "intl" or "editor".
I'm adding two prefs for this bug.
1. "ime.password.onFocus.dontCare"
This is "care for IME" is enabled or disabled when the password field
got focus.
2. "ime.password.onBlur.dontCare"
Same to above. But when the password field lost focus.
Comment 66•21 years ago
|
||
Comment on attachment 154075 [details] [diff] [review]
Patch for nsEditor rv. 2
>Index: libeditor/base/nsEditor.cpp
>===================================================================
>+ nsresult result;
>+ nsCOMPtr<nsIPrefBranchInternal> prefBranch =
>+ do_GetService(NS_PREFSERVICE_CONTRACTID, &result);
>+ if (NS_SUCCEEDED(result) && prefBranch) {
>+ prefBranch->AddObserver(NS_PREF_IME_ON_FOCUS_PASSWORD, this, PR_FALSE);
>+ prefBranch->AddObserver(NS_PREF_IME_ON_BLUR_PASSWORD, this, PR_FALSE);
>+ }
Are pref listeners really required? When are these prefs going to change at
runtime?
Assignee | ||
Comment 67•21 years ago
|
||
(In reply to comment #66)
> Are pref listeners really required? When are these prefs going to change at
> runtime?
Why?
If these listners is none, it cannot be changed directry from "about:config".
Assignee | ||
Comment 68•21 years ago
|
||
dveditz:
See comment 65 before review.
Comment 69•21 years ago
|
||
> it cannot be changed directry from "about:config".
I'm not convinced that this justifies the code bloat. If you make a new browser
window, the new settings will apply there. If you quit and restart, the new
settings will apply.
Assignee | ||
Comment 70•21 years ago
|
||
O.K.
Please wait.
Assignee | ||
Updated•21 years ago
|
Attachment #154075 -
Flags: review?(sfraser) → review-
Assignee | ||
Comment 71•21 years ago
|
||
The prefs cache move to global variable.
Because when the pref is changed and new editor is created,
the changing is influence to old editors.
Attachment #154075 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #154130 -
Flags: review?(sfraser)
Comment 72•21 years ago
|
||
Comment on attachment 154130 [details] [diff] [review]
Patch for nsEditor rv. 3
Random comment: no point packing globals, as you're only saving bytes once.
Comment 73•21 years ago
|
||
Comment on attachment 153595 [details] [diff] [review]
Patch for all.js
sr=me once the pref names are finalized ;-)
Attachment #153595 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #153595 -
Flags: superreview+
Assignee | ||
Comment 74•21 years ago
|
||
Thank you neil.
PRPackedBool -> PRBool in global variables.
Attachment #154130 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #154167 -
Flags: review?(sfraser)
Assignee | ||
Updated•21 years ago
|
Attachment #154130 -
Flags: review?(sfraser) → review-
Assignee | ||
Updated•21 years ago
|
Flags: blocking-aviary1.0RC1?
Assignee | ||
Comment 75•21 years ago
|
||
I rewrote |ForceCompositionEnd| with |GetKBStateControl|.
Attachment #154167 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #154175 -
Flags: review?(sfraser)
Assignee | ||
Updated•21 years ago
|
Attachment #154167 -
Flags: review?(sfraser)
Comment 76•21 years ago
|
||
Comment on attachment 154175 [details] [diff] [review]
Patch for nsEditor rv. 3.2
Final question: would anyone ever want different values for the two prefs?
r=sfraser
Attachment #154175 -
Flags: review?(sfraser) → review+
Assignee | ||
Comment 77•21 years ago
|
||
I don't know.
But our(bugizlla-jp) opinion are separated, which behavior is good.
OnFoucus = false, OnBlur = false
IE, Nestcape4.x compatible(it is not correctly, these UA are "disabled" in the
password field.)
OnFocus = true, OnBlur = false
Opera compatible
OnFocus = true, OnBlur = true
Current Mozilla compatible.
Assignee | ||
Updated•21 years ago
|
Attachment #154175 -
Flags: superreview?(kinmoz)
Assignee | ||
Comment 78•21 years ago
|
||
timeless:
I sent the mail to dveditz@cruzio.com.
But no reply.
Can you contact to dveditz@cruzio.com? or Do you know another reviewer?
Assignee | ||
Comment 79•21 years ago
|
||
Comment on attachment 154175 [details] [diff] [review]
Patch for nsEditor rv. 3.2
I change superreviewer to Simon.
Simon:
Please super-review.
Attachment #154175 -
Flags: superreview?(kinmoz) → superreview?(sfraser)
Assignee | ||
Comment 80•21 years ago
|
||
Daniel Veditz, Christopher Blizzard, Simon Fraser:
Please review or superreview.
Comment 81•21 years ago
|
||
Comment on attachment 153595 [details] [diff] [review]
Patch for all.js
Don't see why these couldn't be intl.ime.foo to help battle the
overproliferation of toplevel pref branches, but OK. r=dveditz
Attachment #153595 -
Flags: review?(dveditz) → review+
Updated•21 years ago
|
Attachment #154175 -
Flags: superreview?(sfraser) → superreview?(dveditz)
Updated•20 years ago
|
Flags: blocking-aviary1.0PR? → blocking-aviary1.0PR-
Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•20 years ago
|
Attachment #153651 -
Flags: superreview?(blizzard) → superreview?(bryner)
Assignee | ||
Updated•20 years ago
|
Attachment #153653 -
Flags: superreview?(blizzard) → superreview?(bryner)
Assignee | ||
Updated•20 years ago
|
Attachment #153654 -
Flags: superreview?(blizzard) → superreview?(bryner)
Assignee | ||
Updated•20 years ago
|
Attachment #153684 -
Flags: superreview?(blizzard) → superreview?(bryner)
Assignee | ||
Updated•20 years ago
|
Attachment #153962 -
Flags: superreview?(blizzard) → superreview?(bryner)
Assignee | ||
Comment 82•20 years ago
|
||
I changed superreviewer.
-> bryner@brianryner.com
Comment 83•20 years ago
|
||
Comment on attachment 153962 [details] [diff] [review]
Patch for Windows rv. 1.3
>--- nsWindow.cpp 18 Jul 2004 17:36:03 -0000 3.508
>+++ nsWindow.cpp 22 Jul 2004 04:17:29 -0000
>+//==========================================================================
>+NS_IMETHODIMP nsWindow::SetImeOpenState(PRBool aState)
Capitalize IME to be consistent with other methods on this class.
>--- nsWindow.h 25 May 2004 14:33:50 -0000 3.177
>+++ nsWindow.h 22 Jul 2004 04:17:30 -0000
>@@ -162,16 +165,22 @@ public:
> mSetCompositionWindow=(mInstance) ? (SetCompWindowPtr)GetProcAddress(mInstance,"ImmSetCompositionWindow") : 0;
> NS_ASSERTION(mSetCompositionWindow!=NULL,"nsIMM.ImmSetCompositionWindow failed.");
>
> mGetProperty=(mInstance) ? (GetPropertyPtr)GetProcAddress(mInstance,"ImmGetProperty") : 0;
> NS_ASSERTION(mGetProperty!=NULL,"nsIMM.ImmGetProperty failed.");
>
> mGetDefaultIMEWnd=(mInstance) ? (GetDefaultIMEWndPtr)GetProcAddress(mInstance,"ImmGetDefaultIMEWnd") : 0;
> NS_ASSERTION(mGetDefaultIMEWnd!=NULL,"nsIMM.ImmGetDefaultIMEWnd failed.");
>+
>+ mGetOpenStatus=(mInstance) ? (GetOpenStatusPtr)GetProcAddress(mInstance,"ImmGetOpenStatus") : 0;
>+ NS_ASSERTION(mGetOpenStatus!=NULL,"nsIMM.ImmGetOpenStatus failed.");
>+
>+ mSetOpenStatus=(mInstance) ? (SetOpenStatusPtr)GetProcAddress(mInstance,"ImmSetOpenStatus") : 0;
>+ NS_ASSERTION(mSetOpenStatus!=NULL,"nsIMM.ImmSetOpenStatus failed.");
Try to be consistent with indentation.
sr=bryner with those fixed.
Attachment #153962 -
Flags: superreview?(bryner) → superreview+
Updated•20 years ago
|
Attachment #153651 -
Flags: superreview?(bryner) → superreview+
Updated•20 years ago
|
Attachment #153653 -
Flags: superreview?(bryner) → superreview+
Updated•20 years ago
|
Attachment #153654 -
Flags: superreview?(bryner) → superreview+
Updated•20 years ago
|
Attachment #153684 -
Flags: superreview?(bryner) → superreview+
Assignee | ||
Comment 84•20 years ago
|
||
Brian:
Thank you for superreview!
> Try to be consistent with indentation.
It is fixed by bug 253035.
Assignee | ||
Comment 85•20 years ago
|
||
Robert O'Callahan:
Brian wrote:
>>--- nsWindow.cpp 18 Jul 2004 17:36:03 -0000 3.508
>>+++ nsWindow.cpp 22 Jul 2004 04:17:29 -0000
>>+//==========================================================================
>>+NS_IMETHODIMP nsWindow::SetImeOpenState(PRBool aState)
>
> Capitalize IME to be consistent with other methods on this class.
This method is inherited from nsIKBStateControl.
Do you allow to capitalize?
Assignee | ||
Comment 86•20 years ago
|
||
Simon and Daniel:
Should I rename the name of new functions on nsEditor too?
e.x.,
NotifyImeOnFocus -> NotifyIMEOnFocus
Comment 87•20 years ago
|
||
Comment on attachment 154175 [details] [diff] [review]
Patch for nsEditor rv. 3.2
>Index: idl/nsIEditorIMESupport.idl
>===================================================================
>+ [noscript] void NotifyImeOnFocus();
>+ [noscript] void NotifyImeOnBlur();
Please use all caps on "IME" here.
Since you're changing an interface you ought to modify the uuid as well.
>Index: libeditor/base/nsEditor.cpp
>===================================================================
>+// Value of "ime.password.onFocus.dontCare"
>+static PRBool gDontCareForImeOnFocusPassword = PR_FALSE;
>+// Value of "ime.password.onBlur.dontCare"
>+static PRBool gDontCareForImeOnBlurPassword = PR_FALSE;
Capitalize IME here, too (the variables, not the pref names).
With those changes sr=dveditz
Attachment #154175 -
Flags: superreview?(dveditz) → superreview+
Assignee | ||
Comment 88•20 years ago
|
||
Assignee | ||
Updated•20 years ago
|
Attachment #158314 -
Attachment is obsolete: true
Assignee | ||
Comment 89•20 years ago
|
||
Assignee | ||
Comment 90•20 years ago
|
||
Assignee | ||
Comment 91•20 years ago
|
||
Assignee | ||
Updated•20 years ago
|
Attachment #158315 -
Flags: superreview+
Attachment #158315 -
Flags: review+
Assignee | ||
Updated•20 years ago
|
Attachment #158316 -
Flags: superreview+
Attachment #158316 -
Flags: review+
Assignee | ||
Updated•20 years ago
|
Attachment #158317 -
Flags: superreview+
Attachment #158317 -
Flags: review+
Assignee | ||
Comment 92•20 years ago
|
||
Comment on attachment 158317 [details] [diff] [review]
Patch of modules/libpref/src/init/ for check in
Daniel:
Please check in.
Attachment #158317 -
Attachment description: Patch of modules/libpref/src/init → Patch of modules/libpref/src/init/ for check in
Assignee | ||
Comment 93•20 years ago
|
||
Attachment #158316 -
Attachment is obsolete: true
Assignee | ||
Updated•20 years ago
|
Attachment #158338 -
Flags: superreview+
Attachment #158338 -
Flags: review+
Assignee | ||
Updated•20 years ago
|
Attachment #158316 -
Flags: superreview+
Attachment #158316 -
Flags: review+
Assignee | ||
Comment 94•20 years ago
|
||
Who can check in?
Comment 95•20 years ago
|
||
Patches checked in. Masayuki-san, can you please double check that the checkin
included everything necessary?
Assignee | ||
Comment 96•20 years ago
|
||
> Masayuki-san, can you please double check that the checkin
> included everything necessary?
Sorry. I cannot understand. What's "double check"?
(In reply to comment #96)
> Sorry. I cannot understand. What's "double check"?
Can you verify that the checkin is not missing something?
Comment 98•20 years ago
|
||
backed out because of build bustage.
Assignee | ||
Comment 99•20 years ago
|
||
Umm..
I don't have Linx, Mac, and others.
That should be corrected, how...
Assignee | ||
Comment 100•20 years ago
|
||
I think this patch can be build on Linux(gtk), but no Mac.
Who can test it?
Assignee | ||
Updated•20 years ago
|
Attachment #158315 -
Attachment is obsolete: true
Assignee | ||
Comment 101•20 years ago
|
||
O.K.
On Linux, I mistaked the implmentation class.
I changed to implement nsWindow -> nsWidget.
On Mac and Photon, I forgot class name.
I changed 'NS_IMETHODIMP GetIMEOpenState'
-> 'NS_IMETHODIMP nsWidget::GetIMEOpenState'.
Please help the build test or re-check in.
Attachment #158520 -
Attachment is obsolete: true
Comment 102•20 years ago
|
||
With attachment 158521 [details] [diff] [review] and attacahement 158338, my Linux build went through, but
with attachment 158521 [details] [diff] [review] and attachment 158338 [details] [diff] [review], my Mac build failed.
/Users/jungshik/prj/moz/src/mozilla/editor/libeditor/base/nsEditor.cpp: In
member function `virtual nsresult nsEditor::NotifyImeOnFocus()':
/Users/jungshik/prj/moz/src/mozilla/editor/libeditor/base/nsEditor.cpp:2118: err
or: `
GetImeOpenState' undeclared (first use this function)
/Users/jungshik/prj/moz/src/mozilla/editor/libeditor/base/nsEditor.cpp:2118: err
or: (Each
undeclared identifier is reported only once for each function it appears
in.)
/Users/jungshik/prj/moz/src/mozilla/editor/libeditor/base/nsEditor.cpp:2123: err
or: `
SetImeOpenState' undeclared (first use this function)
/Users/jungshik/prj/moz/src/mozilla/editor/libeditor/base/nsEditor.cpp: In
member function `virtual nsresult nsEditor::NotifyImeOnBlur()':
/Users/jungshik/prj/moz/src/mozilla/editor/libeditor/base/nsEditor.cpp:2151: err
or: `
SetImeOpenState' undeclared (first use this function)
Assignee | ||
Comment 103•20 years ago
|
||
Jungshik Shin:
Thank you for the test.
But, on Mac, Do you mistake the patches?
In attachment 158338 [details] [diff] [review], 'Ime' is not existing, but 'IME' is existing.
Assignee | ||
Comment 104•20 years ago
|
||
Oops...
Jungshik Shin:
Do you build Linux with gtk? or gtk2?
The patch is for gtk, not gtk2.
Comment 105•20 years ago
|
||
Can you tell me exactly which set of patches to apply on Mac and Linux,
respectively? It's rather confusing.
My Linux build is gtk2, but it just went through fine. Should I test it with gtk
as well?
Assignee | ||
Comment 106•20 years ago
|
||
The set of attachment 158317 [details] [diff] [review], attachment 158338 [details] [diff] [review], attachment 158521 [details] [diff] [review] is correctly.
But, these patch don't have 'Ime' for name of method.
However your error message has 'Ime'.
'Ime' is deprecated. 'IME' is, now.
> Should I test it with gtk as well?
Would you please test this for me.
Assignee | ||
Comment 107•20 years ago
|
||
In bugzilla-jp, Mac build went through fine.
Thank you.
Comment 108•20 years ago
|
||
I've just built a Mac build as well. (I must have mixed up patches in my first
try as you wrote). So Mac part is all right. I really can't make a gtk build at
the moment. I'll see if I can do it on another machine.
Comment 109•20 years ago
|
||
Linux-gtk is all right, too. attachment 158317 [details] [diff] [review], attachment 158338 [details] [diff] [review], attachment
158521 [details] [diff] [review] were checked in.
Assignee | ||
Comment 110•20 years ago
|
||
Thank you Jungshik Shin and all reviewers and superreviewers.
I close this bug.
Because this bug was fixed on XP source code.
On non-Windows, this bug is the problem of to implement of nsIKBStateControl.
So, this bug should be separated to each OS bugs.
-> FIXED
thank you.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 111•20 years ago
|
||
Perhaps, it's too late (and possibly risky) to add this to aviary-1.0, but I
just wonder what others think about that. This bug has been reported multiple
times at www.mozilla.or.kr
Comment 112•20 years ago
|
||
to comment 111
It is probably much pointed on Netscape7 with Ja IME as well. and definitely
annoying thing for every input method users. It should be FIXED on aviary-1.0 if
possible so I mark flags as "?".
Can anyone clarify it is possible of too risky?
# should I reopen this for aviary-1.0?
Flags: blocking-aviary1.0mac?
Flags: blocking-aviary1.0?
Assignee | ||
Comment 113•20 years ago
|
||
This bug was fixed on Windows only.
Nobody made the patch for new IME API for Mac.
Flags: blocking-aviary1.0mac? → blocking-aviary1.0mac-
Comment 114•20 years ago
|
||
If the patch author would like to request that this be landed for aviary, he can
request approval in the patch manager.
Flags: blocking-aviary1.0? → blocking-aviary1.0-
Assignee | ||
Comment 115•20 years ago
|
||
*** Bug 68382 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•