-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Button does not show "hover" StyleBox when project started in fullscreen on MacOS until cmd-tabbing out and back in #94944
Comments
@paskausks have you tested it with the latest 4.3 build? |
@coppolaemilio Just tried the MRP on 4.3.rc1 and couldn't reproduce it, so this seems to already be fixed! Now I'm curious to try and launch my main project from 4.3 and see what happens, so please don't close this yet. |
Also, make sure you are using the bundled |
@bruvzg hey! This issue was occuring when launching from the edditor itself, but in my attemps to run it from an exported app, i opened it via the bundled app pulled out from the dmg. But thanks for letting me know, this is useful information! |
I converted my main project to 4.3 to try and see, if I can reproduce this, and I can't seem to reproduce the issues (including the bugs related with I'm happy to know that all I have to do is for 4.3 stable to come out, but, yet I am curious what the underlying was in the first place. This can probably be closed then. I'll reopen it, if it crops up again with 4.3 stable. |
If you have time to test some earlier beta/dev snapshots of 4.3 (on a copy of your project) to pinpoint which is the first snapshot that fixed the bug, that might help identify the PR and see if it's suitable for cherry-picking to 4.2.x. For now, closing as fixed in 4.3. |
@akien-mga hey! I unfortunately couldn't launch my main project on the 4.3 dev snapshots but, I took the reproduction project I posted and tried that. I could repro the issue up until and including Updated the tested version list accordingly. |
Tested versions
Reproduced in 4.2.2 stable from both, an Intel i5 MacBook Pro (Monterey 12.6) and a 2021 M1 Macbook Pro (Monterey 12.2.1), as well as:
Not reproduced in 4.3dev6 and 4.3.rc1 on an Intel i5 MacBook Pro (Monterey 12.6)
System information
Godot v4.2.2.stable - macOS 12.6.0 - Vulkan (Forward+) - integrated Intel(R) Iris(TM) Plus Graphics 640 - Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz (4 Threads)
Issue description
There seems to be an issue on MacOS, on Godot 4 when launching a project in full screen or exclusive fullscreen modes
buttons don't show the StyleBox set in its theme for hovering until you either:
This happens when the project is launched from both - the editor and exported out.
There seems to be no issue when the application is launched directly in windowed mode.
Changing the renderer (forward+, compatibility, mobile) seems to have no effect. Turning VSync on/off has no effect. I didn't notice this issue on Windows or Linux systems.
This is probably related - playing in full screen on MacOS without having done any of the mentioned things above also seems to bug out logic which uses
InputEventMouseMotion#position
, but I haven't narrowed down what exactly is wrong there, so that's why I present it as aButton
bug which is way easier to explain and reproduce, even though this bug is probably not an issue with theButton
itself.Steps to reproduce
Minimal reproduction project (MRP)
mac-hover-MRP.zip
The text was updated successfully, but these errors were encountered: