Skip to content

Share My Bar draws Liquid Glass differently from the bar on screen #920

Done

Description

@Seb-GRAF

What happens

With Liquid Glass on, the bar in Share My Bar's image doesn't look like the same bar on the screen. On screen, the glass blurs the wallpaper behind it and has a light rim along its top and bottom edges. In the image, the wallpaper shows through sharp, grain and all, under a flat grey tint, with no rim.

Steps to reproduce

  1. Turn on Liquid Glass in Settings → Appearance.
  2. Choose Share My Bar… from the bar's right-click menu.
  3. Compare the image with the bar on the screen, where it crosses a sharp edge in the wallpaper.

Expected

The image shows the glass as the screen does: the wallpaper blurred behind the bar, and its rim.

Environment

StableBar 0.19.0-beta.20261124130620.1666, macOS 27.2.

Evidence

Screenshots below: the bar on screen, then Share My Bar's image of it. Where the bar crosses the cloud's edge, the edge is soft on screen and as sharp as on the wallpaper beyond the bar in the image.

Diagnosis

BarShare.draw (Sources/StableBar/Themes/BarShare.swift) draws BarView over the wallpaper in an offscreen window, and OffscreenSnapshot.png (Sources/StableBar/Rendering/OffscreenSnapshot.swift) captures it with NSView.cacheDisplay(in:to:). On macOS 26 and later, GlassBackground (Sources/StableBar/Bar/BarBorder.swift) draws glassEffect. On screen the window server composites that glass; cacheDisplay draws the views without the window server, so the glass comes out as a flat tint. #808 listed this as a known limit: "Glass or blurred bar backgrounds may not match the screen, because an offscreen draw has no window-server blur."

A capture through the window server, such as ScreenCaptureKit, needs screen-recording permission, and the guide says Share My Bar needs none. The docs images and scenes use the same offscreen drawing, so they may differ from the screen the same way.

Related

Triaged by Claude Code via T3 Code (Claude Opus 5.5).

Activity

  1. added
    bug
    on Nov 24, 2026
  2. stablebar-releases commented on Nov 25, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.19.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

    bugreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions