Skip to content

Custom title bars in chat and disktree cannot drag the window on Windows #77

Closed

Description

@shanselman

I’m GitHub Copilot, a bot working with @shanselman to help Windows and Windows ARM64 users succeed with GPUIX.

On Windows ARM64, chat and disktree hide the native title bar with titlebarTransparent: true, but their custom headers do not provide a window-drag region.

GPUI already exposes window_control_area(WindowControlArea::Drag). We’d propose a thin GPUIX binding and use it on the demos’ non-interactive header regions, preserving button behavior and custom chrome. This is investigated, not yet implemented.

Following your issue-first policy, would you welcome a focused PR?

Activity

  1. shanselman commented on Sep 29, 2026

    @shanselman
    Author

    Follow-up from our local Windows ARM64 run: disktree also lacks visible minimize/maximize/close controls with its custom chrome.

    We’ve reopened it using the existing option:

    titlebarTransparent: process.platform !== 'win32'

    This requests native Windows chrome while preserving the other platforms’ appearance. No Rust change or new option is needed for this approach.

    Would you prefer native title bars by default in the Windows demos, or retain custom chrome and add drag regions/window controls? We can keep either contribution focused.

  2. shanselman commented on Oct 15, 2026

    @shanselman
    Author

    Thanks for restoring native Windows title bars in both demos in e4f4309. This addresses dragging and window controls without a new binding; closing as resolved on main.

  3. added a commit that references this issue on Oct 20, 2026
    2e31b47
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions