Skip to content

electron: Re-set window title after page finishes loading#2487

Draft
rafaellehmkuhl wants to merge 1 commit intobluerobotics:masterfrom
rafaellehmkuhl:issue-2373-fix-electron-window-title
Draft

electron: Re-set window title after page finishes loading#2487
rafaellehmkuhl wants to merge 1 commit intobluerobotics:masterfrom
rafaellehmkuhl:issue-2373-fix-electron-window-title

Conversation

@rafaellehmkuhl
Copy link
Copy Markdown
Member

On Windows the HTML document title could override the Electron window title. Explicitly set it again in did-finish-load to ensure consistency.

Closes #2373

@rafaellehmkuhl
Copy link
Copy Markdown
Member Author

@ArturoManzoli could you test the binary of this one on Windows to see if it indeed fixes the bug?

@ArturoManzoli
Copy link
Copy Markdown
Contributor

@ArturoManzoli could you test the binary of this one on Windows to see if it indeed fixes the bug?

Tested over there and the window name is correct, but the app name on the task manager isn't. Take a look:

cockpit_windows_task_name

@rafaellehmkuhl
Copy link
Copy Markdown
Member Author

@ArturoManzoli could you test the binary of this one on Windows to see if it indeed fixes the bug?

Tested over there and the window name is correct, but the app name on the task manager isn't. Take a look:

Interesting. Will investigate more.

Thanks for the test!

On Windows the HTML document title could briefly override the
Electron window title. Explicitly set it again in did-finish-load
to ensure consistency.

Closes bluerobotics#2373
@rafaellehmkuhl rafaellehmkuhl force-pushed the issue-2373-fix-electron-window-title branch from 2f73859 to 0787b95 Compare March 12, 2026 18:58
@rafaellehmkuhl rafaellehmkuhl marked this pull request as draft April 7, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Name of the Cockpit window in Windows is wrong

2 participants