Skip to content

Fix error spam when resizing a control in a zero size parent with anc…#116688

Open
YeldhamDev wants to merge 1 commit intogodotengine:masterfrom
YeldhamDev:anchors_mode_error_fix
Open

Fix error spam when resizing a control in a zero size parent with anc…#116688
YeldhamDev wants to merge 1 commit intogodotengine:masterfrom
YeldhamDev:anchors_mode_error_fix

Conversation

@YeldhamDev
Copy link
Member

When one attempts to resize a Control node that is inside a parent where either size axis are 0 while "anchors mode" is enabled, the output is spammed with this error:

INTERNAL ERROR: Condition "parent_rect_size.x == 0.0" is true.

With this PR, it instead spams shows a toaster telling what is happening, and what to do to stop it.

@YeldhamDev YeldhamDev added this to the 4.7 milestone Feb 23, 2026
@YeldhamDev YeldhamDev requested a review from a team as a code owner February 23, 2026 21:07
@YeldhamDev YeldhamDev added bug topic:editor topic:gui cherrypick:4.6 Considered for cherry-picking into a future 4.6.x release labels Feb 23, 2026
@YeldhamDev YeldhamDev force-pushed the anchors_mode_error_fix branch from 1130b3f to 95af5ef Compare February 23, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug cherrypick:4.6 Considered for cherry-picking into a future 4.6.x release topic:editor topic:gui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant