Skip to content

iOS keyboard: Full Access hint and live words on the split iPhone Duo (#3, #5) - #3072

Draft
R44VC0RP wants to merge 2 commits into
devfrom
ios-duo-keyboard
Draft

R44VC0RP wants to merge 2 commits into
devfrom
ios-duo-keyboard

Conversation

@R44VC0RP

Copy link
Copy Markdown
Collaborator

Two keyboard fixes for the iPhone Duo unfolded (split keyboard), from Ryan's screen recording on TestFlight 158. Draft: for Ryan's review on a before/after page; not to merge before his approval.

  • fix: limit word timestamps to voice dictation #3 Full Access hint: on the split keyboard the hint's two lines run across the empty band over the other half, so "Settings › Apps › Hex › Keyboards" reads whole instead of "… › Ke…". Open Hex and the Hex key stay where they are.
  • feat: add retained dictation history #5 Live words panel: on the split keyboard the recording bar, ✕/✓ and the live words keep a centred column no wider than 600 pt instead of reaching both halves' edges. Panel height and the globe key unchanged. Adds a live-words snapshot scene.

Ordinary iPhone: unchanged (hint region 0 differing pixels before/after on iPhone 18 Pro; live-words differs only in the animated waveform).

Tests: xcodebuild test, scheme HEXMobile, iPhone 18 Pro iOS 27.2: 1021 tests, 5 skipped, 0 failures.

Known limits: the snapshot stage draws the Duo keyboard at the app window's width (~876 pt) rather than the extension's 801 pt platter, so screenshots compare before/after but are not exact to the extension; translation notices still sit in the strip half.

Anomaly added 2 commits November 28, 2026 17:34
…n the split Duo (#3)

The Duo unfolded splits the keyboard, and the strip (with the Full Access hint)
sits over the right half where Apple's predictions are. The hint's two lines are
then squeezed into ~126 pt beside Open Hex, so "Settings › Apps › Hex › Keyboards"
truncated to "Ke…" while the band over the left half stayed empty.

KeyboardLayout.stripHintBand now gives the hint the whole band above the keys on a
split keyboard, growing away from the Hex key: the Open Hex chip and the Hex key
keep their places, and both lines read whole. An iPhone's strip is already the
whole width, so nothing changes there (stripHintBand is stripFrame).

Verified on the iPhone Duo simulator (unfolded, landscape, dark) with
--snap-state full-keyboard-no-access-hint-dark: "Settings › Apps › Hex › Keyboards"
now reads whole, Open Hex and the Hex mark unmoved. KeyboardLayoutTests pass
(90 tests, 0 failures), including the new split-keyboard hint case.
…mn on the split Duo (#5)

With Live words In bar on the Duo unfolded, the keys give way to a panel as wide as
the keyboard: one line of words at the top left, ✕ and ✓ about 710 pt away at the
screen's edge, and the waveform stretched between them.

KeyboardLayout.liveColumn keeps the recording bar's well, ✕, ✓ and the words in a
centred column no wider than 600 pt on a split keyboard; the panel keeps the keyboard's
height and the globe key stays on its key. An iPhone keeps the keys' own edges, so
nothing changes there. Adds a live-words snapshot scene to draw and review the panel.

Verified on the iPhone Duo simulator (unfolded, landscape, dark) with
--snap-state full-keyboard-live-words-dark: the bar, ✕/✓ and words read as one 600 pt
column, the globe key unmoved. Full HEXMobile suite: 1021 tests, 5 skipped, 0 failures.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant