Skip to content

二段フリックを復元し数値欄のガイド表示を修正 / Restore two-step flick and fix numeric-field guides - #1294

Merged
KazumaProject merged 3 commits into
devfrom
codex/fix-issue-1292
Nov 12, 2026
Merged

KazumaProject merged 3 commits into
devfrom
codex/fix-issue-1292

Conversation

@KazumaProject

@KazumaProject KazumaProject commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

日本語

数値入力欄で Number モードになると、数値用カスタムレイアウトも「ガイドなし」の表示種別に分類され、カスタムキーボードのガイド設定が無視されていました。この経路は報告バージョンの v1.7.149 と修正前の dev の両方に存在します。

  • 数値用カスタムレイアウトには、初回表示時と設定更新時にカスタムキーボードのガイド設定を適用します。標準数値レイアウトでは従来の表示を維持します。
  • 二段フリックを戻す追加依頼に合わせ、v1.7.149 の二段フリック/固定型二段フリックの入力処理、編集画面、回転設定、ポップアップ、表示再開時の処理を復元します。
  • 三段フリックの停止と、既存バックアップの定義保存は維持します。変更は実装と直接関係するテストのみです。

検証:

  • JVM テスト40件成功(app 14件、custom_keyboard 26件)。数値用カスタムレイアウトのガイド表示、設定の切り替え、標準数値レイアウトへの復帰、二段フリックの編集・保存、回転、ポップアップ、ライフサイクルを確認しました。
  • Android 15 / API 35 の隔離エミュレーターで4件成功。実 IME の通常表示・フローティング表示で、二段フリック/固定型二段フリックからの入力を確認しました。ライブラリ側では回転した濁音の入力、ポップアップ、キャンセル、三段フリックの停止を確認しました。
  • Lite Standard Debug の APK とテスト APK をビルドしました。
  • Galaxy S24 Ultra / Android 16 / One UI 8.5 での実機確認、および Full 版のビルドは未実施です。数値用レイアウトのガイド表示は Robolectric のサービス経由テストで確認しています。

English

When a numeric field selected Number mode, the guide resolver classified number-assigned custom layouts as a surface with guides disabled. This ignored the custom keyboard guide preference. The same path exists in the reported v1.7.149 tag and the previous dev revision.

  • Apply the custom guide preference to number-assigned custom layouts during initial rendering and runtime preference updates. Preserve the stock number layout's existing presentation.
  • Restore two-step and sticky two-step flick input, editing, rotation, popup behavior, and lifecycle handling from v1.7.149, as additionally requested.
  • Keep three-stage input suspended and preserve stored backup definitions. Include only implementation changes and directly related tests.

Validation:

  • 40 focused JVM tests passed: 14 in app and 26 in custom_keyboard. Coverage includes numeric custom guides, preference changes, returning to the stock number layout, editing/persistence, rotation, popups, and lifecycle handling.
  • 4 instrumentation tests passed on an isolated Android 15 / API 35 emulator. The actual IME accepted two-step and sticky two-step input on both docked and floating surfaces. Library tests covered rotated voiced-kana input, popup state, cancellation, and continued three-stage suspension.
  • Built the Lite Standard Debug app and test APKs.
  • Galaxy S24 Ultra / Android 16 / One UI 8.5 and the Full build were not tested. Numeric custom guide rendering was verified through Robolectric service tests.

@KazumaProject
KazumaProject merged commit 875a65e into dev Nov 12, 2026
1 check passed
@KazumaProject
KazumaProject deleted the codex/fix-issue-1292 branch November 12, 2026 17:58
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