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

Flutter Inspector no longer navigates to source code after Flutter plugin update to 85.0.4 in Android Studio / IntelliJ #8041

Open
zonanapo opened this issue Apr 10, 2025 · 6 comments
Assignees
Milestone

Comments

@zonanapo
Copy link

zonanapo commented Apr 10, 2025

After updating the Flutter plugin to version 85.0.4 in both Android Studio and IntelliJ IDEA, the Flutter Inspector no longer navigates to the source code in the editor when selecting a widget from the app interface.

Behavior before the update:

  • Selecting a widget using "Select Widget Mode" would highlight it in the widget tree ✅
  • It would also automatically open the source file in the editor and highlight the relevant code ✅

Behavior after the update:

  • Selecting a widget still highlights it in the widget tree ✅
  • But it does not open the source code in Android Studio anymore

This appears to be a regression introduced in Flutter plugin version 85.0.4.

Steps to Reproduce

  1. Update Flutter plugin in Android Studio or IntelliJ to version 85.0.4
  2. Run a Flutter app in debug mode
  3. Open Flutter DevTools via the IDE
  4. Go to Inspector, enable "Select Widget Mode"
  5. Click on any widget in the running app
  6. Observe:
    • Widget is selected and highlighted in the widget tree ✅
    • No source code navigation happens in the IDE

Expected Behavior

Selecting a widget via the Inspector should:

  • Highlight it in the widget tree ✅
  • Automatically navigate to the corresponding widget code in the source file ✅

Actual Behavior

  • Widget is selected in the tree ✅
  • But source code navigation no longer works ❌

Environment

  • Flutter SDK version: 3.29.2
  • Flutter plugin version: 85.0.4
  • Android Studio: Narwhal 2025.1.1 Canary 5
  • IntelliJ IDEA Ultimate: 2025.1 Release Candidate
  • Operating System: Windows 11
  • DevTools launch method: From within IDE
  • Run mode: Debug mode

Please confirm if this is a known regression in 85.0.4, and if there's any workaround available. I'm available to help test further or provide logs if needed.

@kenzieschmoll kenzieschmoll transferred this issue from flutter/devtools Apr 10, 2025
@kenzieschmoll
Copy link
Member

@jwren Can we get a fix + hotfix release for this? This is a pretty disruptive bug for Flutter development, so would be good to prioritize if we can.

@jwren
Copy link
Member

jwren commented Apr 10, 2025

@kenzieschmoll -- Yes.

@lecaro
Copy link

lecaro commented Apr 12, 2025

Not to be annoying... but I'm glad to see others are having the same issue. I spent almost 24 hours non-stop trying to fix this. I thought it was an isolated case... now I see it's not, and I have more hope that it'll be fixed soon...

For anyone it might help, I can just say that VS Code works fine... but I still prefer Android Studio.

@Hactieuho
Copy link

Hactieuho commented Apr 14, 2025

Not to be annoying... but I'm glad to see others are having the same issue. I spent almost 24 hours non-stop trying to fix this. I thought it was an isolated case... now I see it's not, and I have more hope that it'll be fixed soon...

For anyone it might help, I can just say that VS Code works fine... but I still prefer Android Studio.

Refer to #6875 (comment)

Try the older Flutter Plugin Version (Please don't update the Flutter Plugin Version if not necessary!!!):
https://plugins.jetbrains.com/plugin/9212-flutter/versions/stable/423006

Image

@debuggerx01
Copy link

Not to be annoying... but I'm glad to see others are having the same issue. I spent almost 24 hours non-stop trying to fix this. I thought it was an isolated case... now I see it's not, and I have more hope that it'll be fixed soon...
For anyone it might help, I can just say that VS Code works fine... but I still prefer Android Studio.

Refer to #6875 (comment)

Try the older Flutter Plugin Version (Please don't update the Flutter Plugin Version if not necessary!!!): https://plugins.jetbrains.com/plugin/9212-flutter/versions/stable/423006

Image

This version is too old, 83.0.4 works well.

@daehan-lim
Copy link

Not to be annoying... but I'm glad to see others are having the same issue. I spent almost 24 hours non-stop trying to fix this. I thought it was an isolated case... now I see it's not, and I have more hope that it'll be fixed soon...
For anyone it might help, I can just say that VS Code works fine... but I still prefer Android Studio.

Refer to #6875 (comment)
Try the older Flutter Plugin Version (Please don't update the Flutter Plugin Version if not necessary!!!): https://plugins.jetbrains.com/plugin/9212-flutter/versions/stable/423006
Image

This version is too old, 83.0.4 works well.

It didn't work for me. What Android Studio and Flutter SDK version are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants