Repository navigation
Description
Problem
Some apps give a right-click on their menu bar item an action of its own. MeetingBar, for example, opens its menu on a click and joins the next meeting on a right-click.
An item that a Menu bar items widget shows on the bar can't do that: since v0.16.0 a right-click on it does what a click does (#662 / #663). With the macOS menu bar hidden, the bar is the only place to reach the item, so the app's right-click action is out of reach.
Proposal
A right-click on an item on the bar whose menu StableBar doesn't draw arrives at the app as a right-click on its item in the macOS menu bar:
- the app's own right-click action runs (MeetingBar joins the meeting, Wi‑Fi offers Remove, and so on);
- the pointer stays where it is, and a hidden macOS menu bar doesn't visibly show;
- an item whose menu the bar draws keeps opening that menu, and a click is unchanged.
On macOS 27 this looks possible without moving the pointer: MenuBarAgent draws the menu bar and passes mouse events on to each item's app, and a click posted to MenuBarAgent that names its menu bar's layer context and the place in the menu bar reaches the item as a normal right-click. That needs an undocumented event field and one private call, so it needs a maintainer's OK (AGENTS.md). Where it isn't available, a right-click can keep acting as a click.
Possible today
Reveal the macOS menu bar (pointer to the top edge) and right-click the real item there. On the bar itself there is no way: Accessibility offers third-party items only AXPress, which apps take as a click.
Related
- Right-clicking a menu bar item on the bar doesn't offer Edit Widget… #662 / fix: open menu bar items on the bar on right-click and keep Edit Widget… on the grid symbol #663 (v0.16.0) made a right-click on an app's item open it like a click. fix: open menu bar items on the bar on right-click and keep Edit Widget… on the grid symbol #663 gave the reason a real right-click was left out: "A real right-click would mean posting a mouse event on the macOS menu bar and moving the pointer there". This request is that real right-click, without the pointer move.
- Show what a menu bar item shows, not only its app's icon #639 / feat: show a menu bar item on the bar as macOS draws it #640 show an item on the bar as macOS draws it, MeetingBar's next meeting being the example; this is the matching interaction.
- Clicking menu bar item icons makes them disappear without opening their menus #757 is about a click that opens no menu; it is a different problem.
Searched issues and pull requests in every state for right-click, right click, menu bar items, MeetingBar, status item, secondary click and context menu; nothing covers delivering a right-click to the item.
Triaged by Claude Code (Claude Fable 5.2).
Activity
feat: right-click a menu bar item on the bar as in the macOS menu bar
feat: right-click a menu bar item on the bar as in the macOS menu bar
chore(release): 0.18.0 [skip ci]
stablebar-releases commentedon Nov 20, 2026
🎉 This issue has been resolved in version 0.18.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀