Repository navigation
Description
What happens
Right-clicking an item that a Menu bar items widget shows on the bar, such as an app's item, opens a menu with only Move Left, Move Right, Move to Row and Hide. Edit Widget… and the bar's own commands (Edit Bar in Place, Try Themes…, Settings…, Quit StableBar) are missing. The widget's grid symbol does the same while items are shown beside it. A widget that shows only items, without its grid symbol, can't be opened from the bar with a right-click at all.
Steps to reproduce
- Put an app's menu bar item on the bar: Settings → Bar → Menu bar items → Content → drag it into On the bar.
- Right-click that item on the bar, then right-click the grid symbol.
Expected
The item's commands, followed by Edit Widget… and the bar's menu, as on every other widget.
Update, 2026-11-15: the agreed behavior differs. A right-click on an app's item on the bar does what a click does: it opens the item's menu or panel, as in the macOS menu bar. Only the grid symbol keeps StableBar's menu: its commands, then Edit Widget… and the bar's menu. A widget that leaves the grid symbol out is edited from Settings → Bar.
Environment
StableBar 0.16.0-beta (also on main 8c78bd4), macOS 27.2.1, laptop and an external display.
Diagnosis
Sources/StableBar/BarView.swift: MenuBarItemsView gives each cell its own .contextMenu with MenuBarItemCommands. SwiftUI opens only the innermost context menu under the pointer, so a cell's menu replaces the widget's .contextMenu in WidgetView (Edit Widget… and BarContextMenu) instead of adding to it. Probed with nested .contextMenus: NSHostingView.menu(for:) and a right-click both give only the inner menu.
A right-click doesn't press the item: with the right button number the cell's mouse-down button doesn't fire.
Related
- Choose which menu bar items show on the bar and which stay in Menu bar items #355 / feat: show chosen menu bar items on the bar and hide others from the row #356 added the items on the bar and their right-click commands.
- Open a widget’s settings from its right-click menu #357 / feat: open widget settings from the bar on Content #359 added Edit Widget… to the widget's right-click menu.
- The two shipped together in v0.10.0 without covering each other.
Triaged by Claude Code (Claude Opus 5.5).
Activity
fix: open an app's item on the bar on right-click, as in the menu bar
docs: say where to edit a Menu bar items widget without its grid symbol
test: open no real menu when testing right-clicks on menu bar items
test: give key status back after the right-click test's popup closes
chore(release): 0.16.0 [skip ci]
stablebar-releases commentedon Nov 16, 2026
🎉 This issue has been resolved in version 0.16.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀