Skip to content

Let a group's top corners curve outward into the top of the screen #511

Closed

Description

@Seb-GRAF

Problem

A group that hangs from the top of the screen, such as a black block beside the MacBook notch or a fake notch on an external display, can't flow into the screen's edge the way the notch does. A group's background is one rounded rectangle (BarUnitSurface in Sources/StableBar/BarView.swift), so its top corners are either rounded, which leaves slivers of wallpaper along the top edge, or square only when the bar is taller than the screen shows and pushed up with a negative bar.offset.

Proposal

A flare property for a group's style. When it is set, the group's top corners are square and curve outward past its sides with that radius, and cornerRadius rounds only the bottom corners. 0 gives square top corners without a curve.

"groups": {
  "notch": { "style": { "background": "#000000", "cornerRadius": 10, "flare": 8 } }
}

Possible today

Square top corners need a taller bar with a negative bar.offset, which the guide doesn't document. Outward curves need decorative image widgets beside the group.

Related

None found. Searched issues and pull requests for notch, corner, shape, flare, concave and inverted corners.

Triaged by Claude Code (claude-opus-5-5).

Activity

  1. added
    enhancement
    on Nov 9, 2026
  2. stablebar-releases commented on Nov 10, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.12.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

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

    enhancementreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions