Skip to content

Detached script editor can become frozen with multiple, differing resolution monitors on Windows #79187

Description

@Flynsarmy

Godot version

4.1.stable

System information

Windows 11, geForce 3070 TI

Issue description

I have 3 monitors:

  1. Monitor1 - leftmost, windows primary monitor, no windows open on it, 2K resolution
  2. Monitor2 - center, godot window, 4K resolution
  3. Monitor3 - rightmost, detached script editor window, 4K resolution

After I press F1 key, then clicking on the script editor it can now no longer be used. Clicking on it doesn't do anything, can't access the File/Edit/Search etc menus. Pressing escape doesn't help. Pressing the cross at the top right doesn't do anything.

Only way to fix is to close and re-open Godot.

Steps to reproduce

Have multiple monitors with differing resolutions. Make your lower resolution monitor your primary monitor then open Godot and detach the script editor. Leave them on your higher resolution monitor. Press F1 then click on the script editor. If the F1 menu didn't appear on your primary monitor, you are now out of luck.

Minimal reproduction project

No project. I can confirm resolution is the problem with the F1 menu though, as if I DONT detach the script editor and press F1, I see this:
image

Clicking and drawwing the incorrectly sized F1 window at all resizes it to the correct resolution:
image

It really should open with the correct resolution and in the center of the same monitor as the script editor.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions