Skip to content

The spinner on «Обновить сейчас» is nearly invisible in both themes #223

Closed

Description

@lumenpearson

What is broken. In «Синхронизация», while a sync runs, the «Обновить сейчас» button greys out and shows a spinner next to its label. On the owner's phone the spinner is a faint grey arc in the light theme and a dark-purple arc that almost disappears in the dark theme, crowding the start of the label.

Cause. GroupActionItem sets enabled = enabled && !busy, so a busy button takes the disabled filled-button colours: container onSurface at 10 % and label at 38 %. The spinner's colour, however, is hard-coded to onPrimary, the content colour of an enabled button. Drawn on the disabled container, it measures about 1.3:1 contrast in the light scheme (#FFFFFF on about #E5E2E9) and about 1.6:1 in the dark scheme (#1B2878 on about #49494F). The label is also a MarqueeText without the weight its own KDoc asks for, so at a large font scale it fades and scrolls right beside the spinner.

Expected.

  • A busy button keeps its filled colours and only refuses presses, so the spinner is onPrimary on primary (about 6.6:1 light, 7:1 dark).
  • The icon and the spinner share one fixed slot, so the label does not move when a sync starts.

Activity

  1. added 2 commits that reference this issue on Oct 2, 2026
    437ff39
    e5f3389
  2. moved this from In progress to Done in lessonson Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status
      Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions