LockIME icon indicating copy to clipboard operation
LockIME copied to clipboard

[Bug] Input method switches to ABC randomly in Chrome password input boxes and LockIME fails to revert to the target input method

Open player-yoyo opened this issue 4 months ago • 1 comments

Environment

  • OS: macOS 15
  • Chip: Apple M1
  • Chrome version: 149.0.7827.201
  • LockIME target locked input method: Doubao Input Method

Description

I have set Doubao Input Method as the global default locked input method in LockIME. LockIME works normally for regular text boxes, address bars and input areas of other apps — it automatically switches back to the target input method immediately if the input source is changed.

However, there is a low-probability bug when focusing on password input boxes inside Chrome web pages: The input method randomly switches to ABC English keyboard, and LockIME does not automatically correct and revert to the specified Doubao Input Method.

Reproduction Steps

  1. Open Chrome and navigate to any login page with username and password form fields.
  2. Keep LockIME global lock enabled with Doubao Input Method set as default.
  3. Repeatedly move the cursor between username input box and password input box multiple times.
  4. The bug occurs occasionally: the input method changes to ABC the moment the cursor enters the password box, with no automatic correction from LockIME.

Distinction of Phenomena

  1. Regular text input boxes: LockIME instantly reverts ABC back to the target input method with no issues.
  2. Password input boxes inside Chrome web pages: LockIME fails to trigger auto-revert occasionally after switching to ABC. I have to manually switch input methods or refocus the input box to recover.
  3. Chrome address bar has no such issue; this problem only exists on web page password input boxes.

Expected Behavior

LockIME shall capture input source changes in Chrome web password input boxes properly and automatically revert to the assigned Doubao Input Method whenever the locked rule applies.

player-yoyo avatar Jul 03 '26 09:07 player-yoyo

🔗 Related PRs

oomol-lab/LockIME#3 - fix(lock): stop CJKV nudge from resetting the mouse pointer [merged]


📝 Issue Planner

Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

  • [ ] Create Plan

🧪 Issue enrichment is currently in open beta.

You can configure auto-planning by selecting labels in the issue_enrichment configuration.

To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

issue_enrichment:
  auto_enrich:
    enabled: false

💬 Have feedback or questions? Drop into our discord!

coderabbitai[bot] avatar Jul 03 '26 09:07 coderabbitai[bot]