Closed Bug 841507 Opened 11 years ago Closed 11 years ago

Mask text and selection updates when handling IME_REMOVE_COMPOSITION

Categories

(Firefox for Android Graveyard :: Keyboards and IME, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 21

People

(Reporter: jchen, Assigned: jchen)

Details

Attachments

(1 file)

      No description provided.
Similar to the handling of IME_UPDATE_COMPOSITION, when we handle IME_REMOVE_COMPOSITION, we should mask text and selection updates generated as part of clearing the composition.
Attachment #714056 - Flags: review?(cpeterson)
Comment on attachment 714056 [details] [diff] [review]
Mask events when removing composition (v1)

Review of attachment 714056 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM

::: widget/android/nsWindow.cpp
@@ +1964,5 @@
> +                  visual indication and does not affect the text content.
> +
> +                Selection and text updates are masked so the result of
> +                  temporary events are not passed on to Java
> +            */

// We
// should
// use
// C++-style
// multiline
// comments
// like
// this
/*
 * or
 * C-style
 * multiline
 * comments
 * like
 * this.
 */
Attachment #714056 - Flags: review?(cpeterson) → review+
Changed comment style

https://hg.mozilla.org/integration/mozilla-inbound/rev/3bd8f038263d
Target Milestone: --- → Firefox 21
https://hg.mozilla.org/mozilla-central/rev/3bd8f038263d
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: