Skip to content

Ovis for Mac: let the header take the place of the window's title bar #2641

Done

Description

@todor-a

Problem

Ovis for Mac shows the page under a native title bar that only says "Ovis". The page already has a header with everything a title bar would hold, so the window spends a strip of height on a second bar, and the app looks like a browser window around a web page rather than a Mac app.

Proposal

While the main window shows Ovis, fold the title bar away and let the page's header take its place, as the installed web app already does under window-controls-overlay (styles.css):

  • The traffic lights sit at the header's left, vertically centred on it. An empty compact toolbar gives the bar its height and centres them (AppKit lays it out, so nothing moves on a resize or a title change); the app hands the page that height and the lights' right edge, so the header matches the bar and starts clear of them.
  • A drag on the header's bare surface (off its buttons, menus and fields) moves the window. It starts only once the mouse moves, so a click there stays the page's. A double click does what System Settings › Desktop & Dock says of a title bar.
  • The setup screen, and windows the page opens (a file), keep their title bar. In full screen the bar hides with the menu bar.

Where

Install and updates

Where it exists today

The Claude and Codex desktop apps draw their own header in the title bar's place, the traffic lights inset in it, and move the window from its empty space. So do most Mac apps with a toolbar (Finder, Xcode, Safari), and the installed web app here under window-controls-overlay.

Workarounds and alternatives

None in the app today. Alternatives: .windowStyle(.hiddenTitleBar) alone leaves the lights at the top of a 32 pt bar, off the header's centre; moving the lights by hand is undone by AppKit on every title change. I have a working branch (todor-a:mac-header-in-title-bar) and will open it as a PR linked here.

Activity

  1. devswha commented on Nov 28, 2026

    @devswha
    Owner

    Implemented in #2642 (a65951f2b3), included from v0.5.12: while Ovis for Mac's main window shows Ovis, the title bar folds away and the page's header takes its place, with the traffic lights inset and a drag on the header's bare surface moving the window. Thanks, @todor-a!

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