electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.61k stars 1.74k forks source link

"Ozone X11" initially displayed in window title #6931

Closed lukas2 closed 2 years ago

lukas2 commented 2 years ago
Screenshot 2022-06-09 at 17 24 39

When the finished app starts, initially, and for a brief moment, the text "Ozone X11" is displayed in the title bar - before the actual correct title is displayed. I have experimented with several app specific settings but no luck.

I have also tried setting desktop.Name in electon-builder config .. no change.

It's not clear if this is an electron-builder issue, but maybe it will ring a bell for someone if I post it here.

Any help is appreciated.

mmaietta commented 2 years ago

When you say "before the actual correct title is displayed", was this for a previous version of electron-builder with the same electron 17? Or was electron also updated?

lukas2 commented 2 years ago

No I mean let's say the title of the app is "My great App" Then the title bar looks like this during startup:

  1. [ ( EMPTY ) ]
  2. [ Ozone X11 ]
  3. [ My great App ]

Number 3 is correct.

Number 1 doesn't matter (can be initially empty for a few seconds)

The bug is that number 2 is shown.

mmaietta commented 2 years ago

That didn't answer either of my questions. Right now, it seems like a side effect of electron, unrelated to a packager, such as electron-builder

mmaietta commented 2 years ago

https://github.com/electron/electron/issues/34467