Skip to content

Mac app: native titlebar buttons fight the web UI (inconsistent highlight state, z-index, duplicated toolbar layout) #105898

Description

@steipete

What happens?

The Mac app dashboard window hosts five native AppKit buttons (sidebar toggle, search, new session, back, forward) in an NSTitlebarAccessoryViewController floating over the embedded Control UI WKWebView. This split ownership causes recurring paper cuts:

Proposed fix

Render the buttons in the web UI itself. The app keeps the traffic lights, thin top drag strips, and a small bridge (capability flag at document start, history canGoBack/canGoForward state events); the web owns the toolbar row, hover state, and z-index in ordinary CSS. Shipped app builds keep working through the existing openclaw-native-nav compat path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmaintainerMaintainer-authored PR

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions