mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
TestFlight build 115, iPad mini (A17 Pro), iPadOS 18.7.8: "When I go to dictate, it opens
Hex. I click Done. Then I have to go back to Hex to copy it." Before iOS 26 Dictate opens
Hex to record (by design); the text is meant to go into the field when you return.
Cause: iOS often starts a new keyboard view controller as you come back from Hex, and
viewDidLoad's syncFromBridge inserted Hex's result before the keyboard was shown. The
proxy accepted the text (its documentContextBeforeInput even showed it) but the field never
got it, and lastInsertedResultID marked it delivered, so nothing offered it afterwards.
Results now go in only while the keyboard is shown (viewWillAppear onwards), as the held
in-keyboard dictation already did. Same on iPhone.
Second gap: a result that missed its 30 s was offered as Paste dictation only in the full
keyboard's strip. The dictation bar, the only keyboard on an iPad, offered nothing. The
bar's top row now shows a Paste dictation chip (zh-Hans: 粘贴听写) while one is on offer.
Verified on the Mac Studio, with a diagnostic build (not committed) that forces the
pre-iOS 26 path, a simulated microphone and a fixed transcript, in a UITextView host that
logs its text:
- iPad mini (A17 Pro) sim, iOS 26.2 (no iOS 18 runtime: Xcode 27.2 won't download one),
full-screen apps, portrait, dictation bar. Return via the "< App" breadcrumb and by
launching the app (Dock/Spotlight/switcher equivalent) at 2, 10, 40 and 90 s after Done.
|
||
| .. | ||
| CleanupTagger | ||
| TypingModel | ||
| ContainingAppOpener.swift | ||
| HEXKeyboard.entitlements | ||
| Info.plist | ||
| KeyboardInputView.swift | ||
| KeyboardLocalDictation.swift | ||
| KeyboardViewController.swift | ||
| PrivacyInfo.xcprivacy | ||