Closed
Bug 24464
Opened 26 years ago
Closed 25 years ago
IME-Japanese chars will be displayed the wrong place
Categories
(Core :: Internationalization, defect, P3)
Tracking
()
VERIFIED
FIXED
M14
People
(Reporter: teruko, Assigned: ftang)
References
()
Details
(Keywords: inputmethod, Whiteboard: [PDT+]by 2/15. testing mozilla patch)
Attachments
(1 file)
3.51 KB,
text/html
|
Details |
After you type Japanese characters in the text field and delete the characters,
Japanese characters you type again will start showing up at the point the
previous Japanese characters are deleted.
Steps of reproduce
1. Go to the above URL
2. Turn on IME (Kinput2) in linux
3. In Name field after Customer ID field, type 3 Japanese characters
4. Use Backspace key (hit backspace key 3 times) to delete these 3 Japanese
characters
5. Type Japanese characters again
Notice that the uncommitted Japanese characters will be displayed the place
the previous Japanese characters were deleted. After you commit the characters,
the Japanese characters are displayed at the beginning of the text field.
Tested 2000011908 Linux build.
5.
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M14
Updated•26 years ago
|
Whiteboard: [PDT-]
Updated•26 years ago
|
Whiteboard: [PDT-] → [PDT+]
Assignee | ||
Comment 2•25 years ago
|
||
I believe this is still a XIC focus issue.
Whiteboard: [PDT+] → [PDT+]by 2/15
Comment 3•25 years ago
|
||
During we (I and Toshi) were working on new XIM codes (on-the-spot style),
we found a problem that timer for updating spot location is stopped when
mCursorPosition.x = mCursorPosition.y = 0.
This happens when the cursor is located at beginning of text field.
Once the cursor is moved to the beginning of text field, the timer for
the text field will be stopped, and will not be started until next focus-in.
*** nsWidget.cpp.new Mon Feb 14 13:39:11 2000
--- nsWidget.cpp Thu Feb 3 14:51:10 2000
***************
*** 122,129 ****
compEvent.theReply.mCursorPosition.y=-1;
DispatchEvent(&compEvent, status);
// set SpotLocation
! if((compEvent.theReply.mCursorPosition.x < 0) &&
! (compEvent.theReply.mCursorPosition.y < 0))
return NS_ERROR_FAILURE;
if((compEvent.theReply.mCursorPosition.x != oldx)||
(compEvent.theReply.mCursorPosition.y != oldy))
--- 122,129 ----
compEvent.theReply.mCursorPosition.y=-1;
DispatchEvent(&compEvent, status);
// set SpotLocation
! if((compEvent.theReply.mCursorPosition.x <= 0) &&
! (compEvent.theReply.mCursorPosition.y <= 0))
return NS_ERROR_FAILURE;
if((compEvent.theReply.mCursorPosition.x != oldx)||
(compEvent.theReply.mCursorPosition.y != oldy))
I was not able to access the URL in bug report, so I could not verify
our fix on the URL. But I believe our changes will fix this problem.
Reporter | ||
Comment 4•25 years ago
|
||
Comment 5•25 years ago
|
||
I tested the attachedment 5238 with the cvs build. Without
Katakai's fix above, I could reproduce the problem on any
text field there, but with the fix compiled in, then the
problem doesn't occur.
Assignee | ||
Comment 6•25 years ago
|
||
fix and check in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 7•25 years ago
|
||
Timing issue is filed in bug 28029. I verified this in 2000021608 Linux build.
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Keywords: inputmethod
You need to log in
before you can comment on or make changes to this bug.
Description
•