Skip to content

iOS: verify Cloud Voices toggle vs TTS engine Picker don't visually disagree when .cloud is active #495

Closed

Description

@libravault-xyz

Context

Raised by principal review as a non-blocking, unconfirmed note on PR #492 (Cloud Voices activation fix, merged).

SettingsView.ttsSection's segmented Picker binds to $appState.ttsEngineType over TTSEngineType.allCases.filter { $0 != .cloud } (deliberately, since #491 — .cloud must not be directly selectable there). Separately, CloudVoicesSection's new "Use Cloud Voices for Read Aloud" toggle can set appState.ttsEngineType = .cloud directly.

When that happens, the ttsSection picker's bound selection (.cloud) no longer matches any of its own displayed segments (.system/whatever other on-device options exist). SwiftUI segmented pickers typically render with nothing highlighted in that state — so the "Voice" picker and the new "Use Cloud Voices" toggle could visually disagree about what's actually active while Cloud Voices is on.

Why unconfirmed

No Xcode/Simulator available in the Claude Code session that shipped #492 — this needs an actual on-device or Simulator check, not just a diff read.

Suggested fix (if confirmed)

Likely either: (a) add a .cloud-aware empty/placeholder state to the picker segment, or (b) hide/disable ttsSection's picker entirely while Cloud Voices is active and show a short explanatory label instead (mirrors how the section already explains disabled states elsewhere).

To reproduce

  1. Subscribe (or use a debug override), configure a Cloud Voices provider + voice ID in Settings.
  2. Toggle "Use Cloud Voices for Read Aloud" on.
  3. Look at the "Voice" picker above it in ttsSection — check whether any segment appears selected.

Part of #452 (iOS Cloud TTS Voices, now closed) — filing separately since it's UI-polish, not a security/correctness gap.

Activity

  1. added
    status:triage
    on Aug 24, 2026
  2. added
    status:ready-for-dev
    status:in-progress
    and removed
    status:triage
    status:ready-for-dev
    status:in-progress
    on Aug 24, 2026
  3. github-actions commented on Aug 24, 2026

    @github-actions
    Contributor

    Closed automatically: PR #496, which resolves this issue, was merged.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions