Skip to content

Engine: type_text through the paste route (non-Latin input sources) gets #354's exact read-back #361

Closed

Description

@SSFSKIM

The gap

#354 makes type_text read the focused field back and answer success only when it equals the expected value. Text typed while a non-Latin input source is active goes through the paste route (#187), and that route isn't read back: it keeps #187's own check. So an ordering race or a substitution there can still answer success with the wrong text.

Intent

Extend #354's exact read-back to the paste route: a before-snapshot, the expected value (the selection replaced by the pasted text), and an equality poll, under the same bounds as #354 (a bounded excerpt, truncation answering unconfirmed, secrets compared by equality only, secure fields never read). Measure first: CJK and other non-Latin input sources in Safari, Chrome for Testing, Firefox and TextEdit.

Constraints

Success criteria

  • Typing through the paste route confirms when the field holds the expected text, and answers typeUnconfirmed otherwise, across the measured browsers and input sources.

Activity

  1. added
    enhancement
    status:ready-for-implementer
    priority:P3
    on Nov 10, 2026
  2. added
    status:in-progress
    and removed
    status:ready-for-implementer
    on Nov 18, 2026
  3. SSFSKIM commented on Nov 18, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-progress: taken by cursor235 after #414 (ruling 826 queue); measure first on hosted macOS, then build

  4. added 10 commits that reference this issue on Nov 18, 2026
  5. added
    status:in-review
    and removed
    status:in-progress
    on Nov 19, 2026
  6. SSFSKIM commented on Nov 19, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-review: PR #428 open; ci-gate GREEN on 81fee7a; hosted qualification 4/5 lanes all gates, Firefox -> #427

  7. SSFSKIM commented on Nov 19, 2026

    @SSFSKIM
    OwnerAuthor

    [review-trail] Reviews: reviewer-high on 9bfb0b5 (incorrect: 2 P1, 2 P2, 1 P3 -> fixed; Return-after-unverifiable -> #426) and reviewer-high on main..7897cde (incorrect: 1 P1 excerpt-may-carry-clipboard -> excerpts removed on paste route; BOM, item-187 judge, docs fixed; deadline P2s -> tech debt). 0de1e5b and 81fee7a checked by the dispatcher's diff read only. Hosted: phase 1 main 599/599 false successes; 9bfb0b5 failed (CfT clipboard leak 108/116, Firefox delivery); 7897cde passes Safari/CfT/Electron/AppKit all gates, clipboard content 0, delivery = main; Firefox never confirms -> #427.

  8. removed
    status:in-review
    on Nov 19, 2026
  9. SSFSKIM commented on Nov 19, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: Landed via PR #428 (cua 0.28.17)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions