Skip to content

Bug: ImGui + Console Input Interaction Issue #1686

@OrsellGit

Description

@OrsellGit

Describe the bug

When you have an ImGui window with text input and open the console, focus from the ImGui window doesn't switch to the console. A single click in the Console text box doesn't work. However, if you double-click the console, you leave ImGui focus and get Console focus, but ALL of ImGui breaks. The original window with the InputText freezes, the menu bar freezes, other non-related windows freeze, and you can't interact with or close them again unless you do it through the console.

I have included a video to demonstrate.

To Reproduce

Open an ImGui window that has text input (Ex. Sever Script Console). Start doing inputs.
Open the console. Start doing inputs, you see console doesn't pick it up.
Double-click the console. Start doing inputs, console picks it up now.
Try clicking the ImGui window, it can no longer be interacted with and every other ImGui window is frozen.

Issue Map

No map needed, anywhere ImGui and console works.

Expected Behavior

Focus should switch, but also when it does ImGui shouldn't completely freeze.

Operating System

Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugThis is a problem with something that should be working one way, but isn't.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions