Closed linonetwo closed 2 months ago
Fixed by adding showDockIcon: true,
const menuBar = menubar({
index: MAIN_WINDOW_WEBPACK_ENTRY,
tray,
activateWithApp: false,
showDockIcon: true,
preloadWindow: true,
tooltip: i18n.t('Menu.TidGiMenuBar'),
browserWindow: mergeDeep(windowConfig, {
show: false,
minHeight: 100,
minWidth: 250,
}),
});
Description
Usually on mac, app's main window will have menus when focused
But after using menubar window, Main window can't have its own menu, also it is not shown in the docker
Steps to Reproduce the Problem
src/services/windows/handleAttachToMenuBar.ts
Expected Behaviour
Can have icon in docker and have menu.
Actual Behaviour
Feels like main window is not exist. No docker icon, and can't focus on it to get menus. (While still can click on main window)
Specifications
Other information