WinBar adds another MacVim menu in the menu bar

If a window toolbar (:help WinBar) is added to a window, an additional MacVim menu appears in the app's menu bar (see screenshot below).

Detailed steps to reproduce the behavior:

  1. gvim --clean
  2. :nnoremenu 1.10 WinBar.Foo :Bar<cr>

I would expect that the window toolbar does not affect the app's menu bar. Alternatively, if a window toolbar is supposed to be replicated in the menu bar, it should be on the far right with a proper name (WinBar?) and its menu entries should be working.

macvim-toolbar-menu

  • Vim 8.1.1517
  • macOS 10.14.5