On Friday 08 June 2001 21:32 allabos@freeler.nl wrote: > Package: kword > Version: KDE 2.2.0 CVS/CVSup/Snapshot > Severity: wishlist > Installed from: Compiled sources > Compiler: Not Specified > OS: Linux > OS/Compiler notes: Not Specified > > show filename in a tooltip window (the > yellow box that pops ups when hovering > over a toolbar option) when hovering over > the "save" option in the toolbar. > > I saw this in an app and I liked it it's > short and informative. Hrm ? The filename is already in the window caption.... Strange idea (IMHO) -- David FAURE david@mandrakesoft.com faure@kde.org http://perso.mandrakesoft.com/~david/ http://www.konqueror.org/ KDE Making The Future of Computing Available Today
(*** This bug was imported into bugs.kde.org ***) Package: kword Version: KDE 2.2.0 CVS/CVSup/Snapshot Severity: wishlist Installed from: Compiled sources Compiler: Not Specified OS: Linux OS/Compiler notes: Not Specified show filename in a tooltip window (the yellow box that pops ups when hovering over a toolbar option) when hovering over the "save" option in the toolbar. I saw this in an app and I liked it it's short and informative. (Submitted via bugs.kde.org)
On Friday 8 June 2001 21:04 you wrote: > Hrm ? The filename is already in the window caption.... That's static and one must really lift the eye to the window caption and look for the filename. > Strange idea (IMHO) Strange or different doesn't matter. It's differs from the window caption as it pops up when the mouse is hovering over the save option. At that moment it attracts the eye and the user is told that the format is not anylonger "kwd" but "html" for instance. It really borthers me that I lost *kwd formatted information as the doc became saved as in my case html. I don't want this to happen to others. Fortenately I could mouse back the text I "lost" (in the kwd file) back from the html file into the kwd file. -- Richard Bos For those who have no (/)home the journey is endless
No idea if that makes sense, but if we want to do it we have to do it in the koffice libs -> reassigned
http://bugs.kde.org/show_bug.cgi?id=26937 is long standing and potentially dubious wishlist request that basically seeks to use the current filename as the tooltip for the save menubar button. The code that can implement it is trivial (see below) but the usability of this needs to be worked. I'd be just as happy to close it as WONTFIX or to commit the change (after 3.3, of course). Any thoughts or suggestions? Brad Index: koMainWindow.cc =================================================================== RCS file: /home/kde/koffice/lib/kofficecore/koMainWindow.cc,v retrieving revision 1.330 diff -u -4 -p -r1.330 koMainWindow.cc --- koMainWindow.cc 2 Jun 2004 22:20:15 -0000 1.330 +++ koMainWindow.cc 14 Jun 2004 11:54:06 -0000 @@ -536,15 +536,17 @@ void KoMainWindow::updateCaption() caption = rootDocument()->url().prettyURL( 0, KURL::StripFileProtocol ); } setCaption( caption, rootDocument()->isModified() ); + d->m_paSave->setToolTip( caption ); } } void KoMainWindow::updateCaption( QString caption, bool mod ) { //kdDebug(30003)<<"KoMainWindow::updateCaption("<<caption<<","<<mod<<")"<<endl; setCaption( caption, mod ); + d->m_paSave->setToolTip( caption ); } KoDocument *KoMainWindow::rootDocument() const {
On Monday 14 June 2004 13:56, Brad Hards wrote: > http://bugs.kde.org/show_bug.cgi?id=26937 is long standing and potentially > dubious wishlist request that basically seeks to use the current filename > as the tooltip for the save menubar button. > > The code that can implement it is trivial (see below) but the usability of > this needs to be worked. I'd be just as happy to close it as WONTFIX or to > commit the change (after 3.3, of course). At the very least it should still keep the "Save" string. So there would be a new string "Save %1". The bugreport said that the filetype was not visible in the window-title and that made him loose data. The extention IS currently present in the window-title, and koffice-libs make sure that the extention is changed if a new fileformat is chosen as basic fileformat. (The one used on 'save') IMO the bug is closed with the change a year ago that makes sure the extention is changed for a different filetype. And if this problem still needs solving then I suggest to rename the save-menu-item and the tooltip for the save-toolbar-button to something like: "Save in format %1" where %1 is taken from the current output-filter and is something like: "HTML", or "Plain text" since that is what the 'Save' button actually does.
CVS commit by fedemar: Wish 26937: show filename in a tool tip window when hovering over the "save" icon in the toolbar. FEATURE: 26937 M +4 -0 koMainWindow.cc 1.345 --- koffice/lib/kofficecore/koMainWindow.cc #1.344:1.345 @@ -481,4 +481,8 @@ void KoMainWindow::updateCaption() setCaption( caption, rootDocument()->isModified() ); + if ( !rootDocument()->url().fileName(false).isEmpty() ) + d->m_paSave->setToolTip( i18n("Save as %1").arg(rootDocument()->url().fileName(false)) ); + else + d->m_paSave->setToolTip( i18n("Save") ); } }