godotengine / godot

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

Cannot downsize an editor popup window once it's as high as the whole editor #87038

Open hakro opened 9 months ago

hakro commented 9 months ago

Tested versions

System information

Godot v4.2.1.stable - Ubuntu 22.04 - X11 - GLES3 (Compatibility) - Mesa Intel(R) Graphics (RPL-P) () - 13th Gen Intel(R) Core(TM) i7-13700H (20 Threads)

Issue description

This is an issue in the editor itself. When enabling Single Window Mode in the Editor settings, if you open any window (e.g the Project Settings window), and scale drag it's upper and lower borders respectively up and down, You'll end up with that window as high as the editor itself. However, there is no way to scale it back down by reverting those actions. The scaling cursors do not appear at all. The only thing you can do is drag the popup window left and right. Closing the popup and reopening it does not help, as its state is saved.

Screenshot_20240110_120515

2 possible Workarounds :

Steps to reproduce

Minimal reproduction project (MRP)

No need. Any project will do, as this is an editor thing.

Calinou commented 9 months ago

This can probably be resolved by limiting the maximum size of popups to ~95% of the editor window size when in single-window mode, whether they pop up at such a size or are manually resized using handles.