Community
Participate
Working Groups
Steps to reproduce: - Create a file "text.txt" and open it with the editor. - Select "File > Save As...", type "othertext.txt", and click OK - The current editor window tab updates its title to "othertext.txt" - The main window's title still shows the following String: "<Perspecive-name> - text.txt - Eclipse Platform" instead of "<Perspecive-name> - othertext.txt - Eclipse Platform" After selecting a different editor tab, and switching back to "othertext.txt" the window title updates correctly. This is only minor, though I'm used to looking at the window's title bar to see which file is currently in edit.
I'll try to get this fixed up for 3.1....
I have seen this in a slightly different context. I was testing a fix for an editor that failed to save a workspace resource that was renamed in the Resource Navigator while it was open in the editor. I changed the editor's superclass to AbstractTextEditor from EditorPart. The save behaviour was corrected but the editor's tab label was not updated until I created a correct doSetInput() method. In testing this I noticed that the title bar was not being updated when the tab label was. As I moved around the workbench, I noticed that the title was updated at the first change of focus following the action that renamed the resource and updated the tab label. I'll let you know if I find a solution to this.
I think this is the same bug as 67173 and 71456. Bug 71454 is related as well.
Maybe these are related: Bug 67478 Bug 72724 Bug 73145 Bug 78192
Same behavior for refactoring/rename in 3.1M6.
Works OK in RC1. *** This bug has been marked as a duplicate of 67478 ***