During IME input, keyboard shortcuts should be disabled and processing should be delegated to the IME. Otherwise, shortcuts within the IME become disabled, and editor-side shortcuts, such as indentation, are executed even though input has not been finalized in the IME. This behavior does not occur in other native applications that use IME.
To retrieve the IME state, a property to obtain the IME input status has been added to RawEditorStateTextInputClientMixin, and its value is passed to EditorKeyboardShortcuts.
Steps to Reproduce:
Press the TAB key while inputting with IME.
Expected Behavior:
Moves within the IME candidate selection.
Current Behavior:
EditorKeyboardShortcuts is executed, and the indentation process is triggered.
Related Issues
Type of Change
[ ] โจ Feature: New functionality without breaking existing features.
[x] ๐ ๏ธ Bug fix: Resolves an issue without altering current behavior.
[ ] ๐งน Refactor: Code reorganization, no behavior change.
[ ] โ Breaking: Alters existing functionality and requires updates.
[ ] ๐งช Tests: New or modified tests
[ ] ๐ Documentation: Updates or additions to documentation.
Description
During IME input, keyboard shortcuts should be disabled and processing should be delegated to the IME. Otherwise, shortcuts within the IME become disabled, and editor-side shortcuts, such as indentation, are executed even though input has not been finalized in the IME. This behavior does not occur in other native applications that use IME.
To retrieve the IME state, a property to obtain the IME input status has been added to
RawEditorStateTextInputClientMixin
, and its value is passed toEditorKeyboardShortcuts
.Steps to Reproduce: Press the TAB key while inputting with IME.
Expected Behavior: Moves within the IME candidate selection.
Current Behavior:
EditorKeyboardShortcuts
is executed, and the indentation process is triggered.Related Issues
Type of Change