godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.84k stars 20.15k forks source link

Script Editor sometimes loses window manager in X11 #95733

Open scotmcp opened 3 weeks ago

scotmcp commented 3 weeks ago

Tested versions

All version of 4.x that support windowized script editor

System information

Godot v4.3.stable.mono - Linux Mint 22 (Wilma) - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4060 Ti (nvidia; 535.183.01) - AMD Ryzen 7 5700X 8-Core Processor (16 Threads)

Issue description

When the script editor is windowized as a separate window from the godot engine, sometimes it loses it's windows manager and become unmanaged on the desktop. This only seems to happen to the script window, it does not happen to main engine window nor to other applications on the system, just the script editor window.

Steps to reproduce

It's random. I am not sure I have reliable steps to reproduce...it happens more often when resuming a session after the screen saver has started, but I can't say that's very reliable either.

Minimal reproduction project (MRP)

This doesn't seem to be related to a project or it's contents.

Calinou commented 3 weeks ago

it happens more often when resuming a session after the screen saver has started

Does your entire system go to sleep when doing so, or just the monitor? See https://github.com/godotengine/godot/issues/52738.

scotmcp commented 3 weeks ago

I don't have my system configured to suspend or go to sleep because Godot doesn't like that at all.