Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 53789 - [EditorMgmt] Main window title bar not updated on "Save As..."
Summary: [EditorMgmt] Main window title bar not updated on "Save As..."
Status: RESOLVED DUPLICATE of bug 67478
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Douglas Pollock CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-04 14:03 EST by Kariem Hussein CLA
Modified: 2005-06-01 15:25 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kariem Hussein CLA 2004-03-04 14:03:52 EST
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.
Comment 1 Douglas Pollock CLA 2004-09-28 12:15:30 EDT
I'll try to get this fixed up for 3.1.... 
Comment 2 John W Austin CLA 2005-02-01 22:44:52 EST
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.
Comment 3 John W Austin CLA 2005-02-01 22:56:46 EST
I think this is the same bug as 67173 and 71456. Bug 71454 is related as well.
Comment 4 Victor Toni CLA 2005-04-04 08:24:30 EDT
Maybe these are related:
Bug 67478
Bug 72724
Bug 73145
Bug 78192

Comment 5 Victor Toni CLA 2005-04-04 08:26:35 EDT
Same behavior for refactoring/rename in 3.1M6.
Comment 6 Nick Edgar CLA 2005-06-01 15:25:02 EDT
Works OK in RC1.

*** This bug has been marked as a duplicate of 67478 ***