Bug 174332

Summary: Usability: Disable "Open in address book" if contact does not exist in address book
Product: [Applications] kmail Reporter: Oliver Putz <Regnaron>
Component: keys and menusAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal Keywords: triaged, usability
Priority: NOR    
Version: 1.10.90   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Oliver Putz 2008-11-05 12:40:38 UTC
Version:           1.10.90 (using 4.1.71 (KDE 4.1.71 (KDE 4.2 >= 20081023)), Gentoo)
Compiler:          i686-pc-linux-gnu-gcc
OS:                Linux (i686) release 2.6.26-gentoo-r1

Steps to reproduce:

1) Go to some mail in kontact where the sender is *not* in your address book
2) Right click on the email address
3) See that the option "Open in address book" is available even though the user does not even exist in your address book.

I think if the user does not exist in the address book the corresponding option should be disabled ("greyed out")
Comment 1 Allen Winter 2008-11-14 01:53:42 UTC
SVN commit 884027 by winterz:

if the email address exists in the addressbook, put the "open in addressbook"
option on the context menu; else put the "add to addressbook option".

BUG: 174332



 M  +32 -22    kmmainwidget.cpp  
 M  +25 -16    kmreadermainwin.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=884027
Comment 2 Thomas McGuire 2008-11-30 16:05:43 UTC
SVN commit 890865 by tmcguire:

Backport r884027 by winterz from trunk to the 4.1 branch:

if the email address exists in the addressbook, put the "open in addressbook"
option on the context menu; else put the "add to addressbook option".

CCBUG: 174332




 M  +29 -19    kmmainwidget.cpp  
 M  +25 -16    kmreadermainwin.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=890865