Closed Bug 480111 Opened 15 years ago Closed 15 years ago

[TSF]mCompositionStart and mCompositionLength is not updated on WinXP

Categories

(Core :: Widget: Win32, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.2a1

People

(Reporter: emk, Assigned: emk)

References

Details

(Keywords: inputmethod)

Attachments

(1 file, 2 obsolete files)

Attached patch patch (obsolete) — Splinter Review
On WinXP, mCompositionStart and mCompositionLength will not be updated because |OnUpdateComposition| is called with pRangeNew == null. We should also updete them as well as composition string. The latter was fixed by bug 478030. This bug will cover the former.
This caused many strange behavior when we used Japanese IME, Natural Input.
Attachment #364092 - Flags: review?(chenn)
Attached patch patch v1.1 (obsolete) — Splinter Review
Sorry, the previous patch caused some test failures.
Assignee: nobody → VYV03354
Attachment #364092 - Attachment is obsolete: true
Attachment #364095 - Flags: review?(chenn)
Attachment #364092 - Flags: review?(chenn)
Blocks: 478029
Jim is busy in these days.

I'll review the patch ASAP.
Comment on attachment 364095 [details] [diff] [review]
patch v1.1

Ok. Plaese review the patch.
Attachment #364095 - Flags: review?(chenn) → review?(masayuki)
Attachment #364095 - Flags: review?(masayuki) → review+
Comment on attachment 364095 [details] [diff] [review]
patch v1.1

> nsTextStore::UpdateCompositionExtent(ITfRange* pRangeNew)

This method is not an interface method of TSF, so, you should use our naming rule for pRangeNew, so, it should be aRangeNew.

Otherwise, looks ok. Thank you for your work!
Attachment #364095 - Flags: superreview?(roc)
Oops, forgot to update a patch.
Attachment #364095 - Attachment is obsolete: true
Attachment #365649 - Flags: superreview?(roc)
Attachment #365649 - Flags: review+
Attachment #364095 - Flags: superreview?(roc)
Attachment #365649 - Flags: superreview?(roc) → superreview+
Keywords: checkin-needed
Comment on attachment 365649 [details] [diff] [review]
patch v1.11 - argument name changed
[Checkin: Comment 6]


http://hg.mozilla.org/mozilla-central/rev/537eccc6c218
Attachment #365649 - Attachment description: patch v1.11 - argument name changed → patch v1.11 - argument name changed [Checkin: Comment 6]
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: