Mozc updates its input mode upon focusing only when InputScope is changing from the previously observed one · Issue #826 · google/mozc · GitHub
Skip to content

Mozc updates its input mode upon focusing only when InputScope is changing from the previously observed one #826

Closed

Description

@yukawa

Description

In terms of InputScope handling, there is another behavior difference between Mozc and MS-IME (Windows 11 22H2) when moving control/window focus.

MS-IME always updates its input mode based on InputScope associated with the newly focused input field, while Mozc does nothing if the specified InputScope is the same as the one that Mozc observed in the previous focus.

Steps to reproduce

Steps to reproduce the behavior:

  1. Install Mozc.
  2. Open Google Chrome or Microsoft Edge (without incognito mode)
  3. Make sure that Mozc is selected as the current IME.
  4. Paste data:text/html,<html><input type="email"/><input type="email"/></html> into the address bar and hit the enter key.
  5. Focus into the left input box. Make sure that Mozc is in the direct mode.
  6. Enable Mozc. Make sure that Mozc is in the Hiragana mode.
  7. Move to the right input box.

Expected behavior

At the step 7, Mozc is in the direct mode again.
MS-IME actually changes its mode to the direct mode in the same steps.

Actual behavior

At the step 7, Mozc remains to be in the Hiragana mode.

Version or commit-id

5757f28

Environment

  • OS: Windows 11 22H2
  • Related Applications: Microsoft Edge Version 118.0.2088.46

Additional context

We should be able to fix this issue just by removing the following lines.

Activity

  1. added a commit that references this issue on Oct 26, 2023
  2. added 2 commits that reference this issue on Nov 26, 2023
    78136f3
    1e332e0
  3. added a commit that references this issue on Feb 4, 2024
    00a0bdc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions