X Tutup
Skip to content

Prevent the dock from stealing focus when running the project.#114680

Merged
akien-mga merged 1 commit intogodotengine:masterfrom
MartinDelille:keep-script-editor-focus-when-run
Jan 10, 2026
Merged

Prevent the dock from stealing focus when running the project.#114680
akien-mga merged 1 commit intogodotengine:masterfrom
MartinDelille:keep-script-editor-focus-when-run

Conversation

@MartinDelille
Copy link
Contributor

@MartinDelille MartinDelille commented Jan 7, 2026

I noticed a regression in the current master branch: when the game is started while editing a script, the script editor loses focus which is inconvenient.

I used git bisect to find the commit that introduced this regression, which is 92ce6c7 from @KoBeWi.

I propose to change the focus_dock() call by a open_dock() call. What do you think about this change?

Bugsquad edit: Fix #114769

@akien-mga akien-mga merged commit 557e009 into godotengine:master Jan 10, 2026
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@MartinDelille MartinDelille deleted the keep-script-editor-focus-when-run branch January 11, 2026 08:58
rivie13 pushed a commit to rivie13/Phoenix-Agentic-Engine that referenced this pull request Feb 16, 2026
…editor-focus-when-run

Prevent the dock from stealing focus when running the project.
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.

Script editor loses focus when running the game

4 participants

X Tutup