hex/ios/HEXMobileTests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 0e0a9bc5e3
iOS keyboard: French is Apple's AZERTY; Canadian French stays QWERTY, Swiss French is QWERTZ (#2096)
What: KeyboardLanguage.french now lays out Apple's AZERTY: a z e r t y u i o p /
q s d f g h j k l m / w x c v b n, with W to N under E to I and shift and delete at
their English size, a gap beside each (buildKeys already centres a short row 3 and
keeps full-size modifiers when the letters fit, so nothing is squeezed). Two layouts
are added: Français (Canada), `fr-CA`, on QWERTY (the previous French layout), and
Français (Suisse), `fr-CH`, on QWERTZ. Automatic resolution picks them for fr-CA and
fr-CH dictation, keyboard and preferred languages, and AZERTY for every other French
(fr, fr-FR, fr-BE). Settings › Keyboard layout lists them through allCases: Français
(France), (Canada), (Suisse). The French long-press lists now copy Apple's order from
the simulator's TextInput_fr (û before ù, ª on A and º on O). Autocorrect's
neighbouring-key map puts AZERTY's row 2 edge to edge and row 3 under e.

Replaced: the saved layout value "fr" used to mean French on QWERTY; it now means
AZERTY. Someone who chose Français by hand on a Canadian or Swiss keyboard gets AZERTY
until they pick Français (Canada) or (Suisse); Automatic users get their region's.

Why: a TestFlight tester (iPhone 17 Pro, iOS 27.3) reported Hex's French keyboard is
QWERTY while Apple's is AZERTY, with screenshots of both. Apple's own keyboards on
the iOS 27.2 simulator: French (France) and (Belgique) are AZERTY, (Canada) QWERTY and
(Suisse) QWERTZ. Apple's French-only keyboards also hold a ´ dead key (after N on
AZERTY, at the end of row 2 on the others); the tester's French and English keyboard
has none, and Hex leaves it out, with accents on a held letter.

Next-letter odds (#2091) and Spatial autocorrect stay off for all three French
layouts: their model lookup is by layout code and only en and es are bundled.

Verified: HEXMobileTests on an iPhone 17 Pro simulator (iOS 27.2): 293 tests, 0
failures, 1 skipped (as before). New: testFrenchIsApplesAzerty (rows, W/N under E/I,
English-size shift and delete, the bottom row, taps in row 3's side gaps go to the
nearer key, Apple's measured A and M centres within 1.5 pt at 402 pt, numbers and
symbols pages identical to English's), plus cases for region resolution, spell-check
dictionaries, accent order, AZERTY adjacency, and no decoder or letter odds for any
French layout. Rendered Hex's French keyboard next to Apple's on the same simulator
(letters, held E, numbers, symbols) and the tester's screenshot: key positions match;
fr-CA renders QWERTY and fr-CH QWERTZ.
2026-11-20 20:26:36 +00:00
..
Fixtures iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
AutocorrectEngineTests.swift iOS keyboard: French is Apple's AZERTY; Canadian French stays QWERTY, Swiss French is QWERTZ (#2096) 2026-11-20 20:26:36 +00:00
CleanupTaggerTests.swift iOS: Italian, French and Portuguese layouts that autocorrect in their own language; spoken @ and email addresses (#2069) 2026-11-20 16:43:10 +00:00
CustomVocabularyTests.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00
DictationControllerTests.swift iOS: keep dictating English when its speech model was released, and say Open Hex instead of "no language" (#2090) 2026-11-20 20:06:14 +00:00
DictationLearningTests.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DotScopeTests.swift fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
EmojiSuggesterTests.swift iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
FullKeyboardEngineTests.swift iOS keyboard: French is Apple's AZERTY; Canadian French stays QWERTY, Swiss French is QWERTZ (#2096) 2026-11-20 20:26:36 +00:00
HexKeyGestureTests.swift iOS: the keyboard starts listening on touch-down, with its capture page ready when it opens (#2089) 2026-11-20 20:04:35 +00:00
KeyboardBridgeTests.swift iOS: Russian and Serbian (Latin) full-keyboard layouts (#2075) 2026-11-20 17:44:49 +00:00
KeyboardLayoutTests.swift iOS keyboard: French is Apple's AZERTY; Canadian French stays QWERTY, Swiss French is QWERTZ (#2096) 2026-11-20 20:26:36 +00:00
ShiftStateMachineTests.swift iOS: full keyboard experiment flag, key layout and shift model (#910) 2026-11-01 12:43:35 -08:00
TranscriptCleanupTests.swift iOS: Italian, French and Portuguese layouts that autocorrect in their own language; spoken @ and email addresses (#2069) 2026-11-20 16:43:10 +00:00
TypingLogTests.swift iOS: Norwegian, Spanish and German full-keyboard layouts 2026-11-20 07:52:48 -05:00