Skip to content

Performance overlay can be broken by other layers #21095

Closed
@xster

Description

@xster

Run

void main() {
  runApp(new CupertinoApp(
      home: CupertinoPageScaffold(
          navigationBar: CupertinoNavigationBar(),
          child: Placeholder())));
}

and turn on the performance overlay.

screen shot 2018-08-27 at 7 54 07 pm

It gets clipped by a clip layer from the content below.

TransformLayer#5e392
 │ owner: RenderView#d1a52
 │ creator: [root]
 │ offset: Offset(0.0, 0.0)
 │ transform:
 │   [0] 2.0,0.0,0.0,0.0
 │   [1] 0.0,2.0,0.0,0.0
 │   [2] 0.0,0.0,1.0,0.0
 │   [3] 0.0,0.0,0.0,1.0
 │
 ├─child 1: OffsetLayer#4c3fc
 │ │ creator: RepaintBoundary ← _FocusScopeMarker ← Semantics ←
 │ │   FocusScope ← PageStorage ← Offstage ← _ModalScopeStatus ←
 │ │   _ModalScope<dynamic>-[LabeledGlobalKey<_ModalScopeState<dynamic>>#a52e8]
 │ │   ← _OverlayEntry-[LabeledGlobalKey<_OverlayEntryState>#f837c] ←
 │ │   Stack ← _Theatre ←
 │ │   Overlay-[LabeledGlobalKey<OverlayState>#e173c] ← ⋯
 │ │ offset: Offset(0.0, 0.0)
 │ │
 │ ├─child 1: PictureLayer#52289
 │ │   paint bounds: Rect.fromLTRB(0.0, 0.0, 375.0, 667.0)
 │ │
 │ └─child 2: OffsetLayer#b18e0
 │   │ creator: RepaintBoundary-[GlobalKey#82d7e] ← IgnorePointer ←
 │   │   Stack ← _CupertinoBackGestureDetector<dynamic> ← DecoratedBox ←
 │   │   DecoratedBoxTransition ← FractionalTranslation ←
 │   │   SlideTransition ← FractionalTranslation ← SlideTransition ←
 │   │   CupertinoPageTransition ← AnimatedBuilder ← ⋯
 │   │ offset: Offset(0.0, 0.0)
 │   │
 │   ├─child 1: PictureLayer#c4d91
 │   │   paint bounds: Rect.fromLTRB(0.0, 0.0, 375.0, 667.0)
 │   │
 │   └─child 2: ClipRectLayer#c2c0b
 │     │ clipRect: Rect.fromLTRB(0.0, 0.0, 375.0, 64.0)
 │     │
 │     └─child 1: BackdropFilterLayer#2ae16
 │       ├─child 1: PictureLayer#94c87
 │       │   paint bounds: Rect.fromLTRB(0.0, 0.0, 375.0, 64.0)
 │       │
 │       └─child 2: AnnotatedRegionLayer<SystemUiOverlayStyle>#60d94
 │           value: {systemNavigationBarColor: 4278190080,
 │             systemNavigationBarDividerColor: null, statusBarColor: null,
 │             statusBarBrightness: Brightness.light, statusBarIconBrightness:
 │             Brightness.dark, systemNavigationBarIconBrightness:
 │             Brightness.light}
 │           size: Size(375.0, 64.0)
 │
 ├─child 2: PerformanceOverlayLayer#bf57f
 └─child 3: PictureLayer#23747
     paint bounds: Rect.fromLTRB(0.0, 0.0, 750.0, 1334.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    engineflutter/engine repository. See also e: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions