Skip to content

[Bug] 中文输入法的选项不能显示 #103

@Corditegere

Description

@Corditegere

Description

不能显示中文输入法的选项

When typing Chinese in the editor on Windows 11, the Chinese IME candidate selection box fails to render/display near the cursor. However, if I type the Pinyin and press the space bar, the Chinese characters can still be input normally into the edit area. This only affects the candidate box display, not the actual Chinese input function, and it severely impacts the Chinese typing experience.

Environment

  • OS: Windows11
  • Ferrite version: 0.2.7
  • Rust version: unknown
  • Installation method: MSI installer

Steps to Reproduce

  1. Open the Ferrite editor and click the edit area to activate the input cursor.
  2. Switch the system input method to any Chinese IME (Pinyin).
  3. Type any Chinese Pinyin (e.g., "nihao", "zhongwen") in the edit area.
  4. Check if the Chinese IME candidate selection box pops up near the cursor.

Expected Behavior

After typing Chinese Pinyin, the IME candidate box should render and float normally below/next to the input cursor, allowing selection of the corresponding Chinese characters.

Actual Behavior

The Chinese IME candidate selection box is completely invisible when typing Pinyin; no floating panel appears at all. Pressing the space bar can convert the Pinyin to the correct Chinese characters and input them into the editor (the input function itself works).

  • Switching between fullscreen/windowed mode (F11) does not fix the issue.
  • Restarting the Ferrite editor does not resolve the problem.
  • Disabling hardware acceleration in Ferrite settings also has no effect.

Screenshots

A key detail: When I press the Windows screenshot shortcut (Win+Shift+S) to open the screenshot overlay, the Chinese IME candidate box temporarily appears normally in the screenshot interface. But once I exit the screenshot mode and return to Ferrite's edit interface, the candidate box disappears again immediately. This confirms the issue is caused by the rendering layer conflict between Ferrite and the Windows IME, not the input method itself.
我怀疑整个窗口是置顶了,导致其他的窗口都被遮挡了。

Log Output

If applicable, paste any relevant error messages or log output:

No relevant error logs found in the Ferrite log directory.

Additional Context

  • English input works perfectly with no any issues.
  • The problem occurs with all Chinese IMEs (system-built Microsoft Pinyin + third-party Sogou/WeChat Input), not just a single one.
  • Other Rust/TAURI-based Markdown editors (e.g., Notable, Typora) on the same Windows 11 system work normally with Chinese IME (candidate box displays correctly).
  • No other system software/extensions are interfering with the input method (IME works normally in all other Windows apps).

Regression

  • This worked in a previous version
  • If yes, which version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.2.8bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions