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

Use native window drag handles on macOS when Expand to Title is enabled, making window tiling functional #11214

Open
D4r3NPo opened this issue Nov 22, 2024 · 2 comments · May be fixed by godotengine/godot#99642 or godotengine/godot#80891

Comments

@D4r3NPo
Copy link

D4r3NPo commented Nov 22, 2024

Describe the project you are working on

Any of my godot project.

Describe the problem or limitation you are having in your project

Since MacOS Sequoia, window can be drag on screen edge to effortlessly arrange them into side-by-side tiles. (Like on Windows OS)
But Godot editor is not detected by the screen edge. (While Godot player windows are)
It is still possible to use the green button on top of godot editor window to use layout but it is less ... effortless.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Add custom edge detection or make godot editor more like a "normal" MacOS window to allow the default detection

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Same behavior as other MacOS windows, drag the window one screen edges, or in combinaison with option key will tile Godot editor window

If this enhancement will not be used often, can it be worked around with a few lines of script?

I estimate it will be use by near every MacOS user each time they use the Godot Editor

Is there a reason why this should be core and not an add-on in the asset library?

I assume it's a light and very useful feature for all MacOS user.

@bruvzg bruvzg self-assigned this Nov 22, 2024
@Calinou
Copy link
Member

Calinou commented Nov 22, 2024

Thanks for the report! Consolidating in godotengine/godot#36373, as this is due to the same cause.

@bruvzg
Copy link
Member

bruvzg commented Nov 22, 2024

Consolidating in godotengine/godot#36373, as this is due to the same cause.

Not related, it's caused by our custom title bar implementation, not by window size.

@Calinou Calinou changed the title MacOS Sequoia window tiling for Godot editor Use native window drag handles on macOS when Expand to Title is enabled, making window tiling functional Nov 22, 2024
@Calinou Calinou reopened this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment