I'm making this ticket so others know that I'm working on making the Mac OS menu-bar icon (distinct from the dock icon) an option, along with allowing "minimize-to-tray" and "minimize-on-close" to work with that. (I don't think there's a ticket open for this, but if so, just let me know. There is #1522, but it is tangential.)
Mac OS: enable optional menu bar icon (with drop-down menu, minimize-to-tray/minimize-on-close equivalents) #2360
issue L2G opened this issue on March 12, 2013-
L2G commented at 7:14 PM on March 12, 2013: contributor
-
L2G commented at 7:31 PM on March 12, 2013: contributor
-
L2G commented at 7:40 PM on March 12, 2013: contributor
Aside: I just discovered the new checklist markup. Could be useful!
Excerpt from current draft validation plan:
Window close, no minimize options
Steps
- Start Bitcoin-Qt.
- Open Preferences and choose "Window."
- Ensure no checkboxes are checked/ticked.
- Click OK.
- Hit the window-close button on the main window.
Expect
- The window should close.
- Bitcoin-Qt should quit.
- The dock should not show Bitcoin-Qt to be running (either no icon, or icon present without the "LED").
Result (choose one)
- PASS
- FAIL
-
Diapolo commented at 9:19 PM on March 20, 2013: none
Can you also post some screens, when you invent something new for Mac as this strange world is nothing I have access to ^^.
-
L2G commented at 1:03 AM on March 21, 2013: contributor
Absolutely!
In this case, happily, a lot of the code is already in place and just needs to be freed from
#ifndef Q_OS_MACblocks. -
L2G commented at 5:46 AM on March 24, 2013: contributor
Here's what we're talking about:

This is the upper-right corner of the Mac OS desktop, what Apple calls the "status menus." It's equivalent to the system tray in Windows. As far as I can tell, all of the system-tray-related stuff in Qt goes here when built on the Mac. All I did to get to this point was remove most of the
#ifndef Q_OS_MACconditionals from the code. It will take more work than that, of course. -
laanwj commented at 3:21 PM on November 12, 2013: member
How is this going? Any progress?
-
laanwj commented at 12:01 PM on January 10, 2014: member
Closing due to lack of communication, let me know if you make any progress and this needs to be reopened.
- laanwj closed this on Jan 10, 2014
- DrahtBot locked this on Sep 8, 2021