Skip to content

desktop: composer pill popover is painted under the session activity panel #68591

Backlog

Description

@gdmmd

Description

On the desktop app a composer pill's popover (Goal, Todo) opens under the session activity panel: its top rows are clipped by the panel above it. The pill itself is fine; only the popover is occluded.

Cause: the activity panel is a menu-v2-content element with z-index: 60, while [data-composer-pill-panel] declares no z-index at all, so it is painted below the panel. Setting the layer on [data-popper-positioner] does not work: the popper copies the content element's computed z-index onto the positioner as an inline style

queueMicrotask(() => { e.style.zIndex = getComputedStyle(r).zIndex })

and an inline auto beats any stylesheet rule, so only !important appears to fix it.

Fix: set the layer on the content element instead, the way menu.css already does:

[data-composer-pill-panel] {
  z-index: 70;
}

70 sits between menu/select (60) and the context menu (100); tooltips stay above at 1000. The todo pill shares the same selector, so both are covered.

Plugins

None needed to reproduce.

OpenCode version

2.4.5 (desktop app, bundled CLI 2.4.5)

Steps to reproduce

  1. Open a session in the desktop app.
  2. Have the agent create a goal or a todo so the pill appears above the composer.
  3. Click the pill to open its popover.
  4. The top of the popover is clipped by the session activity panel.

Screenshot

Not attached; the popover is hidden behind the panel with an opaque background.

Operating System

Windows 10 19045 x64

Terminal

Desktop app (no terminal)

Activity

  1. added
    area/desktop
    type/bug
    version/v2
    on Dec 6, 2026
  2. opencodejr commented on Dec 6, 2026

    @opencodejr
    Contributor

    I tried this on Desktop from source on the latest dev (045e9e3) and on v2.4.5. My setup was Linux, a simulated model, a todo list (with experimental.todo on) and a background shell, so both the activity chip and the todo pill showed.

    The popover and the activity panel never stayed open together. With the panel open, clicking the todo pill just closed the panel. With the todo popover open, clicking the activity chip closed the popover. On its own, the todo popover drew in full, with nothing on top of it. You're right that the popover's styles have no z-index and the activity panel's is 60, but I couldn't get both open at once.

    Two things would help:

    • The exact clicks or keys that leave the popover and the activity panel open at the same time (or, if the panel covering it is something else, which element that is).
    • A screenshot, and whether it happens with the Goal pill, the Todo pill, or both.
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

    area/desktopplatform/windowstype/bugversion/v2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions