-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Revert ActivateAction PR #41945
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
Revert ActivateAction PR #41945
Conversation
HansMuller
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RSLGTM
09efc6c to
a758808
Compare
|
I'm also reverting the shortcuts for keyboard traversal (#40186), since they won't function properly unless the |
5d36193 to
8b54a03
Compare
Codecov Report
@@ Coverage Diff @@
## master #41945 +/- ##
==========================================
- Coverage 59.31% 58.69% -0.62%
==========================================
Files 194 193 -1
Lines 18934 18882 -52
==========================================
- Hits 11230 11083 -147
- Misses 7704 7799 +95
Continue to review full report at Codecov.
|
This attempts to reland #40186 and #41220, that were reverted in #41945. The main modifications from the original PRs are that I predefine the shortcuts and actions maps instead of defining them inline in the build function, and I use a new mapEquals to do a deep comparison so that we don't rebuild modified things if the contents of the map haven't changed. I also eliminated an operator== and hashCode that were defined on the Actions widget, since widgets shouldn't have those. (it's too bad though: I get an 85% speedup if we leave this in! Too bad it prevents rebuilding of the children...) Fixes #40101
This attempts to reland flutter#40186 and flutter#41220, that were reverted in flutter#41945. The main modifications from the original PRs are that I predefine the shortcuts and actions maps instead of defining them inline in the build function, and I use a new mapEquals to do a deep comparison so that we don't rebuild modified things if the contents of the map haven't changed. I also eliminated an operator== and hashCode that were defined on the Actions widget, since widgets shouldn't have those. (it's too bad though: I get an 85% speedup if we leave this in! Too bad it prevents rebuilding of the children...) Fixes flutter#40101
Reverts #41220 because of a performance regression in
microbenchmarks_stock_build_iteration(#41919). Will investigate and re-land next week.Fixes #41919