Skip to content

Popped out code/shader editor only accepts some inputs when main editor is minimized #79788

Description

@Atraitus

Godot version

4.1.1.stable

System information

Godot v4.1.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3090 (NVIDIA; 31.0.15.3598) - AMD Ryzen 9 3950X 16-Core Processor (32 Threads)

Issue description

After popping out a code or shader editor window and minimizing the main editor window but not the code editor window, most keyboard inputs into the focused editor window are disabled (at least in a multimonitor system, I have not tested it in a single monitor setup but it does happen when both editors are on the same monitor). Backspace appears to work, and control functions (undo, redo, etc) appear to work, but space and other letter inputs do not add the specified character where the cursor is. The text editor cursor can still be moved in this case both with mouse and arrow keys and page up/down, but the mouse cursor does not change from the standard cursor to the text editor cursor when this happens.

This behavior is certainly unexpected to me, and while it can be managed by simply never minimizing the Godot editor and only swapping between the two windows, is very unintuitive.

Steps to reproduce

Open a new project.
Create a shader or script so that you have something to edit in the editor.
Pop out the code editor.
With the code editor not minimized, minimize the main Godot editor.
Give the code editor window focus.
Note how only partial keyboard input works and the mouse cursor does not show the text edit cursor when mousing over the editor.

Minimal reproduction project

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions