Skip to content

[framework] dont hit test for systemnav style if there is no bottom window padding - #97771

Closed
jonahwilliams wants to merge 26 commits into
flutter:masterfrom
jonahwilliams:benchy_mc_benchface
Closed

jonahwilliams wants to merge 26 commits into
flutter:masterfrom
jonahwilliams:benchy_mc_benchface

Conversation

@jonahwilliams

@jonahwilliams jonahwilliams commented Feb 4, 2022 •

Copy link
Copy Markdown
Contributor

This means there is no bottom navigation bar, so the hit test is wasted. (at least, I think so...)

@flutter-dashboard flutter-dashboard Bot added p: cupertino_ui cupertino_ui package in flutter/packages framework flutter/packages/flutter repository. See also f: labels. labels Feb 4, 2022

@goderbauer goderbauer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

// bottom drawn pixel is at 1919 position.
bounds.bottom - 1.0 - _window.padding.bottom / 2.0,
);
final SystemUiOverlayStyle? upperOverlayStyle = layer!.find<SystemUiOverlayStyle>(top);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Would the same logic apply to the system status bar? Can this be skipped if there isn't viewPadding at the top?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good idea, let me check that...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

can you hide this on iOS or just Android?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'll follow up with this one another time

@jonahwilliams

Copy link
Copy Markdown
Contributor Author

g3 testing failures are due to binding change, I'll wait til that is resolved then rebase

@jonahwilliams

Copy link
Copy Markdown
Contributor Author

or maybe it is already fixed...

@jonahwilliams

Copy link
Copy Markdown
Contributor Author

So I have failing google3 tests due to the Bindings change, but I already pulled latest. how do I get frob to use a different base commit - do I need to rebase?

@goderbauer

Copy link
Copy Markdown
Member

I don't think there is a way for frob to do that. I think you just have to wait until that change rolled into google3, unfortunately. @renyou would know for sure.

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

Labels

framework flutter/packages/flutter repository. See also f: labels. p: cupertino_ui cupertino_ui package in flutter/packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.