Skip to content

[FEATURE]: Desktop: reserve a larger draggable region at the top edge of the window (hard to drag when many tabs are open) #41646

Closed as not planned

Description

@Maxthonzx

Verified

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement

On macOS, the OpenCode desktop window hides the native title bar and renders its own top strip (titleBarStyle: "hidden", frame: false, ~40px tall). When several sessions/tabs are open, that top area is almost entirely covered by the tab bar, so the actually draggable region shrinks to a very thin sliver along the top edge. Grabbing the window to move it becomes impractical.

Please reserve a dedicated, reasonably tall draggable region at the top edge of the window (a -webkit-app-region: drag zone) that the tab bar does not occupy — for example a taller hit-area above/around the tabs, or making the empty margin around the tab row draggable.

Why it matters

Users routinely move a window by grabbing its title bar. With the current layout the draggable zone is so small that grabs often land on the interactive tab bar or miss entirely, forcing users to resize the window instead. This is especially noticeable with multiple tabs open, which is the default multi-session workflow of the app.

Environment

  • OpenCode Desktop 1.18.16
  • macOS 15.7.9

Activity

  1. github-actions commented on Aug 11, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. platonvin commented on Sep 29, 2026

    @platonvin

    If you do this, then mouse cursor on the screen edge will miss tabs (it already does). Which is a very common pattern - move mouse up so much that cursor gets to the max vertical position.
    I would argue that opposite is actually better.

  3. opencodejr commented on Oct 28, 2026

    @opencodejr
    Contributor

    Thanks for the detailed write-up, @Maxthonzx!

    OpenCode Desktop 1.18.16 is part of OpenCode v1. v1 now only gets fixes for critical problems such as data loss, security issues or crashes, so this layout change is unlikely to be made there.

    OpenCode v2 (2.x) is a separate implementation with its own titlebar, and that's where active work happens. Its titlebar is built differently: the tab strip and a separate draggable area are set up independently. We'd encourage you to try the v2 desktop app. If moving the window is still awkward there with many tabs open, please reply here with your v2 version and a screenshot. And if you think this is more serious on v1 than it looks, let us know.

  4. opencodejr commented on Oct 29, 2026

    @opencodejr
    Contributor

    We haven't heard back, so we're closing this as not planned. OpenCode Desktop 1.18.16 is v1, which only gets fixes for critical problems, and a larger draggable titlebar area isn't one of those.

    The v2 desktop app (2.x) has its own titlebar, with a draggable area kept separate from the tab strip. If moving the window is still hard there when many tabs are open, please open a new issue with your v2 version and a screenshot. Thanks again for the report, @Maxthonzx!

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