Closed Bug 129769 Opened 22 years ago Closed 22 years ago

[SCH Intelligent IME] The candidate window will cover the current input line when start type a new line

Categories

(Core :: Internationalization, defect, P2)

x86
Windows XP
defect

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: amyy, Assigned: ftang)

References

Details

(Keywords: inputmethod, intl)

Attachments

(1 file)

Build: 03-08 mozilla trunk build

We fixed very similar problems with other SimpChinese IMEs in bug 90583, this
one is just for Intelligent("ZhiNeng") ABC.
Currently cause we have a crash bug 125573, you can not see the problem on
Netscape commercial build, you have to use mozilla build to reproduce it.
 
Steps:
1. Launch browser, and open Composer.
2. Enable SimpChinese IME, and switch to Intelligent(ZhiNeng) ABC.
3. Start typing.

Result:
You will find the candidate window always in left top of Composer window, and
when your input position in that part, the candidate window will cover the
current input line.
-> nsbeta1, it's bad when using this SimpChinese IME.
Severity: normal → major
Keywords: intl, nsbeta1
nsbeta1+ show stopper for simp chinese market
Assignee: yokoyama → ftang
Keywords: nsbeta1nsbeta1+
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
P2
Priority: -- → P2
ok, now we know what happen. there are a preference for this ime. 
If you right mouse click on the status bar of that ime, it show you a list of
menu, the last item is preference setting . select it will bring up a preference
box, in the left part, it let user choose "style" the default is "follow the
caret" and the other one is "fix", if user select "fix" then the candidate
window will always show on the botton of the screen. The default setting will
let the candidate window following the "caret". since mozilla do not use the
window caret, we never call the SetCaretPos call. 

to fix this, we should check if we are using this ime, when we set the candidat
window position, create a caret and call SetCaretPos to tell the IME the new
position.

nasty.
roy- could you r= this one ?
Comment on attachment 75279 [details] [diff] [review]
hacky patch to solve the problem because mozilla do not call SetCaretPos but the IME listen to it.

/r=yokoyama
Attachment #75279 - Flags: review+
Blocks: 104148
Comment on attachment 75279 [details] [diff] [review]
hacky patch to solve the problem because mozilla do not call SetCaretPos but the IME listen to it.

sr=kin@netscape.com

Just put a return after this line:

+#define ZH_CN_INTELLEGENT_ABC_IME ((HKL)0xe0040804L)
Attachment #75279 - Flags: superreview+
Blocks: 104060
No longer blocks: 104148
Comment on attachment 75279 [details] [diff] [review]
hacky patch to solve the problem because mozilla do not call SetCaretPos but the IME listen to it.

a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #75279 - Flags: approval+
fixed and check in 
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Verified fixed on 03-25 trunk build on WinXP-SimpChinese.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: