Closed Bug 587243 Opened 14 years ago Closed 14 years ago

Textbox of tab group lost focus immediately by keypress Eenter(Conversion Enter Commit) while IME composition

Categories

(Firefox Graveyard :: Panorama, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(blocking2.0 final+)

VERIFIED FIXED
Firefox 4.0b7
Tracking Status
blocking2.0 --- final+

People

(Reporter: alice0775, Assigned: masayuki)

References

Details

(Keywords: inputmethod, Whiteboard: [qa+])

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b4pre) Gecko/20100813 Minefield/4.0b4pre ID:20100813041308 Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b4pre) Gecko/20100813 Minefield/4.0b4pre ID:20100813041308 Textbox of tab group lost focus immediately by press Eenter while IME composition. Reproducible: Always Steps to Reproduce: 1. Start Minefield with new profile 2. Open TabView 3. Create Tab group 4. Edit title of the tab group by using IME (Microsoft IME or ATOK2006) Actual Results: Textbox of tab group lost focus immediately by press Eenter while IME composition Expected Results: Should not lose focus
Summary: Textbox of tab group lost focus immediately by press Eenter while IME composition → Textbox of tab group lost focus immediately by keypress Eenter while IME composition
This happens on Windows XP too.
Target Milestone: --- → Firefox 4.0
Blocks: 585689
Blocks: 589378
Summary: Textbox of tab group lost focus immediately by keypress Eenter while IME composition → Textbox of tab group lost focus immediately by keypress Eenter(Conversion Enter Commit) while IME composition
Attached patch Patch v1.0Splinter Review
Typically, key events and IME events are dispatched following pattern: * keydown * compositionstart ... * compositionend * keyup So, Enter and Esc keyup events are fired when they caused the composition to finish. So, we shouldn't use keyup event for them. And for preventing the parent's keydown handling such as quitting from grouping tab UI, this patch calls stopPropergation() and preventDefault() at handling Enter or Esc key. This patch uses keydown event for Enter and Esc key handling. And keyup event is also used for adjusting title size and save.
Assignee: nobody → masayuki
Status: NEW → ASSIGNED
Attachment #471517 - Flags: review?(dolske)
blocking2.0: --- → ?
Comment on attachment 471517 [details] [diff] [review] Patch v1.0 Seems fine, ian should take a look though.
Attachment #471517 - Flags: review?(ian)
Attachment #471517 - Flags: review?(dolske)
Attachment #471517 - Flags: review+
Comment on attachment 471517 [details] [diff] [review] Patch v1.0 Looks good to me.
Attachment #471517 - Flags: review?(ian)
Attachment #471517 - Flags: review+
Attachment #471517 - Flags: approval2.0?
blocking2.0: ? → final+
Attachment #471517 - Flags: approval2.0?
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: Firefox 4.0 → Firefox 4.0b6
reporter, please verify this is fixed in a current nightly, thanks.
Whiteboard: [qa+]
This was fixed. Verified on Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b7pre) Gecko/20101001 Firefox/4.0b7pre ID:20101001082844
Status: RESOLVED → VERIFIED
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: