Skip to content

[Bug]: Control UI user avatar selector silently does nothing in 2026.7.1 #107292

Closed

Description

@delimir

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

In OpenClaw 2026.7.1, selecting or clearing the browser-local User avatar in Settings → Simple silently does nothing because the avatar does not update or persist.

Steps to reproduce

  1. Start OpenClaw 2026.7.1 and open the Control UI.
  2. Go to Settings → Simple.
  3. Under User avatar, click Choose image and select a valid image.
  4. Observe that the avatar does not update.
  5. Reload the Control UI and confirm that no avatar was persisted.
  6. Click Clear avatar or enter an emoji/text avatar and observe the same silent no-op behavior.

Expected behavior

The selected User avatar should update immediately and persist in browser-local identity storage, as documented in docs/web/control-ui.md.

This behavior worked in OpenClaw 2026.6.11, where the Quick Settings renderer passed userAvatar and onUserAvatarChange to the avatar editor.

Actual behavior

Selecting, clearing, or changing the User avatar silently does nothing. No user-visible error is shown and the avatar is not persisted.

In the shipped 2026.7.1 Control UI bundle, the avatar editor still calls onUserAvatarChange?.(...), but renderQuickConfig() does not pass userAvatar or onUserAvatarChange.

A local patch restoring browser-local avatar read/write wiring makes the selector work immediately.

OpenClaw version

2026.7.1 (2d2ddc4)

Operating system

macOS 26.5.2

Install method

npm global

Model

N/A — Control UI browser-local avatar regression

Provider / routing chain

N/A — reproduced in Control UI before any model request

Additional provider/model setup details

N/A — issue is independent of model/provider configuration.

Logs

No gateway error is emitted when selecting or clearing the User avatar; the UI action silently no-ops.

2026.6.11 Control UI Quick Settings wiring:

userAvatar:e.userAvatar??null,
onUserAvatarChange:t=>e.applyLocalUserIdentity?.({avatar:t}),

2026.7.1 renderQuickConfig() omits both userAvatar and onUserAvatarChange.

The 2026.7.1 avatar editor still invokes:

e.onUserAvatarChange?.(...)

A local patch restoring browser-local avatar read/write wiring immediately restores avatar selection and persistence.

Screenshots, recordings, and evidence

Observed directly in OpenClaw 2026.7.1 Control UI.

Regression comparison was made against the shipped npm bundles for 2026.6.11 and 2026.7.1.

After locally restoring the missing user avatar state/change wiring in the 2026.7.1 Quick Settings parent, selecting an avatar works and persists after reload.

Impact and severity

No response

Additional information

No response

Activity

  1. clawsweeper commented on Jul 14, 2026

    @clawsweeper
    Contributor

    Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed July 14, 2026, 8:45 AM ET / 12:45 UTC.

    Summary
    Keep open: current main still renders Quick Settings without the user-avatar change callback, while browser-local identity storage and the documented avatar behavior remain present; the open linked PR is the appropriate fix vehicle but should be refreshed for the current UI structure. citeturn551601view0turn704058view0turn381057view0.

    Reproducibility: yes. at source level: the 2026.7.1 Settings → Simple interaction has concrete steps, and the missing parent callback explains why select and clear operations silently no-op; this review did not run the browser flow.

    Root-cause cluster
    Relationship: canonical
    Canonical: #107292
    Summary: This issue is the canonical regression report, and the linked open PR is its candidate implementation fix.

    Members:

    Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

    Next step
    An open linked PR already owns the repair, so maintainers should review and refresh that candidate rather than dispatch a duplicate fix PR.

    Review details

    Best possible solution:

    Restore state.userAvatar and applyLocalUserIdentity wiring in the current ui/src/ui/app-render.ts owner path, add parent-level persistence coverage, and prove select and clear behavior survives a real Control UI reload.

    Do we have a high-confidence way to reproduce the issue?

    Yes at source level: the 2026.7.1 Settings → Simple interaction has concrete steps, and the missing parent callback explains why select and clear operations silently no-op; this review did not run the browser flow.

    Is this the best way to solve the issue?

    Yes in direction, but the linked PR should be rebased and adapted to the current ui/src/ui ownership path, reusing the existing identity helper instead of adding parallel pre-refactor plumbing.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • The linked PR describes pre-refactor ui/src/pages and ui/src/app paths, while current main owns this flow under ui/src/ui; merging without a current-main rebase could duplicate or miss the canonical state path.
    • This review established the failure from source and shipped-version evidence but did not execute the browser interaction against current main.

    Codex review notes: model internal, reasoning high; reviewed against c13aa612eba5.

    Label changes

    Label changes:

    • add P2: This is a confirmed regression in an optional Control UI personalization setting with limited blast radius and no core-runtime blockage.
    • add impact:ux-friction: The avatar controls silently accept interaction without applying or persisting the result, creating avoidable user confusion.
    • add issue-rating: 🦞 diamond lobster: Current issue advisory state selects this label.
    • add clawsweeper:source-repro: Current issue advisory state selects this label.

    Label justifications:

    • P2: This is a confirmed regression in an optional Control UI personalization setting with limited blast radius and no core-runtime blockage.
    • impact:ux-friction: The avatar controls silently accept interaction without applying or persisting the result, creating avoidable user confusion.
    Evidence reviewed

    What I checked:

    • Current-main wiring gap: The current Quick Settings parent imports and renders renderQuickSettings, but onUserAvatarChange is absent from ui/src/ui/app-render.ts, matching the reported silent optional-callback no-op. citeturn526730view0turn551601view0. (ui/src/ui/app-render.ts:2665, c13aa612eba5)
    • Existing persistence owner: Current main already exposes applyLocalUserIdentity, which normalizes the avatar, writes the browser-local identity, and updates state.userAvatar; the repair should reuse this owner rather than create parallel storage behavior. citeturn704058view0. (ui/src/ui/app-settings.ts:2602, c13aa612eba5)
    • Documented behavior: Control UI documentation defines the user avatar as browser-local identity and says it is stored in local browser storage, supporting the expected persistence contract. citeturn381057view0. Public docs: docs/web/control-ui.md. (docs/web/control-ui.md:290, c13aa612eba5)
    • Release-specific regression report: The issue provides a concrete 2026.7.1 select, clear, reload reproduction and compares the missing parent wiring with working 2026.6.11 behavior. citeturn828920view0. (2d2ddc43d0dc)
    • Open repair candidate: fix(control-ui): restore userAvatar wiring in Quick Settings (#107292) #107327 is an open closing PR specifically restoring the avatar value/change wiring, so this issue must remain open until that PR or an equivalent repair merges. (ui/src/pages/config/config-page.ts, 3b792bb64faf)
    • Repository direction: VISION.md prioritizes reliable polished user experience and making common operations easy, so repairing a documented Control UI regression fits project direction. citeturn585058view0. (VISION.md:40, c13aa612eba5)

    Likely related people:

    • SymbolStar: Authored the open, narrowly scoped repair PR that explicitly closes this issue and restores the missing avatar wiring. (role: linked fix contributor; confidence: high; commits: 3b792bb64faf; files: ui/src/pages/config/config-page.ts, ui/src/app/settings.ts)
    • shakkernerd: Recent merged work substantially reorganized Control UI rendering and lifecycle ownership around ui/src/ui, making them a useful reviewer for adapting the repair to the current structure. citeturn170934search2. (role: recent Control UI architecture contributor; confidence: medium; commits: 65e12328aa20; files: ui/src/ui/app-render.ts, ui/src/ui/app-view-state.ts)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
  2. steipete commented on Jul 16, 2026

    @steipete
    Contributor

    Fixed by #107327, landed on main as 990d673.

    Root cause: the Quick Settings avatar UI in ui/src/pages/config/quick.ts sits behind optional userAvatar/onUserAvatarChange props that config-page.ts stopped passing after the settings refactor — every selection was a silent no-op. The fix wires those props and persists through the existing browser-local identity owner (openclaw.control.user.v1 in localStorage; cleared when empty; never written to server config).

    Browser proof on the PR: live select → immediate preview, full reload → persists, Clear → default restored, plus Playwright before/after screenshots and a zero-config.set assertion. Ships with the next release. Thanks @SymbolStar!

  3. locked as resolved and limited conversation to collaborators on Sep 6, 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

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions