WPF - Password gets visible in IME popup for Chinese input
- Dominant language
- C#
- Stars
- 10.3k
- Forks
- 2.9k
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 4
Description
### Is there an existing issue for this?
- [x] I have searched both open/closed issues, no issue already exists.
### CefSharp Version
145.0.260
### Operating System
Windows 11
### Architecture
x64
### .Net Version
framework 4.7.2
### Implementation
WPF
### Reproduction Steps
1. Create a new C# WPF Application for .net Framework 4.7.2
2. Add nuget package for CefSharp 145.0.260
3. Add browser Window to main Window
4. Load any website with a simple password field ()
5. Switch Windows to Chinese input
6. type in any password
### Expected behavior
Password is not displayed on screen
### Actual behavior
Password is visible in IME popup - see screenshot
### Regression?
Also happens with version 140
### Known Workarounds
n/a
### Does this problem also occur in the CEF Sample Application
Yes using WPF/OffScreen command line args
### Other information
Tryed with cef_binary_145.0.28+g51162e8+chromium-145.0.7632.160_windows64_client
Does **also** happen with cmd cefclient.exe --multi-threaded-message-loop --no-sandbox --off-screen-rendering-enabled --enable-gpu
Does **not** happen with cmd cefclient.exe --multi-threaded-message-loop --no-sandbox --use-alloy-style
Contributor guide
Research direction
Start by reproducing the issue in the WPF/OffScreen configuration and with cefclient.exe using --off-screen-rendering-enabled, then compare it with --use-alloy-style, where the issue does not occur. Investigate how password input is exposed to the Windows Chinese IME popup in the affected rendering path. Done means password text is no longer visible in the IME popup while password entry still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100