Closed
Bug 107494
Opened 23 years ago
Closed 23 years ago
IME's committed string is entered twice due to new nsHTMLEditRules
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
VERIFIED
FIXED
mozilla0.9.6
People
(Reporter: masaki.katakai, Assigned: mozeditor)
References
Details
(Keywords: inputmethod, Whiteboard: fixinhand; regression; landed on 096 branch and trunk)
Attachments
(2 files)
848 bytes,
patch
|
Details | Diff | Splinter Review | |
1.02 KB,
patch
|
sfraser_bugs
:
review+
kinmoz
:
superreview+
blizzard
:
approval+
|
Details | Diff | Splinter Review |
bug 25452 is now reproducible again with new Editor codes. The first composed character can not be deleted on both Windows and Linux. Also committed string is entered twice on Linux. nsHTMLEditRules::WillInsertText() has been changed and now uses res = wsObj.InsertText(*inString,...); but the method just returns when inString = null but it should handle the case for IME to delete composed text. See detail bug 25452. I have made a patch for nsWSRunObject.cpp. Please review. It's serious for IME users.
Reporter | ||
Comment 1•23 years ago
|
||
--> jfrancis Joe, can you look over katakai's patch?
Assignee: kin → jfrancis
Assignee | ||
Comment 3•23 years ago
|
||
I believe I want to put the test up in nsHTMLEditRules::WillInsertText() rather than down in the whitespace handling code. Thanks to Masaki for investigating this!
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.6
Reporter | ||
Comment 4•23 years ago
|
||
Due to this problem, mail composer can not be used at all in japanese environment on recent nightly. I heard many complaints of japanese users.
Assignee | ||
Comment 5•23 years ago
|
||
New version of patch that puts empty string test up in WillInsertText() rather than down in the whitespacehandling code.
Assignee | ||
Updated•23 years ago
|
Whiteboard: fixinhand; regression; need r=,sr=,a=
Comment 6•23 years ago
|
||
Comment on attachment 57648 [details] [diff] [review] patch to nsHTMLEditRules.cpp r=sfraser
Attachment #57648 -
Flags: review+
Comment on attachment 57648 [details] [diff] [review] patch to nsHTMLEditRules.cpp sr=kin@netscape.com With the comment we talked about explaining why we need to sidestep the wsObj code.
Attachment #57648 -
Flags: superreview+
Comment 8•23 years ago
|
||
Comment on attachment 57648 [details] [diff] [review] patch to nsHTMLEditRules.cpp a=blizzard on behalf of drivers for 0.9.6
Attachment #57648 -
Flags: approval+
Updated•23 years ago
|
Keywords: mozilla0.9.6+
Assignee | ||
Comment 9•23 years ago
|
||
This fix has landed on the 096 branch and trunk. I need some verification help here. I was able to test the fix for the deletion portion of the bug description, but I was unable to test the linux issue, nor am I confident this patch fixes the linux problem. Can someone with a Linux IME setup please verify this fix?
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: fixinhand; regression; need r=,sr=,a= → fixinhand; regression; landed on 096 branch and trunk
Reporter | ||
Comment 10•23 years ago
|
||
I have already verified your patch on Solaris environment on my local build. It works fine. OK, I'll try nightly build tomorrow on linux.
Comment 11•23 years ago
|
||
Masaki, please let us know after you verified this on Linux. Then if you can mark this bug VERIFIED-FIXED...thanks..
Reporter | ||
Comment 12•23 years ago
|
||
I've verified today's linux nightly it works fine. However, Windows (111403) IME doesn't work at all. I can not see any composed text. I'm not sure this change cause this problem but 1113 nightly works fine. How about your environment?
Reporter | ||
Comment 13•23 years ago
|
||
filed as bug 110170.
Comment 14•23 years ago
|
||
marking verified per comments. new bug is addressed.
Status: RESOLVED → VERIFIED
Updated•14 years ago
|
Keywords: inputmethod
You need to log in
before you can comment on or make changes to this bug.
Description
•