Skip to content

DialogHost: IME Candidate Window Appears at Top-Left of Screen When Typing Full-Width Characters in TextBox #3894

@Audela-220

Description

@Audela-220

Bug explanation

When typing full-width characters (e.g., Japanese) into a TextBox displayed within a DialogHost, IME candidate window appears at the top-left corner of the screen instead of near the TextBox.
This significantly degrades the user experience.

Image

Expected Behavior
The IME candidate window should appear properly near the TextBox being used for input.

Reproduction
This issue has been confirmed to be reproducible in the MaterialDesignXaml Demo App.

Potential Cause
This issue might be related to a known WPF problem concerning IME candidate window positioning within Popup controls, as DialogHost internally uses Popup. Popup controls do not have a clear owner window like standard Windows, which could prevent the IME from determining the correct display location.

Version

5.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugevaluation requiredItems is pending review or evaluation by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions