Skip to content

Script editor loses focus when running the game #114769

Description

@nyaro-p

Tested versions

  • Reproducible in: 4.6.dev5 to currently latest 4.6.beta3
  • Not reproducible in: 4.6.dev4 and earlier

System information

Godot v4.6.beta3 - Windows 11 (build 26100) and CachyOS Hyprland 0.53.1 (Wayland), not OS specific - Multi-window, 1 monitor - Vulkan (Forward+) - integrated AMD Radeon (TM) Graphics (Advanced Micro Devices, Inc.; 31.0.21024.2004) - AMD Ryzen 5 5625U with Radeon Graphics (12 threads) - 13.84 GiB memory

Issue description

Starting with 4.6.dev5 script editor loses focus after starting and closing the game. Inputs like Ctrl-Z then unintuitively apply to the scene and not the code.

Steps to reproduce

  1. Work in the script editor
  2. Run the project (via F5 or button)
  3. Stop running the project (via F8 or other)
  4. Type on keyboard or use a shortcut, e.g. Ctrl+Z
  5. Input is registered by the scene and not the script editor

Minimal reproduction project (MRP)

N/A

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions