-
Notifications
You must be signed in to change notification settings - Fork 796
Closed
Description
Please note that security bugs or issues should be reported to security@pgadmin.org.
Describe the bug
In the query tool editor tab, the file name is not changing if we open up another file. It is showing the old file's name, that makes confusion if we are editing the other file or the old file.
To Reproduce
Steps to reproduce the behavior:
- Open a file in query tool editor and call it file_1.
- Make some changes on the file_1 or can skip this step.
- Check the query tool editor tab that shows the file_1
- Click on open file button.
- On the unsaved changes popup click 'YES' or or can skip this step if skipped step-2
- Open another file named as file_2
- If you check the query tool editor tab that still shows file_1 not file_2 as we opened file_2
- If we make any change on the query in file_2, we can see the tab is now showing file_2.
Expected behavior
The query tool editor tab must show the new file that we opened immediately
Screenshots
file_2 content: check query tool tab, it shows file_1.sql
after making some change in file_2:
Desktop (please complete the following information):
- OS: OSX monterey 12.6.3
- Version: 6.21
- Mode: Desktop
- Browser (if running in server mode): [e.g. chrome, safari]
- Package type: [e.g. RPM, DEB, Python, Container, etc.]