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

[macOS] Double click on any Run button resizes the editor window #96534

Closed
AdriaandeJongh opened this issue Sep 3, 2024 · 2 comments
Closed

Comments

@AdriaandeJongh
Copy link
Contributor

Tested versions

4.3 stable

System information

Godot v4.3.stable - macOS 14.6.1 - Vulkan (Mobile) - integrated Apple M3 Max - Apple M3 Max (14 Threads)

Issue description

Double click on the top of the editor window resizes it to full screen or the last known size, which is expected behavior. However, it also applies this behavior when you click on any of the buttons situated on the top of the window – like the play, pause, and stop buttons, for instance.

This would not be so annoying if it wasn't for the fact that running a game puts the focus on the game's window, and to click any button at all in the Editor it needs focus – which happens with a click. So one click brings back focus, while another click actually pressed the button underneath my mouse.... and together, they are a double click that ALSO resizes the window.

Screen.Recording.2024-09-03.at.17.21.17.mp4

Steps to reproduce

Double click on the play or stop buttons in the right top corner of the Godot editor.

Minimal reproduction project (MRP)

n/a

@bruvzg
Copy link
Member

bruvzg commented Sep 4, 2024

Can't reproduce it, it's possible to accidentally maximize the window by clicking exactly in between 2D/3D/Script buttons (and might be possible to do the same with button separators, but default theme seems to have no space there).

What's "Demo" menu? Is it from the plugin? Maybe adding it do something with the button container bounding box.

@AdriaandeJongh
Copy link
Contributor Author

This behavior also happens for me in an empty project, so it doesn't seem to have anything to do with plugins. However, your comment did remind me that I use a tool on Mac (as are many other power Mac users) that helps with window management called BetterSnapTool, and loathe and behold:

Screenshot 2024-09-04 at 11 44 50

After disabling that, the behavior described in this issue no longer happens.

Sorry about the false alarm @bruvzg – I see you did make a PR that at least addresses this partially, so I'm happy I didn't completely waste your time.

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

3 participants