Skip to content

Conversation

@Hixie
Copy link
Contributor

@Hixie Hixie commented Apr 25, 2017

Also:

  • Add three explicit sizing modes to Stack for non-positioned
    children: loose, expand, and passthrough. (All three are used.)

  • Fix a bug whereby layers would try to paint in the same frame as
    they were removed from layout (but not detached).

  • Fix a bug whereby Offstage wasn't properly marking the parent dirty
    when changing its sizedByParent flag.

  • Explicitly make Overlay expand non-positioned children.

  • Explicitly have InputDecoration pass through the constraints from
    its Row to its Stack children.

@Hixie
Copy link
Contributor Author

Hixie commented Apr 25, 2017

Fixes #5381

Copy link
Contributor

Choose a reason for hiding this comment

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

StackFit

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor

Choose a reason for hiding this comment

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

It would be more efficient if you didn't do this as an override. The default value is just to call through to the super class, so you've made this polymorphic with needing to. Instead, set offstage can call markParentNeedsLayout directly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added a markNeedsLayoutForSizedByParentChange method.

@abarth
Copy link
Contributor

abarth commented Apr 25, 2017

LGTM

Also:

 * Add three explicit sizing modes to Stack for non-positioned
   children: loose, expand, and passthrough. (All three are used.)

 * Fix a bug whereby layers would try to paint in the same frame as
   they were removed from layout (but not detached).

 * Fix a bug whereby Offstage wasn't properly marking the parent dirty
   when changing its sizedByParent flag.

 * Explicitly make Overlay expand non-positioned children.

 * Explicitly have InputDecoration pass through the constraints from
   its Row to its Stack children.
@Hixie
Copy link
Contributor Author

Hixie commented Apr 25, 2017

will check in on green unless i hear otherwise first

@Hixie Hixie merged commit 596eb03 into flutter:master Apr 25, 2017
@Hixie Hixie deleted the stack branch April 25, 2017 22:06
amirh added a commit to amirh/flutter that referenced this pull request Jul 1, 2019
```
45b66b7 Revert " Roll src/third_party/dart b37aa3b036...1eb113ba27 (flutter#9559)" (flutter#9584)
fc1d86b Revert "Avoid a full screen overlay within virtual displays (flutter#9343)" (flutter#9581)
140b2ae  Roll src/third_party/dart b37aa3b036...1eb113ba27 (flutter#9559)
94bb7a7 Adds API for retaining intermediate engine layers (flutter#9461)
7d1508d Roll fuchsia/sdk/core/mac-amd64 from cFEtOUFvy2XYSKuSmCMDaMQV8_Y7GOif521L3x86J_4C to n9fZpXVmsbgKZzS8Q2GXxB453q8AbLpfGztsPsq47pMC (flutter#9579)
7a0bbf9 Fixed memory leak by way of accidental retain on implicit self (flutter#9329)
```
amirh added a commit that referenced this pull request Jul 1, 2019
```
45b66b7 Revert " Roll src/third_party/dart b37aa3b036...1eb113ba27 (#9559)" (#9584)
fc1d86b Revert "Avoid a full screen overlay within virtual displays (#9343)" (#9581)
140b2ae  Roll src/third_party/dart b37aa3b036...1eb113ba27 (#9559)
94bb7a7 Adds API for retaining intermediate engine layers (#9461)
7d1508d Roll fuchsia/sdk/core/mac-amd64 from cFEtOUFvy2XYSKuSmCMDaMQV8_Y7GOif521L3x86J_4C to n9fZpXVmsbgKZzS8Q2GXxB453q8AbLpfGztsPsq47pMC (#9579)
7a0bbf9 Fixed memory leak by way of accidental retain on implicit self (#9329)
```
johnsonmh pushed a commit to johnsonmh/flutter that referenced this pull request Jul 30, 2019
```
45b66b7 Revert " Roll src/third_party/dart b37aa3b036...1eb113ba27 (flutter#9559)" (flutter#9584)
fc1d86b Revert "Avoid a full screen overlay within virtual displays (flutter#9343)" (flutter#9581)
140b2ae  Roll src/third_party/dart b37aa3b036...1eb113ba27 (flutter#9559)
94bb7a7 Adds API for retaining intermediate engine layers (flutter#9461)
7d1508d Roll fuchsia/sdk/core/mac-amd64 from cFEtOUFvy2XYSKuSmCMDaMQV8_Y7GOif521L3x86J_4C to n9fZpXVmsbgKZzS8Q2GXxB453q8AbLpfGztsPsq47pMC (flutter#9579)
7a0bbf9 Fixed memory leak by way of accidental retain on implicit self (flutter#9329)
```
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants