Skip to content

Tab preview popover opens after 2s, 5x slower than our own tooltips #51738

Closed as not planned

Description

@ocoomber

Description

The session tab hover preview in the desktop app takes 2 full seconds to appear, which reads as broken.

OPEN_DELAY = 2_000 in packages/app/src/components/titlebar-tab-popover.tsx:6.

Our v2 tooltip already uses openDelay={400} (packages/ui/src/v2/components/tooltip-v2.tsx), and the popover's own comment notes that SKIP_WINDOW "mirrors the tooltip's skipDelayDuration" - so the skip and close delays are already aligned with the tooltip, but the open delay was left at 5x.

This is also the only place the app surfaces a session's directory at all, so a 2s wait makes it effectively undiscoverable. Related: the preview is pointer-events: none with CLOSE_DELAY = 0, so any cursor drift dismisses it immediately, which compounds the problem.

Suggest OPEN_DELAY = 400 to match the tooltip, or making it configurable.

Steps to reproduce

  1. Open a session in the desktop app
  2. Hover a session tab in the titlebar and hold still
  3. Preview appears only after ~2s

OpenCode version

1.18.32 (desktop)

Operating System

Windows 11

Activity

  1. added
    needs:complianceThis means the issue will auto-close after 2 hours.
    and removed
    needs:complianceThis means the issue will auto-close after 2 hours.
    on Sep 27, 2026
  2. github-actions commented on Sep 28, 2026

    @github-actions
    Contributor

    Thanks for updating the issue with the reproduction steps and system information!

  3. opencodejr commented on Oct 28, 2026

    @opencodejr
    Contributor

    Thanks for the detailed report and for pointing to the exact constants!

    You're on 1.18.32, which is OpenCode v1. v1 only gets fixes for critical bugs (data loss, security problems, crashes or breakage with no workaround), so a change to the hover delay is unlikely to land there.

    v2 (the @opencode/cli package and the current desktop app) is a separate implementation, and it already behaves differently. The tab preview there opens after 750ms instead of 2s. If you've just hovered another tab's preview (within 500ms), the next one opens with no delay. We'd encourage upgrading to v2.

    Related issues:

    If you think this is critical, or the delay still feels too slow on v2, please reply here. A v2 report would be looked at as a feature request for a shorter or configurable delay.

  4. opencodejr commented on Oct 29, 2026

    @opencodejr
    Contributor

    We haven't heard back, so I'm closing this as not planned. The report is about OpenCode v1 (1.18.32), which only gets critical fixes, and the 2s tab preview delay isn't one. In v2 the preview already opens after 750ms, and with no delay if you hovered another tab's preview within the last 500ms. If the delay still feels too slow on v2, or you'd like it to be configurable, please open a new issue with your v2 version and we'll treat it as a feature request. Thanks again for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions