From 0937327e8c746a524d26b71f555aeb6af3590fe4 Mon Sep 17 00:00:00 2001 From: Alan Silva Date: Fri, 16 Oct 2026 22:48:28 +0100 Subject: [PATCH] android: correct omni-search IME docs to the declared adjustResize mode The soft-input comments in the manifest, PipelinesApp.kt and android/README.md still described `adjustNothing`, a mode the activity no longer declares. MainActivity uses `android:windowSoftInputMode="adjustResize"` and the app draws edge-to-edge, so the Compose window inset (WindowInsets.safeDrawing) is the single source of the IME geometry and is applied once by the surface that owns it. - AndroidManifest.xml: rewrite the soft-input comment to describe adjustResize, why the app is edge-to-edge and reads the IME from Compose window insets, and warn against changing it without re-checking the chat composer. - PipelinesApp.kt: correct the bottom search column comment that claimed the activity declares adjustNothing and the window is never resized for the IME. - android/README.md: correct the omni-search results-panel section that claimed the IME inset was counted once because of adjustNothing; now records the declared adjustResize mode, the edge-to-edge single source of IME geometry, and the chat composer's imePadding. Documentation only; no rendered surface or behaviour changes. The omni-search entry point and pill morph already exist at this HEAD; this reconciles the stale wording with the committed mode. --- android/README.md | 4 +++- android/app/src/main/AndroidManifest.xml | 13 ++++++------- .../main/java/net/awan/pipelines/ui/PipelinesApp.kt | 6 +++--- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/android/README.md b/android/README.md index 745fffed..87c915b7 100644 --- a/android/README.md +++ b/android/README.md @@ -4258,7 +4258,9 @@ section left the panel itself undocumented. (`WindowInsets.safeDrawing`, which carries the IME and the navigation bar); the panel takes the remaining height with `weight(1f, fill = false)` and scrolls its `LazyColumn` inside it, so it is never under the field or the keyboard. The - activity declares `adjustNothing`, so the IME inset is counted once, not twice. + activity declares `adjustResize` and the app is edge-to-edge, so the Compose + window inset is the only source of the IME geometry and it is applied once, + here (the chat composer likewise reads it once, through `imePadding`). - **Badge, title, secondary line.** `OmniSearchResults.searchRow` gives every hit a `pipeline`/`run`/`step`/`artifact`/`match` badge (`searchBadge`, a version hit reads as `pipeline`), a title and a secondary line; a text ("field") hit's diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index d269518f..e748c0f6 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -19,13 +19,12 @@ the user types an arbitrary host. Do not expose the server to the internet. -->