pgadmin-org / pgadmin-org/pgadmin4

Add support for renaming file opened in query tool

Open
#9,429 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature
Dominant language
Python
Stars
3.8k
Forks
891
Avg merge
4d 7h
Merged PRs (30d)
8

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the rename flow in the desktop Query Tool using the listed steps, then trace how the renamed tab state is handled when text is entered. Done means the new name remains after editing and no longer reverts to the prior name.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
database, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.