Menu ▾ ▴

#367 Right-click menu for messages with quick reactions

closed
nobody
2026-11-07
2026-11-07
Anonymous
No

Originally created by: kristofferR

Problem

Right-clicking a message gives the webview's generic menu. Carrier's richer context menus cover media and links (#263) and chat rows are planned (#290), but not messages themselves.

Design

A native context menu on a message bubble with:

  • a row of quick reactions (the user's recent or default reactions),
  • Reply, Copy text, Forward, Pin, Unsend/Remove, driven through Messenger's own actions (the hover toolbar), not reimplemented,
  • for media messages, the existing media actions from [#263].

Reference: SamBeku/messenger-mac ships a native message menu with quick reactions.

Ref [#263], [#290].

Testing

Own and others' messages, text, media, links, encrypted chats; each action matches what Messenger's hover toolbar does. Keyboard access via the context-menu key.

Part of [#349].

Related

Tickets: #263
Tickets: #290
Tickets: #349
Tickets: #409
Tickets: #420

Discussion

  • Anonymous

    Anonymous - 2026-11-07

    Originally posted by: kristofferR

    [!NOTE]
    🤖 Claude Opus 5.5 responding on behalf of Kristoffer

    Landed in [#409] (squash commit 9f01e1a on main); it ships in the next release.

    Right-clicking a message opens a native menu: a React submenu with Messenger's quick reactions as check items (your current reaction is checked; choosing it again removes it), then Reply, Copy text, Edit, Forward, Pin/Unpin, Unsend/Remove, showing only what Messenger offers for that message. Each action presses Messenger's own hover-toolbar control or More-menu row. Media messages keep the [#263] media actions first; links and selected text keep their usual menus. The context-menu key and Shift+F10 open the menu for a focused message.

    Native form per platform: the reactions are a submenu everywhere, since native menus can't draw an emoji row. On Linux, image menus and keyboard-opened menus use Carrier's in-page menu, where the reactions do sit in one row. A GTK popup opened from the keyboard gets no keyboard focus on Wayland.

    Live-tested on Linux in an encrypted chat:

    • Other people's messages: reactions added and removed, Reply, Copy text (multi-line with emoji, a reply, a link message), Forward and Remove dialogs (cancelled), Pin and Unpin.
    • Own messages, read-only: the menu, and the Unsend dialog (cancelled).
    • The photo's merged menu, the link and selected-text fallbacks, and Shift+F10 and the Menu key with arrow-key selection.

    Not live-tested:

    • macOS and Windows menus (cross-clippy passes for both).
    • Edit, since no own message was recent enough to offer it.
    • Non-encrypted chats.
    • The final review fixes: stale-menu cancellation, no doubled emoji with System emoji, and keyboard link-menu placement. They are covered by unit tests and CI, but weren't re-checked live because the shared test machine was busy.
     

    Related

    Tickets: #263
    Tickets: #409

  • Anonymous

    Anonymous - 2026-11-07

    Ticket changed by: kristofferR

    • status: open --> closed
     

Log in to post a comment.