Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimum window size of the editor is too large, especially for standard 1920x1080 monitors #99369

Open
musjj opened this issue Nov 17, 2024 · 4 comments

Comments

@musjj
Copy link

musjj commented Nov 17, 2024

Tested versions

  • Reproducible in v4.3.stable.mono [77dcf97].

System information

Godot v4.3.stable.mono (77dcf97) - cpe:/o:nixos:nixos:25.05 #1-NixOS SMP PREEMPT_DYNAMIC Thu Nov 14 12:19:41 UTC 2024 - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 550 / 550 Series (RADV POLARIS12) - 12th Gen Intel(R) Core(TM) i7-12700F (20 Threads)

Issue description

On Gnome, you cannot tile Godot's window with the built-in edge tiling feature if your monitor's size is too small. This is because when you tile a window, Gnome needs to resize the window to either the left or right half portion of your screen. If the window can't be resized to fit half the width of your screen, Gnome will simply not tile it.

Godot currently hard-codes the minimum window size to an unusually large 1024x876, which means it is impossible to tile on a standard 1920x1080 monitor. This seriously hurts usability, like when you want to tile Godot and your IDE side-by-side.

Steps to reproduce

  1. Attempt to tile Godot in a Gnome environment, by dragging the window to either the left or right edge of your screen.

Minimal reproduction project (MRP)

N/A

@adamscott adamscott changed the title Godot cannot be tiled on Gnome (Linux) Minimum window size of the editor is too large, especially for standard 1920x1080 monitors Nov 17, 2024
@adamscott
Copy link
Member

Renamed the issue as this doesn't seem per se a Gnome specific problem.

@bruvzg
Copy link
Member

bruvzg commented Nov 17, 2024

Min. size was selected to ensure all UI elements fit and are usable, simply changing it won't work.

It's more an issue with a GNOME than with Godot, for example macOS tiling and side-by-side full-screen handle it without issues and simply fill more than a half of the screen when doing it on a small screen.

@tetrapod00
Copy link
Contributor

tetrapod00 commented Nov 17, 2024

See also godotengine/godot-proposals#7156, #84114, #95681, #97878.
As far as I know, the main things contributing to a large minimum horizontal width are the bottom panel and the workspace toolbar. If both of those can be changed to require a smaller minimum width, then I believe the Godot editor can have a minimum width of less than 960 pixels.

@musjj
Copy link
Author

musjj commented Nov 17, 2024

Min. size was selected to ensure all UI elements fit and are usable,

I understand, but the min size is still too big IMO. Blender's window can be as small as 320x240 and it works just fine. And Blender's UI is as complex (or more) as Godot.

I also tested other applications like Chrome, Firefox, Visual Studio Code and they all are just as resizable.

See also godotengine/godot-proposals#7156, #84114, #95681, #97878.

Thanks for the links! Glad that there are people working on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants