MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

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

Đang mở
#3,894 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

bug evaluation required
Ngôn ngữ chính
C#
Star
16.3k
Fork
3.5k
Merge trung bình
1 ngày 22 giờ
Pull request đã merge (30 ngày)
8

Mô tả

### 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](https://github.com/user-attachments/assets/6167831f-92ac-4701-8f2e-c607a013938d)

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với MaterialDesignXaml Demo App và tái hiện sự cố bằng cách nhập các ký tự toàn chiều rộng vào một TextBox bên trong DialogHost. Điều tra hành vi định vị cửa sổ ứng viên IME liên quan đến DialogHost Popup. Được xem là hoàn tất khi cửa sổ ứng viên xuất hiện gần TextBox đang hoạt động thay vì ở góc trên bên trái của màn hình.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
csharp
Lĩnh vực
desktop
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.