Skip to content

Add support for renaming file opened in query tool #9429

@anthonydb

Description

@anthonydb

Describe the bug

If I rename an open tab in the Query Tool, its new name is not saved and it reverts to the prior name.

To Reproduce

  1. Open a file in the Query Tool
  2. Right-click on the tab
  3. Select "Rename"
  4. Write a new name for the file
  5. Click OK
  6. At this point, the tab displays the renamed name
  7. Type some text in the file
  8. The name then reverts to the previous

Expected behavior

The new name should persist.

Error message

None

Screenshots

Desktop (please complete the following information):

  • OS: macOS Tahoe 26.1
  • pgAdmin version: 9.10 (snapshot build)
  • Mode: Desktop

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions