Skip to content

Conversation

@huacnlee
Copy link
Contributor

@huacnlee huacnlee commented Dec 3, 2025

Release Notes:

  • N/A

Features

  • Show an Icon at the System Tray (StatusBar on macOS)
  • Native Context Menu for the Tray.
  • Submenu and menu event handle with check state support.
  • Icon Title (macOS only)
  • Tooltip
  • Toggle Visible

macOS

Screen.Recording.2025-12-03.at.10.57.36.mov

Windows

Implement the native menu for Windows is very complex.

So I introduce the muda for support.

And we also can base on this to build native menus in future for something other case (like the ContextMenu).

The native menu can overflow the window bounds, it's helpful for some smaller window case.

windows-tray.mp4

How to test

cargo run -p gpui --example tray

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Dec 3, 2025
@huacnlee
Copy link
Contributor Author

huacnlee commented Dec 4, 2025

Windows support has done.

@huacnlee huacnlee marked this pull request as ready for review December 5, 2025 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement community champion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants