macOS 27: default_menu_items only returns Karabiner; Stats aliases remain blank

Author: marsjaneCreated Sep 16, 2026Updated Sep 16, 2026

Summary

On macOS 27.0, sketchybar --query default_menu_items returns only a Karabiner item. Stats items are missing, and my Stats aliases remain blank even after Screen Recording permission is enabled and the SketchyBar service is restarted.

Environment

  • macOS 27.0, build 26A428
  • MacBook Air with Apple M2
  • SketchyBar v2.24.0, installed via Homebrew and run as a Homebrew service
  • Stats 3.0.16
  • Lua configuration via SbarLua

Steps and actual result

  1. Run Stats with the Network module enabled and the Speed widget selected.

  2. Confirm that Stats is enabled under System Settings > Menu Bar > Allow in the Menu Bar.

  3. Enable SketchyBar under System Settings > Privacy & Security > Screen & System Audio Recording.

  4. Restart the service:

    bash
    brew services restart sketchybar
  5. Query the available menu bar items:

    bash
    sketchybar --query default_menu_items

    Repeated queries return only:

    json
    [
      "Karabiner-Console-User-Server,(1)"
    ]

No Stats or Control Center items appear in this output.

Additional checks

  • Before restarting, the running SketchyBar process reported Screen Recording Permissions not given, although the permission switch was on. After restarting, that error disappeared, but the incomplete list above persisted.
  • Both SketchyBar and Stats are running.
  • SketchyBar's space items render normally. sketchybar --query bar also confirms that the configured right-side aliases are loaded.
  • One affected alias in my existing configuration is Control Center,Network_speed, configured with position = "right", update_freq = 2, and updates = true. This is an existing configured name, not a name returned by the current query. The problem is that the query provides no Stats item to map it to.
  • Other configured Stats aliases are Battery, GPU, and Sensors, but those modules are currently disabled in Stats. I am not using those disabled modules as evidence of this bug; Network is enabled and its values update in the Stats UI.

Expected result

The query should expose the available Stats menu bar items so that aliases can be configured with their current identifiers.

Possible macOS 27 compatibility issue

Could this be related to macOS 27's MenuBarAgent changes? The v2.24.0 get_menu_item_list() implementation enumerates CGWindowListCopyWindowInfo results and filters by MENUBAR_LAYER. I have not confirmed the root cause or tested an alternative implementation.

Related reports: #788, #840, and PR #789. Those discuss duplicate/changing names and macOS 26 compatibility; here, after permission is effective, the Stats items are absent from enumeration altogether. Thaw's macOS 27 compatibility tracker may also be relevant: https://github.com/thaw-app/Thaw/issues/687.