Skip to content

Mobile: Project settings icon wraps above its label; Thread Info environment icon is offset #6366

Closed

Description

@dillonzq

Summary

On a phone-sized screen, the sidebar's Project settings action renders its gear above the label instead of beside it. The reporter also supplied an iOS screenshot showing the Environment icon and label shifted right relative to Project in Thread Info.

The menu bug is independently reproduced on current main. The Thread Info sizing failure is reproduced with a controlled provider-icon slot fixture; the default checkout artwork aligned in Chromium and Linux WebKit. The reporter's exact iPhone configuration remains unverified.

Versions and environment

  • Source build from latest fetched main: b6743a36bd9eae1408c35cfc2c7ab1d2419dc79d.
  • Independent reproduction: Debian GNU/Linux 13, Node 22.23.2, headless Chromium with a 390 × 844 touch viewport, isolated source dev app and fresh development database.
  • Reported client: iPhone via bb Connect; exact iOS/browser and installed bb versions were not provided.
  • No agent execution is needed for either layout.
  • Investigation: BB thread thr_9nj88w94j6.

Steps to reproduce

  1. Open bb at a phone-sized viewport, e.g. 390 × 844 with touch enabled.
  2. Set the sidebar organization to Project (bb thread-list prefs set organizationMode project).
  3. Open the sidebar and a project's overflow actions.
  4. Compare Project settings with Rename.
  5. Open a thread with a Project checkout environment, then its right panel → Info. Compare the Project and Environment label columns. The reporter observes the offset on iOS; this step has not yet independently reproduced in Chromium.

Expected vs actual

Expected: Project settings has a same-sized icon on the same line as its label, matching Rename. Thread Info uses the same icon column and label start for Project and Environment.

Actual, measured with DOM getBoundingClientRect() in Chromium at 390 × 844:

  • Project settings: 60px row height, 24 × 24px gear above the text.
  • Rename: 36px row height, 16 × 16px icon beside the text.
  • Project settings has a button[role=menuitem] > a > svg structure.
  • Project and Environment both align in this Chromium run; the iOS screenshot's offset remains separately under investigation.

The new owner-boundary regression test fails on unmodified main with:
AssertionError: expected 'BUTTON' to be 'A'
The desktop case passes.

Investigation report and controlled fixture details.

Project settings before / after:

Project settings gear above its label before the fix Project settings gear beside its label after the fix

Thread Info controlled provider-icon fixture before / after:

Environment shifted by intrinsic provider artwork sizing Project and Environment aligned with bounded icon slots

Evidence

The nested anchor prevents the menu item's flex layout and direct-child icon sizing from reaching the gear. A controlled provider-icon registration returning a 24px frame around a 16px glyph reproduces the Thread Info offset: Environment's glyph/label start at x=20/x=46 versus Project's x=16/x=38. Applying the old intrinsic minimum classes in the browser reproduces it; zero minimum dimensions keep both starts at x=16/x=38. This isolates a real sizing failure but does not establish which artwork or client version caused the original iPhone screenshot.

What you ruled out

Suggested priority and effort

Low priority, small fix: visible mobile layout defects; no data loss.

Fix proposed in #6367. Linux WebKit checks pass at 320, 390, 430, and 1280px widths; the original iPhone setup still needs device confirmation.

AGENT GENERATED

Activity

  1. added theissue type on Oct 27, 2026
  2. added
    mobile
    ui
    partial-repro
    on Oct 27, 2026
  3. bb-slop-cop commented on Oct 27, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    • Classification: Bug · Priority: Low · Effort: Low · Labels: mobile, ui.
    • Reproduction report: PARTIALLY REPRODUCED. High confidence in the menu root cause; the separate iOS Thread Info offset remains unverified. Applied partial-repro.
    • Root cause: Compact dropdown items ignore asChild, nesting the navigation anchor inside a button and bypassing direct-child icon layout. The regression fails on trusted main in two clean checkouts; the desktop control passes.
    • Fix check: An investigator-authored local repair passes 61 relevant tests and targeted typechecks. No duplicate PR was opened because PR #6367 already links this issue. Its branch was not checked out or executed.

    AGENT GENERATED

  4. added a commit that references this issue on Oct 28, 2026
    f4a198f
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

    mobilepartial-reproui

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions