- Electron version: 1.7.9
- Operating system: Linux (Ubuntu 17.04)
Expected behavior
The docs for MenuItem say:
- A
checkbox menu item will toggle the checked property on and off when selected.
- [...]
- You can add a
click function for additional behavior.
See repro for a sample app that creates a menu with a checkbox menu item. When I select it, I expect a checkmark to appear / disappear alternately.
I've seen #5055 but that seemed to be specifically about Tray.setContextMenu.
Actual behavior
A checkmark never appears.
How to reproduce
$ git clone https://github.com/jayfoad/electron-quick-start.git
$ cd electron-quick-start
$ git checkout 00f23c26eedac9d23bff0ee8935b5222b5d652cc
$ npm install
$ npm start