Skip to content

Network tab search box should remain enabled and editable after clearing calls #9853

@BhavyaRaitani

Description

@BhavyaRaitani

Steps to reproduce

  1. Open Flutter DevTools
  2. Run a Flutter app and trigger API calls (click buttons to make HTTP requests)
  3. In the Logging tab, type text in the search box (e.g., "http")
  4. Network calls are highlighted/filtered matching that search
  5. Click "Clear" button to clear all network calls
  6. Observe: Search box text remains but is disabled/grayed out

Expected behavior

  • After clearing calls, search box should remain enabled (not disabled)
  • User can edit the search text (delete, modify, or keep it as-is)
  • User can decide: keep search active for next batch of calls OR clear/change it manually
  • Search text persists only if user wants it to (user choice, not forced)

Actual behavior

  • Search box becomes disabled/read-only after clearing calls
  • User cannot modify or clear the search text unless there is a new api call

Why this matters

  • Workflow: I clear calls to reduce noise, but want to keep the same search active for the next batch of calls
  • OR I want to quickly change search term before new api calls come
  • Current behavior blocks this flexibility

Environment

  • Flutter version: 3.41.9
  • DevTools version: 2.54.2
  • Dart version: 3.11.5
  • OS: Windows 11

This has also been reproduced on

  • Flutter version: 3.35.2
  • DevTools version: 2.48.0
  • Dart version: 3.9.0
  • OS: Windows 11

Video demonstration

See attached video showing:

  • Network calls made by clicking "+" button
  • Search text typed in search box ("start")
  • After clicking "Clear", search box becomes disabled/grayed
  • Cannot edit or delete the search text
  • When new api call is made, the search box is enabled again and we can edit the text
searchBarDisablesAfterClear.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingscreen: networkIssues with the Network screen.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions