Closed
Bug 1137560
Opened 10 years ago
Closed 8 years ago
All widgets should use TextEventDispatcher at dispatching composition events and text events
Categories
(Core :: Widget, defect)
Core
Widget
Tracking
()
RESOLVED
FIXED
People
(Reporter: masayuki, Assigned: masayuki)
References
(Blocks 1 open bug)
Details
(Keywords: inputmethod, meta)
Native IME/keyboard event handlers of each widget should use TextEventDispatcher when they dispatch keyboard events and composition events. At this time, even during composition, keyboard events should be passed to TextEventDispatcher. Then, TextEventDispatcher should decide if the keyboard events should be dispatched.
With this change, we can improve following things:
1. We can make DOM event dispatcher XP level code in widget. This means that we will reduce the maintenance cost when composition or keyboard event spec is changed.
2. We can avoid conflicting with nsITextInputProcessor users (addons or Firefox OS). Dispatching all key and composition events from TextEventDispatcher makes us be able to disconnect from native IME or keyboard when JS-IME has composition.
#2 is very edge case, it's not so important. But #1 is very important.
Assignee | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•