Skip to content

[Bug]: Android composer toolbar truncates "Ultracode…" so its on/off state is unreadable #39776

Closed as not planned

Description

@damjanuzelac

Problem

In the Android app the focused, two-row composer shows the model toolbar as Opus … | Medium · Ultracode …. The trait summary is one string, and it gets ellipsized when there isn't enough room. That cuts off "Ultracode" mid-word, so you can't tell whether it's on or off without opening the picker.

At a glance every thread looks like it's running Ultracode. That's misleading, especially when several threads run on different settings.

Steps to reproduce

  1. Open a Claude thread (e.g. Opus 5.5) in the Android app on a phone-width screen.
  2. Focus the composer so the toolbar row appears.
  3. The toolbar reads Opus … Medium · Ultracode … whether Ultracode is enabled or disabled.

Expected

The Ultracode state is readable without opening the picker.

Suggestion

Show Ultracode as a short badge or icon only when it's enabled, and exempt it from truncation so the model name shrinks first. #25881 uses the same idea for the compact effort label (M / H / XH).

Related

Activity

  1. juliusmarminge commented on Nov 20, 2026

    @juliusmarminge
    Member

    I tried to reproduce this on the current build and could not.

    Commit 563ba1a (origin/main). (1) Unit probe: ran the real Claude fallback model catalog through apps/mobile resolveProviderOptionDescriptors and client-runtime buildTraitsTriggerDisplay. For every model with the Ultracode toggle (Opus 5.5, Sonnet 5.5, Fable 5.x, Opus 5, Opus 4.8, Haiku 5.5), effort=medium with Ultracode off or unset gives "Medium", and with Ultracode on gives "Medium · Ultracode". (2) Real app: dev server with T3CODE_DEV_SEED=0 bound on 0.0.0.0, Metro, and the T3 Code Dev client installed on a pooled Android Pixel 9 (API 36) emulator, paired with a fresh database. New thread, picked Claude Opus 5.5 (Reasoning Medium, Ultracode switch unchecked), focused the composer and typed a three-line prompt so the two-row toolbar showed. The toolbar read "Opus 5.5 Medium" (a11y: "Claude Opus 5.5, Medium"), with no Ultracode text. Turned the Ultracode switch on: the toolbar read "Opus 5.5 Medium · Ultracode" (a11y: "... Medium · Ultracode"), in full with no ellipsis at phone width. The reported state, where the toolbar shows Ultracode while it is off, never appeared. Not tried: the multi-Claude-instance badge layout (model name and summary share a 96 px suffix), where an on label could be cut short. Even there the off label has no Ultracode text.

    Closing as not planned. If it still happens for you, reply with the exact steps and the version you are on and it will be looked at again.

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