Skip to content

Revert "Adds geometry dirty nodes (#180375)" - #184344

Closed
chunhtai wants to merge 1 commit into
flutter:masterfrom
chunhtai:revert-geometry
Closed

chunhtai wants to merge 1 commit into
flutter:masterfrom
chunhtai:revert-geometry

Conversation

@chunhtai

Copy link
Copy Markdown
Contributor

This reverts commit 1797fe2.

this is a straight revert
the original pr introduced internal breakage. #184036

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

@github-actions github-actions Bot added framework flutter/packages/flutter repository. See also f: labels. a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) labels Mar 30, 2026
@chunhtai chunhtai added the CICD Run CI/CD label Mar 30, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request simplifies the semantics update process in PipelineOwner by consolidating _nodesNeedingSemanticsUpdate and _nodesNeedingSemanticsGeometryUpdate into a single _nodesNeedingSemantics set. It removes the complex multi-phase geometry tracking and ancestor caching logic, including the removal of computeAncestorInfo and parentInSemanticsTree. The flushSemantics method now performs updates more directly, and markNeedsUpdate has been updated to clear geometry and parent data for ancestors up to the semantics boundary. I have no feedback to provide.

@justinmc justinmc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert LGTM 👍

@chunhtai chunhtai added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 30, 2026
@auto-submit auto-submit Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Mar 30, 2026
@auto-submit

auto-submit Bot commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

autosubmit label was removed for flutter/flutter/184344, because - The status or check suite Google testing has failed. Please fix the issues identified (or deflake) before re-applying this label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) CICD Run CI/CD framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants