showDockIcon: false not working on macOS
Author: jamiebullockCreated Nov 20, 2020Updated Jul 29, 2026
Description
On macOS the dock icon is initially hidden, but when I click the menubar app, it appears, and the native app menu bar is also shown.
Steps to Reproduce the Problem
- Launch one of the examples that comes with menubar, e.g. hello-world
- Observe that no dock icon is visible
- Click the menubar icon
Expected Behaviour
No dock icon appears when the menubar icon is clicked
Actual Behaviour
A dock icon appears, along with a set of main app menus (Electron, File, View, Window, Help)
Specifications
- Menubar version: 9.0.1
- Platform: macOS 10.15 and 11.0.1
- Electron version: v9.3.4
Other information
Source: max-mapper/menubar