Bug 59480

Summary: File tab tooltip not updated when "Save As..."
Product: [Applications] kdevelop Reporter: Jean-Pierre Parent <parentjp>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

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() );
     }
 }