Skip to content

Right-click a menu bar item on the bar as a right-click, not as a click #760

Closed

Description

@Jonathanm10

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

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

  1. added
    needs-triage
    on Nov 16, 2026
  2. added 2 commits that reference this issue on Nov 16, 2026
    6cdd74a
    93b289b
  3. stablebar-releases commented on Nov 20, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.18.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triagereleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions