When clicking on the menubar icon, the main app window is always displayed on the 1st (main) display, even when clicking the tray icon on the 2nd display.
(Left: external (main) display — Right: macbook display. I'm clicking on the tray icon on the right display, the window opens on the left one.)
Expected
The app window should open on the display where the icon has been clicked.
More info
This bug happens on my own Electron app.
It also happens with the latest IPFS Desktop release.
However, when using "classic" Menubar, without any specific option, this bug does not happen anymore.
I couldn't get to adapt electron-menubar to make it work with multiple displays. Instead, it was easier to fix menubar to correctly behave on Windows, while still behaving perfectly with multiple displays.
Hey,
Context
Issue
When clicking on the menubar icon, the main app window is always displayed on the 1st (main) display, even when clicking the tray icon on the 2nd display.
(Left: external (main) display — Right: macbook display. I'm clicking on the tray icon on the right display, the window opens on the left one.)
Expected
The app window should open on the display where the icon has been clicked.
More info
This bug happens on my own Electron app. It also happens with the latest IPFS Desktop release.
However, when using "classic" Menubar, without any specific option, this bug does not happen anymore.
E.g. positioning works fine with Menubar:
While it does not with electron-menubar: