Bug 59480 - File tab tooltip not updated when "Save As..."
Summary: File tab tooltip not updated when "Save As..."
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-07 19:49 UTC by Jean-Pierre Parent
Modified: 2003-06-08 11:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Pierre Parent 2003-06-07 19:49:39 UTC
Version:           3.0.0a4 (using KDE 3.1.9)
Compiler:          gcc 3.3 
OS:          Linux (i686) release 2.4.20

When using "Save As..." from the file menu, the file tab tooltip is not updated.

For example: 

1) open any text file not in your home directory
2) click "File->Save As..."
3) save in home directory as any name
4) the file tab tooltip shows the previous (non-home) location
Comment 1 Harald Fernengel 2003-06-08 11:51:10 UTC
Subject: kdevelop/src

CVS commit by harald: 

Fix Bug #59480 - update tooltips when filename changes

CCMAIL: 59480-done@bugs.kde.org


  M +1 -0      mainwindowideal.cpp   1.31


--- kdevelop/src/mainwindowideal.cpp  #1.30:1.31
@@ -646,4 +646,5 @@ void MainWindowIDEAl::updateTabForPart( 
             m_tabWidget->changeTab( rw_part->widget(), rw_part->url().fileName() );
         }
+        m_tabWidget->setTabToolTip( rw_part->widget(), rw_part->url().url() );
     }
 }