#413·menubar

Menubar showing empty white screen with no content, but shows content on the desktop app and the website.

Author: shanjairaj7Created Jan 16, 2023Updated Nov 11, 2025

This is the setup for showing the Menubar and the Desktop app.

The index.html content is shown for the website and the desktop app but does not show anything in the menubar, just a white blank screen.

code image image image

Steps to Reproduce the Problem

  1. I have a basic electron project setup with a electron.js file with menubar js code for creating a menubar and the basic code for creating a window. And I am linking the index.html to both.

Expected Behaviour

Its supposed to show the same index.html content that it shows for the desktop app, for the menubar as well.

Actual Behaviour

But it's not showing anything in the menubar, but shows the index.html content in the website and the desktop app.

Specifications

  • Menubar version: "menubar": "^9.2.3",
  • Platform: M1
  • Electron version: "electron": "^22.0.2",