Closed Bug 59924 Opened 24 years ago Closed 24 years ago

Win IME for Japanese: the candidate window is incorrectly positioned covering the current line

Categories

(Core :: DOM: Editor, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED
mozilla0.9

People

(Reporter: momoi, Assigned: shanjian)

Details

(Keywords: inputmethod, intl)

Attachments

(2 files)

** Observed with 11/8/2000 Win32 MN build **
** This a left over problem from Bug

This bug has been filed to correct a remaining problem in
the positioning of Windows Japanese IME candidate window
relative to the current line of editing.

This problem does not occur if the IME candidate window is
placed below the current line.

On a composer window, if you are editing a line which is
placed at least 2/3 down from the 1st line, then the candidate
window is placed above the current line of editing, this is when
it covers the current line. This seems to be a left-over problem
from Bug 53072.
CC'ing a bunch of people in that bug.

shanjian, is this your bug?
Summary: Win IME for Japanese: the candidate is incorrectly positioned covering the current line → Win IME for Japanese: the candidate window is incorrectly positioned covering the current line
The problem is different from bug 53072, and the same problem exist in 4.x.
The cursor position we find is correct, but it seems that we have to adjust
this position when pass it to win IME. Currently we just add cursor height. 
It seems we have to check current screen position before we do this or not. 
I assumed it is windows' responsibility. Need to investigate more.
Changed QA contact to teruko@netscape.com.
QA Contact: sujay → teruko
Keywords: intl
Add kato san to cc list.

Kato-san, Can you help?
Changed QA contact to ylong@netscape.com.
QA Contact: teruko → ylong
Attached patch proposed fixSplinter Review
Status: NEW → ASSIGNED
I like it shanjian. Instead of specifying the position of the upper left 
corner of candidate window (by useing CFS_CANDIDATEPOS), we now use
CFS_EXCLUDE for not to cover the composition window area.

One question: any reason why 
candForm.rcArea.right = candForm.rcArea.left = candForm.ptCurrentPos.x?

Please answer above question and /r=yokoyama on the patch.
The candidate form windows appears either up or down relate to cursor, so there is really
no reason to caculate the width of cursor.
erik, this is another one need your sr=.
sr=erik
set milestone
Target Milestone: --- → mozilla0.9
checked in  the fix.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Kat/Shanjian, please verify this bug and mark VERIFIED-FIXED..thanks!
ylong should be able to verify this bug.
ylong, please verify....thanks!
Fixed verified on 03-22 Mtrunk build.  Sorry for late but since the fix was 
checked in yesterday, I couldn't verify it on any build before today :)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: