Skip to content

[Inspector V2] Implementation widgets erroneously included in widget tree [package:stager] #8802

Closed

Description

@elliette

I noticed when running the Property Editor, many widgets from the Flutter framework are being erroneously being considered widgets created by the local project, and therefore being included in the widget tree even when implementation widgets are hidden.

I don't see the same behavior when running DevTools itself, and my best guess why this is occurring is because we are running the Property Editor as a stager app.

Note: The implementation widgets are also included in the summary tree of the legacy inspector, so this is not unique to the new inspector.

Activity

  1. added
    inspector-2.0-polishPolish work that can be tackled once Inspector 2.0 has landed.
    P2important to work on, but not at the top of the work list.
    on Jan 23, 2025
  2. elliette commented on Jan 24, 2025

    @elliette
    MemberAuthor

    I think this is because we were launching the property editor from DevTools root, and not from the packages/devtools_app. Launching from devtools_app resolves this.

  3. elliette commented on Jan 24, 2025

    @elliette
    MemberAuthor

    Found related but separate issue for widget preview integration, filed #8807

  4. elliette commented on Jan 24, 2025

    @elliette
    MemberAuthor

    See comment here: #8806 (comment)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2important to work on, but not at the top of the work list.devtools-inspector-screeninspector-2.0-polishPolish work that can be tackled once Inspector 2.0 has landed.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions