iOS: messages hidden behind the keyboard, and remaining large-file costs #232

open cmc opened this on 2026-11-22 19:42 UTC · feature · milestone Backlog

Discussion

cmc 2026-11-22 19:42 UTC

Found while fixing #230 and #220 in the iPhone 17 simulator, left alone:

  • The root message overlay (OrgstarMobileApp.swift) sits behind the keyboard. While the editor has focus, org-protocol messages, including the existing store-link one, are hidden. Related: finding 28 in #223 (one message view on iOS).
  • At 10 MB a keystroke still costs about 0.6 s of main thread, plus about 0.3 s after save; session.refresh is about 90 ms twice per save. Not profiled further.
  • The reader blocks for about 1–1.2 s opening a 1 MB file.
  • Each widgets.update ends with a main-thread wait of about 1.0–1.2 s with a 10 MB file in the workspace; launch waits of 1.1–1.9 s.
  • widgets.update waits on the first-launch notification permission prompt (129 s and 195 s logged while it was up).
  • iOS recomputes reminders, widgets and Spotlight one second after each edit (OrgstarMobileApp.swift, around 155-168).

Simulator numbers are in the MR for #230. Device timings are needed before deciding how far to go.

Platforms: iOS.