Skip to content

Title bar being removed/updated on pressing back button #375

@SmolAlli

Description

@SmolAlli

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();
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions