Repository navigation
Description
Problem
A popup can't open the panel of an app that lives only in the menu bar. Such apps, like Liip Timesheet, show their window as a popover under their menu bar icon, so open with their bundle ID only activates them and nothing appears. A package widget that shows the app's data can't give its popup an "Open app" button that works. With the macOS menu bar hidden, as StableBar usually keeps it, the icon isn't on screen either.
Proposal
Popup blocks take openMenuBarItem, a menu bar item reference like the entries of a Menu bar items widget's shown and hidden: app as a bundle ID or app name, and item for an app with several items.
{ "type": "text", "text": "Open app", "openMenuBarItem": { "app": "ch.liip.timesheet" } }- Clicking the block presses that item as the Menu bar items row does, through
AppMenu.press, which shows the hidden menu bar first so the app's panel opens under its icon. - It needs Accessibility, like the row, and asks for it when missing.
- Like
open, it runs no command, so packages without commands can use it. It can't be combined withonClick,onClickField,open,openFieldorquitField, and it follows the popup'sdismissOnAction. - The schema and the popup and package guides describe it.
Possible today
No. A script can press the item through System Events with osascript, at the cost of Automation access and without the hidden menu bar handling that pressInMenuBar does.
Related
- Pin one app's menu bar item to the bar #347 proposed this action, as
openMenuBarItemfor widgets and blocks, beside a widget for one item. feat: show chosen menu bar items on the bar and hide others from the row #356 shipped the items on the bar and closed it; the action wasn't part of it. - feat: open Control Center and the macOS menu bar's items from the bar #311 added
pressInMenuBarfor Control Center and the Menu bar items row.
Triaged by Claude Code via T3 Code (Claude Opus 5.5).
Activity
stablebar-releases commentedon Nov 6, 2026
🎉 This issue has been resolved in version 0.11.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀