Installer icon indicating copy to clipboard operation
Installer copied to clipboard

Title bar being removed/updated on pressing back button

Open SmolAlli opened this issue 1 year ago • 0 comments

Describe the bug The title for the installer will disappear on the taskbar and when hovering over the application. image image

To Reproduce Steps to reproduce the behavior:

  1. Open up the installer
  2. Accept license agreement and go to next page
  3. Press 'back' button
  4. The title will have disappeared.

Solution I didn't think this was worth making my own PR so I'll just leave the solution here In the createMainWindow function in index.js you can add this code to prevent the title from being updated whatsoever after window creation. This mitigates the issue.

// Prevents the page title from being updated
window.on('page-title-updated', (e) => {
    e.preventDefault();
});

SmolAlli avatar Jun 22 '24 00:06 SmolAlli