flutter / flutter/devtools

Bug when hovering on children inside hovercard

オープン
#5,928 コメント 1 件 リアクション 0 件 担当者 1 名 @CoderDake が担当を希望しています GitHub で見る
fix it friday P2
主要言語
Dart
スター
1.7k
フォーク
404
平均マージ
6日 17時間
マージ済み PR(30日)
18

説明

![Screenshot 2023-06-19 at 4 50 16 PM](https://github.com/flutter/devtools/assets/1386322/a78e6f8c-46aa-4ee5-b783-c9dd025e73d0)
Reproduction
- hover over any element element
- hover over `_parent` or any of the other fields below
- bug should occur

```
flutter: [ERROR]: [FlutterError]: Cannot hit test a render box that has never been laid out.
The hitTest() method was called on this RenderBox: _RenderDeferredLayoutBox#e536c NEEDS-LAYOUT NEEDS-PAINT:
needs compositing
creator: _DeferredLayout ← _OverlayPortal ← OverlayPortal ← Tooltip ← DevToolsTooltip ← DisplayProvider ← Expanded ← Row ← Padding ← Container ← _TreeViewItem ← RepaintBoundary ← ⋯
parentData: not positioned; offset=Offset(0.0, 0.0)
constraints: MISSING
size: MISSING
Unfortunately, this object's geometry is not known at this time, probably because it has never been laid out. This means it cannot be accurately hit-tested.
If you are trying to perform a hit test during the layout phase itself, make sure you only hit test nodes that have completed layout (e.g. the node's children, after their layout() method has been called).
Another exception was thrown: Cannot hit test a render box that has never been laid out.
Another exception was thrown: 'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 205 pos 12: '!_debugDuringDeviceUpdate': is not true.
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。