Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Floating Game Window Title #101809

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

Hilderin
Copy link
Contributor

@Hilderin Hilderin commented Jan 19, 2025

This PR updates the Floating Game Workspace title to match the Game Window title. With this modification, the title will correspond to the game window title when embedding is not enabled.

The main challenge with this issue was ensuring that the Floating Window title is updated when a script changes the title within the game process. Since the Floating Window runs in the editor process, it had no way of knowing when the game title changed. The solution I implemented is to use the remote debugger to send the updated title to the editor.

I believe that using the remote debugger could eventually help resolve other issues where the embedded game window falls out of sync with the editor.

godot.windows.editor.dev.x86_64_37R8RUiVNU.mp4

@Hilderin Hilderin requested review from a team as code owners January 19, 2025 20:55
@Hilderin Hilderin added this to the 4.4 milestone Jan 19, 2025
Copy link
Member

@bruvzg bruvzg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to be working as expected.

@Repiteo Repiteo merged commit 7d8e079 into godotengine:master Jan 20, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Jan 20, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The project's window title isn't visible when using a floating game window
3 participants