Version: (using KDE Devel) Installed from: Compiled sources OS: Linux Assign a keyboard shortcut to the "Add to Addressbook" action and use that to add an entry to the addressbook. Then go to another mail and use the keyboard shortcut again. An error message appears that the contact already is in the addressbook. Go to another mail and the same error message appears again. The problem seems to be that when using the keyboard shortcut the context information to determine which address should be added is missing. I see two possible solutions to the problem, either prevent the "Add to Addressbook" being assigned a keyboard shortcut or show a dialog where all email addresses of the currently visible mail are listed and the user can select which are to be added.
I order to prevent the action to be listed in the shortcut config we would probably have to use a second actioncollection. Not very clean IMO. I like the second idea better.
I've been able to reproduce the error following the steps in the bug report using kmail 1.10.1.
Valid in master - Settings / Configure shortcuts - Assign a shortcut for "Add to address book" - Select a message, - Use the shortcut. The wrong address is added to the addressbook
I confirm it. Will look at.
I fixed url when we change message. I clear it so we can't save bad url. But for me we must forbid to add shortcut for this action because it's the last url clicked. So if we click on a http url in message it will store it in addressbook. It's not a good idea. Or we can store CC/BCC/To address and we can't specify it with shortcut. I vote to forbid to add shortcut to this action.
Now we can't add shortcut for these actions. Regards