You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried the other applicable steps from the Troubleshooting Guide
Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
Not really a problem, but still a bug in some sense. So if someone happens to look at that code, it can be worth keeping in mind.
When you close the last file, the file name above the file tabs are not directly updated with the new name.
What steps reproduce the problem?
Close the last open file
What is the expected output? What do you see instead?
The filename (with full path) should update. Now it updates when you press outside of the editor window and then inside the editor window again. (Or activate the window or try to make a screen shot...)
(When there are more files open, it updates directly, so probably it is just that the new empty file creation happens after the filename update.)
Hi, I'd like to contribute. Looks like the trigger for the file name update is the window receiving focus? I'll take a look at the PyQt5 code and figure out a way to change the trigger to be a new tab creation.
Please let me know if I'm on the right track.
Hi @Ajax-Light thank you for wanting to help us with this! I think the method that updates the file name is connected to the Editor focus signal. I would say that what is missing is to call that method when a new file is created automatically due all the files being closed.
Let us know if you have any other questions
Ajax-Light
added a commit
to Ajax-Light/spyder
that referenced
this issue
Feb 1, 2022
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
Not really a problem, but still a bug in some sense. So if someone happens to look at that code, it can be worth keeping in mind.
When you close the last file, the file name above the file tabs are not directly updated with the new name.
What steps reproduce the problem?
What is the expected output? What do you see instead?
The filename (with full path) should update. Now it updates when you press outside of the editor window and then inside the editor window again. (Or activate the window or try to make a screen shot...)
(When there are more files open, it updates directly, so probably it is just that the new empty file creation happens after the filename update.)
Paste Traceback/Error Below (if applicable)
Versions
Dependencies
The text was updated successfully, but these errors were encountered: