Skip to content

Fix visual artifacts when using QQ Wubi IME - #20542

Merged
Leonard Hecker (lhecker) merged 3 commits into
mainfrom
dev/lhecker/tsf-fixup
Aug 13, 2026
Merged

Fix visual artifacts when using QQ Wubi IME#20542
Leonard Hecker (lhecker) merged 3 commits into
mainfrom
dev/lhecker/tsf-fixup

Conversation

@lhecker

@lhecker Leonard Hecker (lhecker) commented Aug 12, 2026

Copy link
Copy Markdown
Member

Closes MSFT-63412896

Validation Steps Performed

  • winget install Tencent.QQWubi
  • Type wwwww and backspace
  • Type w
  • Only 1 cell with dashed underline ✅

@lhecker
Leonard Hecker (lhecker) marked this pull request as ready for review August 13, 2026 14:06
@lhecker Leonard Hecker (lhecker) added Product-Conhost For issues in the Console codebase Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-3 A description (P3) labels Aug 13, 2026
Comment thread src/tsf/Implementation.cpp Fixed
Comment thread src/tsf/Implementation.cpp Fixed
Comment thread src/tsf/Implementation.cpp Fixed
@github-actions

This comment has been minimized.

const auto compositionRow = _compositionCache ? _compositionCache->absoluteOrigin.y : -1;
const auto& activeComposition = _pData->GetActiveComposition();
auto& buffer = _pData->GetTextBuffer();
auto& scratchRow = buffer.GetScratchpadRow();

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All changes in this file exist simply to make the code exception-safe (it wasn't before).

const auto attr = _textAttributeFromAtom(atom);
activeCompositionRanges.emplace_back(totalLen, attr);
if (isActiveComposition)
{

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how does this fix the issue? I'm being dense

@lhecker
Leonard Hecker (lhecker) merged commit e907f9f into main Aug 13, 2026
23 of 24 checks passed
@lhecker
Leonard Hecker (lhecker) deleted the dev/lhecker/tsf-fixup branch August 13, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-3 A description (P3) Product-Conhost For issues in the Console codebase

Projects

Status: To Cherry Pick

Development

Successfully merging this pull request may close these issues.

3 participants