flutter / flutter/devtools

Unexpected Inspector behavior with package roots

未关闭
#8,265 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug P2 screen: inspector
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

In this screenshot:

- I am running the `standalone_ui/editor_sidebar` run configuration in the devtools_app project.
- I used the inspector & select widget mode to select the column in the mock editor (from `mock_editor_widget.dart`)
- In the summary tree, nothing below the `SizedBox` widget from the `SplitPane` is present.
- In the details tree, the Column I have selected is present.
- The `mock_editor_widget.dart` file exists under `devtools_app/test/` and one of the pub root directories is `/Users/path/to/devtools_app`, so widgets created in this location should be included in the summary tree.

![Screenshot 2024-08-28 at 10 08 49 AM](https://github.com/user-attachments/assets/df7532e0-11d0-41d7-b7ca-d3dfd7a8f9b9)

贡献指南

打开贡献指南

调研方向

从 standalone_ui/editor_sidebar 运行配置开始,并使用 inspector 的 select widget mode 重现该问题。比较 test/mock_editor_widget.dart 中 Column 的 summary 树和 details 树,然后跟踪 pub root 目录如何确定哪些 widgets 出现在 summary 树中。完成标准是:列出的 devtools_app pub root 下的 widgets 始终被一致地包含。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart
领域
devtools
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。