Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DevTools Inspector Not Working #987

Open
FenyCz opened this issue Oct 12, 2023 · 5 comments
Open

DevTools Inspector Not Working #987

FenyCz opened this issue Oct 12, 2023 · 5 comments
Assignees
Labels
p: core Related to `widgetbook` package t: bug Something isn't working

Comments

@FenyCz
Copy link

FenyCz commented Oct 12, 2023

Description
I want to debug application that I'm developing with Widget Inspector tool (https://docs.flutter.dev/tools/devtools/inspector). The problem is on the video record.

Basically I would like to see Widget Details Tree in Widget Inspector, but when I start using Widget Inspector my widget in application freeze and I can't see them on preview. I'm using VSCode.

Steps To Reproduce

  1. Run the Widgetbook
  2. The Widget Inspector window appears -> click in top left corner on "Toggle select widget mode"
  3. Go back into app and try to click on a widget

Screenshots

Widget Inspector ("Toggle select widget mode" in top left corner):

image

Widgetbook app:

image

Video record:

2023-10-12.08-30-39.mov

Additional Context
In Widgetbook v2.4.0 it worked fine, problem appears after upgrade to v3.3.0

@YoussefRaafatNasry YoussefRaafatNasry changed the title Using Widget Inspector with Widgetbook v3.3.0 DevTools Inspector Not Working Oct 12, 2023
@YoussefRaafatNasry YoussefRaafatNasry added t: bug Something isn't working p: core Related to `widgetbook` package hacktoberfest labels Oct 12, 2023
@Anurag-space
Copy link

@YoussefRaafatNasry
i would like to contribute on the issue. Could you please assign me this issue.
Thank you

@FenyCz
Copy link
Author

FenyCz commented Oct 19, 2023

Any progress on this issue? Have you find out how to fix the error? I would really appreciate, thanks. @Anurag-space @YoussefRaafatNasry

@Anurag-space
Copy link

Working On🧐

@tomas-dorda
Copy link

Any progress on this issue? @YoussefRaafatNasry @Anurag-space
Thanks in advance

@LucasJosefiak
Copy link
Member

LucasJosefiak commented Mar 12, 2024

Addition to the issue described above: A user (bramp) also faces DevTools Inspector issues. However, it doesn't freeze, it just rebuilds the widgets and resets the book to the initial state (e.g. no use case selected). Please find more information in the Discord thread.

I'm adding this comment here so that as soon as someone works on a better DevTools integration, this use case won't be forgotten.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p: core Related to `widgetbook` package t: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants