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

Fix find_next_valid_focus() freeze #62573

Merged
merged 1 commit into from
Jun 30, 2022
Merged

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Jun 30, 2022

Fixes #62564

find_next_valid_focus() will search for a focusable child and will go higher if it doesn't find one. What happened in #62564 was that the loop was going down and then back up, creating a weird cyclic loop. Turns out the original condition made sense, so now there's both of them :v

The new issue occurred in a dialog, which might explain why it wasn't triggered in master. But the fix is likely relevant for both branches.

@KoBeWi KoBeWi added bug regression cherrypick:3.x Considered for cherry-picking into a future 3.x release topic:gui labels Jun 30, 2022
@KoBeWi KoBeWi added this to the 4.0 milestone Jun 30, 2022
@KoBeWi KoBeWi requested a review from a team as a code owner June 30, 2022 22:31
@akien-mga akien-mga merged commit afdae67 into godotengine:master Jun 30, 2022
@akien-mga
Copy link
Member

Thanks!

@KoBeWi KoBeWi deleted the 🥶 branch June 30, 2022 23:12
@Rubonnek Rubonnek added the cherrypick:3.5 Considered for cherry-picking into a future 3.5.x release label Jul 1, 2022
@akien-mga akien-mga removed the cherrypick:3.5 Considered for cherry-picking into a future 3.5.x release label Jul 1, 2022
@akien-mga
Copy link
Member

Cherry-picked for 3.5.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[3.x] ProjectManager freezes upon project creation and Editor freezes when attempting to run the main scene
3 participants