Bug 74656

Summary: "groupware choice" instead of link URL is displayed in statusbar
Product: [Applications] kmail Reporter: Paul Pogonyshev <pogonyshev>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Paul Pogonyshev 2004-02-09 00:58:03 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.2 
OS:          Linux

When a link is hovered in message text, KMail displays meaningless "Groupware choice" in status bar, instead of link's address.  This is a real problem in HTML messages.

I think it should display link's address no matter what, even if the message is in plain text (as most messages are) and the URL is hence visible in the letter.  It would also be consistent with browsers.
Comment 1 Till Adam 2004-02-11 22:41:25 UTC
CVS commit by tilladam: 

Only display "Groupware choice" over groupware links.

Bo, it this too simplistic?

CCMAIL: 74656-done@bugs.kde.org
CCMAIL: bo@sonofthor.dk


  M +3 -1      urlhandlermanager.cpp   1.6


--- kdepim/kmail/urlhandlermanager.cpp  #1.5:1.6
@@ -258,5 +258,7 @@ namespace {
   }
 
-  QString GroupwareURLHandler::statusBarMessage( const KURL&, KMReaderWin* ) const {
+  QString GroupwareURLHandler::statusBarMessage( const KURL & url, KMReaderWin* ) const {
+     if ( !url.path().startsWith( "groupware" ) )
+        return QString::null;
     return i18n("Groupware choice");
   }