Skip to content

v0.7.2 — Render labels in the correct Steam window

Pre-release
Pre-release

Choose a tag to compare

@xmfan xmfan released this 24 Sep 16:42

Fix: overlay rendered into the wrong Steam window

A two-window regression test reproduced the v0.7.1 failure: the component was rendered into a 1280×800 game UI window, but its overlay was attached to the module's 320×240 loader window. The game UI had no labels while recognition and speech continued.

The overlay now obtains its document from the element actually rendered by Decky (ownerDocument) and measures the full-screen overlay surface itself. It no longer uses the module-global document or viewport to select and size the overlay.

The same test now shows two labels in the game window and none in the loader. It also verifies correct capture coordinates, game-window resizing/letterboxing, no movement when the loader window resizes, and correct cleanup.

Retained behavior

  • L4 Simplified / L5 Traditional; 0.2-second capture/dismiss holds.
  • Wide dark labels at source positions, no overlapping labels or pinyin.
  • Previous/Next pages for dense captures.
  • Light 12% screen dimming; no full-screen screenshot or opaque black background.
  • Automatic offline Mandarin speech.

Install Decky-Pinyin-0.7.2-offline.zip through Decky's ZIP installer. Browser checks reproduce and fix the window mismatch; actual Steam Deck confirmation is still needed.