Bug 74656 - "groupware choice" instead of link URL is displayed in statusbar
Summary: "groupware choice" instead of link URL is displayed in statusbar
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-09 00:58 UTC by Paul Pogonyshev
Modified: 2007-09-14 12:17 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 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");
   }