microsoft / microsoft/Windows-classic-samples
tsfapp: SetText() and InsertTextAtSelection() are not called in Windows 11
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 5.7k
- Forks
- 3.3k
- PR merge metrics
- No merged PRs in 30d
Description
tsfapp is supposed to implement a TSF client. However, when using Windows 11 with the Japanese IME, neither CTSFEditWnd::SetText() nor CTSFEditWnd::InsertTextAtSelection() are called when typing. Nevertheless, input works and a list of suggestions is displayed while typing.
It seems that TSF ignores CTSFEditWnd and communicates directly with the edit control of tsfapp.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with tsfapp and the CTSFEditWnd::SetText() and InsertTextAtSelection() entry points, then reproduce the behavior with Windows 11's Japanese IME. Trace how TSF communicates with the edit control and determine what behavior is expected; done means the relevant CTSFEditWnd methods are called while typing and input and suggestions still work.
Written by the indexing model from the issue text.
Assessment
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100