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: Editor window cannot be dragged by the title bar, or lags considerably when dragged #66684

Open
guykayjay opened this issue Sep 30, 2022 · 8 comments

Comments

@guykayjay
Copy link

guykayjay commented Sep 30, 2022

Godot version

4.0.beta2

System information

macOS 12.6 on M1 Max

Issue description

On macOS 12.6 (Apple silicon), sometimes the editor window isn't draggable, and when it can be dragged, the window lags considerably. It can be resized at the corners and edges no problem - this only affects clicking and dragging the editor by the title bar area and affects all areas of that part of the window equally. I don't know why the window can be dragged sometimes and why it can't other times. This issue is NOT present in 4.0.beta1.

The lagging you see in the video below is not caused by the screen recording - this the actual lag. No other windows are affected by this issue so I have to assume it's a Godot bug.

Screen.Recording.2022-09-30.at.5.06.27.PM.mp4

Steps to reproduce

Open the full editor on macOS 12.6 with Apple silicon and try to drag the window around by the title bar area.

@Chaosus Chaosus added this to the 4.0 milestone Oct 1, 2022
@Chaosus Chaosus moved this to To Assess in 4.x Priority Issues Oct 1, 2022
@Chaosus Chaosus moved this from To Assess to Todo in 4.x Priority Issues Oct 1, 2022
@cbscribe
Copy link
Contributor

cbscribe commented Oct 1, 2022

MacOS fullscreen button does nothing in this state. However, if you double-click the title bar the window shrinks and becomes movable.

@akien-mga
Copy link
Member

Is this still reproducible in 4.0 RC 3 or later?

@akien-mga akien-mga modified the milestones: 4.0, 4.x Feb 22, 2023
@guykayjay
Copy link
Author

@akien-mga Yes, this issue is still reproducible in 4.0.rc3

@bruvzg
Copy link
Member

bruvzg commented Feb 22, 2023

Can't reproduce. Is the rest of the editor interface lagging as well? As a workaround, you can use default macOS title bar (uncheck Interface -> Expand to title in the Editor Settigns).

@Nima-Jamalian
Copy link

The issue still exists in Godot 4.1.1.

@passivestar
Copy link
Contributor

Godot v4.1.1.stable - macOS 13.5.2 - Vulkan (Forward+) - integrated Apple M1 Max - Apple M1 Max (10 Threads)

When I start dragging either the editor window or game window there's a significant lag. After that lag I can move it around freely. This is me doing click -> drag -> click -> drag repeatedly (releasing LMB after each drag):

g4window.mp4

It's especially painful to have on the game window, because while working with a single display I move it around a lot

@lostminds
Copy link

Could this perhaps be the same issue as #82675 and a more general editor refresh/update issue on Apple Silicon macs when using Mobile / Forward + (perhaps Metal-backed) renderers? You could try and see if you have the same issues with the editor setting "Update Continuously" enabled, or when using the editor in Compatibility mode, which both fix the update issues for me.

@SimplyPhy
Copy link

Some updates on this (using M1 Max on MacOS 14.2.1):

  • Issue still occurs in 4.2.1 and 4.3r2
  • Issue doesn't occur in Project Selection window when starting Godot, only once you're in a project
  • Editor Setting "Update Continuously - On" doesn't change the behavior for me
  • Editor Setting "Interface -> Expand to title - Off" DOES fix this for me (thanks @bruvzg )
  • Moving window around is indeed a bit laggy, but not that big a deal.

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

10 participants