microsoft / microsoft/Windows-classic-samples

tsfapp: SetText() and InsertTextAtSelection() are not called in Windows 11

Open
#394 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.