Skip to content

Search input not properly cleared when switching database connections #1042

Description

@eduardo-nicola

Describe the bug
When searching for elements using the "Search for Element" input field, if you disconnect from a database connection and then connect to a different connection (or reconnect to the same one), the search input field appears empty, but the filter is still applied. This requires manually typing something in the input field and then clearing it to properly reset the filter.

To Reproduce
Steps to reproduce the behavior:

  1. Create a database connection with at least one database containing some tables
  2. Enter a search term in the "Search for Element" input field to filter elements
  3. Disconnect from the database connection
  4. Connect to a different database connection (or reconnect to the same one)
  5. Observe the search input field

Expected behavior
When switching connections, the search filter should be completely cleared, both the input field and the filter state should be reset.

Screenshots

Image

Application (please complete the following information):

  • App client [e.g. MySQL]
  • App version [e.g. 0.7.35]
  • Installation source: [e.g. Linux Store]

Environment (please complete the following information):

  • OS name: [e.g. Linux Ubuntu]
  • OS version [e.g. 24.04.4 ]
  • DB name [e.g. MySQL]
  • DB version [e.g. 8.0]

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions