SaneBar icon indicating copy to clipboard operation
SaneBar copied to clipboard

[Bug]: Menu bar tint not working on M4 Air (dark mode)

Open MrSaneApps opened this issue 10 months ago • 10 comments

Reported on Reddit

Description

User reports menu bar tint does not work at all on M4 Air in dark mode. Upon boot-up and shutdown there is a flash of the color, but it will not show otherwise. Counter-example: IceBar tint works fine.

Environment

  • M4 MacBook Air
  • Dark mode enabled
  • macOS version unknown (likely Sequoia or Tahoe)

Expected Behavior

Menu bar tint should persist when enabled in Settings → Advanced → Appearance.

Actual Behavior

Tint flashes briefly on boot/shutdown but does not display during normal use.

To investigate

  • Check MenuBarAppearanceService behavior on M4 hardware
  • May be related to how the tint overlay interacts with dark mode on newer Macs

MrSaneApps avatar Jan 16 '26 00:01 MrSaneApps

Thanks for reporting this! We're tracking this issue. A few questions to help diagnose:

  1. Are you on macOS 15.x (Sequoia) or macOS 26 (Tahoe)?
  2. In Settings → Advanced → Appearance, is "Custom menu bar style" toggled ON?
  3. If you toggle it off and back on, does the tint briefly appear?

Any details you can share would help us reproduce this on M4 hardware.

MrSaneApps avatar Jan 16 '26 00:01 MrSaneApps

Same here. No tinting. Normal mode, not dark mode. 1: Sequoia, M4. 2: Yes 3: No

MaxGave avatar Jan 16 '26 08:01 MaxGave

Additional report from Reddit (u/digger27410)

Environment:

  • M4 Air
  • macOS Tahoe 26.2
  • SaneBar 1.0.5
  • Dark mode with Blue theme
  • Menu bar size: Large
  • Reduce Transparency: ON (eliminating liquid glass effect)

Key observation:

When I toggle custom menu bar style in settings, the bar height increases (downward) by a few pixels. It's slight, but noticeable. Turning it off drops it back to original height. The color doesn't change. When I do that toggle with Ice, the color changes.

Summary of reports:

User macOS Appearance Reduce Transparency Result
Original Unknown Dark Unknown Flashes on boot only
MaxGave Sequoia Normal Unknown No tint at all
digger27410 Tahoe 26.2 Dark ON Height changes but no color

Hypothesis: The Reduce Transparency setting may be preventing the tint overlay from being visible, OR our tint implementation isn't compatible with M4 GPU/display stack. Ice's implementation works, so there must be a different technique we should investigate.

MrSaneApps avatar Jan 17 '26 00:01 MrSaneApps

Update: Tint works on M4 MacBook Air

We've now tested on an M4 MacBook Air in dark mode and the tint feature works correctly.

Common factor in failures: @MaxGave and the original reporter haven't confirmed their Reduce Transparency setting, but @digger27410 confirmed Reduce Transparency is ON. This macOS accessibility setting affects how transparent overlays are composited, which explains why:

  • The window height change is visible (the overlay window IS being created)
  • But the color tint isn't rendered (transparency compositing is disabled)

Can everyone confirm?

System Settings → Accessibility → Display → Reduce Transparency

If this is ON, try turning it OFF and restarting SaneBar. The tint should appear.


If you need Reduce Transparency ON: We'll investigate alternative rendering approaches that don't rely on window transparency. Ice apparently handles this case, so there may be a different technique we can adopt.

MrSaneApps avatar Jan 17 '26 00:01 MrSaneApps

With 'Reduce Transparency' on it (still) does not work. I only get a thin colored line on the edge of the menubar.

  • Normal mode
  • Sequoia
  • M4 Mac Mini

MaxGave avatar Jan 17 '26 07:01 MaxGave

Status Update

@MaxGave — Thank you for the additional details. To confirm: do you have "Reduce Transparency" enabled in System Settings → Accessibility → Display?

What we know

User Reduce Transparency Tint Works?
Some M4 users OFF ✅ Yes
u/digger27410 ON ❌ No
@MaxGave ? ❌ No

Technical Explanation

SaneBar uses SwiftUI's compositor-based rendering (Rectangle().fill(Color.opacity())). When "Reduce Transparency" is ON, macOS may skip or reduce compositor blending, causing the tint to appear as just "a thin colored line on edge" rather than filling the menu bar.

Ice uses direct AppKit NSView.draw() with Core Graphics, which bypasses this compositor behavior.

Fix Options

  1. Quick test: Add different window styleMask flags
  2. Full port: Rewrite the overlay as an NSView subclass with direct draw(_:) rendering

The full port carries regression risk and would take 2-4 hours. Before we invest that effort, we want to understand how many users actually use Reduce Transparency.

Question for you: Is "Reduce Transparency" a setting you need for accessibility reasons, or would turning it OFF work for you as a workaround?

MrSaneApps avatar Jan 17 '26 18:01 MrSaneApps

I don't need "Reduce Transparency" as a setting for accessibility reasons.

MaxGave avatar Jan 17 '26 20:01 MaxGave

Update: We are continuing to investigate the tinting issue on M4 hardware.

While we haven't switched to the full 'NSView direct draw' port yet, we've improved the underlying stability of our floating windows.

@MaxGave — Since you mentioned you don't need 'Reduce Transparency' for accessibility, did turning it OFF resolve the issue for you in the meantime?

MrSaneApps avatar Jan 22 '26 15:01 MrSaneApps

Nope. I'm currently testing Barbee where I have about the same issue. It might have to do with working with two monitors. And/or using two different wallpapers.

It seems to be unpredictable behavior. Just after installing Sanebar I could tint the menubar. Same with Barbee. Cannot repeat the behavior though. For now I just leave it, too busy to give this much attention :)

MaxGave avatar Jan 22 '26 17:01 MaxGave

Alright then will close for now if we can figure this out later we will revisit!

MrSaneApps avatar Jan 22 '26 19:01 MrSaneApps