Bug 175832 - search contact in krunner (and display info like tel, address...)
Summary: search contact in krunner (and display info like tel, address...)
Status: CONFIRMED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Contacts resource (show other bugs)
Version: 4.8
Platform: Mageia RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Tobias Koenig
URL:
Keywords:
: 198619 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-22 19:12 UTC by Dimitrios Glentadakis
Modified: 2021-03-20 13:02 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of the krunner behavour (86.83 KB, image/png)
2011-01-02 20:50 UTC, Dimitrios Glentadakis
Details
attachment-2598-0.html (188 bytes, text/html)
2021-03-09 15:33 UTC, David Alston
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitrios Glentadakis 2008-11-22 19:12:01 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    Mandriva RPMs

hi, in kde 3 we could search a contact (for the phone number) with the beegle (like krunner alt + f2)
now in kde 4, when i search a contact with krunner i am only promoted to send an email to the contact and not to view the contact details
i think is a smart feature and it would be nice to add this again,

thanks a lot

Dimitri
Comment 1 markuss 2009-01-10 13:26:54 UTC
*** This bug has been confirmed by popular vote. ***
Comment 2 Dimitrios Glentadakis 2009-03-16 19:18:57 UTC
May be a "plasma-runner-kaddressbook" would be a nice idea
Comment 3 FiNeX 2009-07-05 12:16:30 UTC
*** Bug 198619 has been marked as a duplicate of this bug. ***
Comment 4 Elias Probst 2009-09-02 00:31:23 UTC
I'd like to see this implemented too, but in a little different way:
It should show an item item in the result list per matching email, so I'd be able to decide in KRunner whether I want to send a mail to JohnDoe's private or business address:

Input: John Doe
Results:
- Send e-Mail to: John Doe <john.doe@business.local>
- Send e-Mail to: John Doe <john.doe@personal.local>

So if there's one day a Addressbook/Kopete/KCall/whatever runner, which handles Addressbook/Instant Messaging/Telephony/whatever data, the matches for "John Doe" could look like this:

- View Contact Details for: John Doe, Bakerstreet 8, 12345 This-Town
- Send e-Mail to: John Doe <john.doe@business.local>
- Send e-Mail to: John Doe <john.doe@personal.local>
- Call: John Doe (Work) - 555-123-456
- Call: John Doe (Home) - 555-987-654
- Send Instant Message to: John Doe <john@jabber.local>

What do you think about this?

So in the end, most of this runners should be written using Akonadi + KDE's default settings for applications like "Instant Messenger" KRunner.
Comment 5 FiNeX 2009-09-02 01:26:48 UTC
The order (for my use case) should be:
- Send e-Mail to: John Doe <john.doe@business.local>
- Send e-Mail to: John Doe <john.doe@personal.local>
- Call: John Doe (Work) - 555-123-456
- Call: John Doe (Home) - 555-987-654
- Send Instant Message to: John Doe <john@jabber.local>
- View Contact Details for: John Doe, Bakerstreet 8, 12345 This-Town

The difference is that the address is the last item. Usually I send emails or I phone. I need the address less times.
Comment 6 Elias Probst 2009-09-02 02:18:03 UTC
(In reply to comment #5)
> The difference is that the address is the last item. Usually I send emails or I
> phone. I need the address less times.
Any chance of having user defined priorities in KDE4.4's krunner?
Comment 7 Ben Boeckel 2009-09-02 04:23:36 UTC
(In reply to comment #4)
> So if there's one day a Addressbook/Kopete/KCall/whatever runner, which handles
> Addressbook/Instant Messaging/Telephony/whatever data, the matches for "John
> Doe" could look like this:

<snip>

> So in the end, most of this runners should be written using Akonadi + KDE's
> default settings for applications like "Instant Messenger" KRunner.

I have a runner for Kopete contacts in playground. Anything I can do to get this to work with it? It can do the IM contacts for you. I don't see an fd.o DBus interface for IM clients to hook into. Maybe that should be pushed for as well?
Comment 8 Elias Probst 2009-09-02 12:36:30 UTC
(In reply to comment #7)
> I have a runner for Kopete contacts in playground. Anything I can do to get
> this to work with it? It can do the IM contacts for you. I don't see an fd.o
> DBus interface for IM clients to hook into. Maybe that should be pushed for as
> well?
Wow, this are great news!
Regarding the IM: I was referring to the Instant Messenger stored in the contact details + retrieving the details using Akonadi.
Would the D-BUS interface be needed for triggering the "Send message to person Foo using protocol Bar"?

Regards, Elias P.
Comment 9 Ben Boeckel 2009-09-02 16:05:02 UTC
(In reply to comment #8)
> Wow, this are great news!
> Regarding the IM: I was referring to the Instant Messenger stored in the
> contact details + retrieving the details using Akonadi.
Since this currently interfaces with Kopete (to my knowledge), I think my runner can do what you want, at least in part.

> Would the D-BUS interface be needed for triggering the "Send message to person
> Foo using protocol Bar"?
Unfortunately, I am limited to what Kopete's DBus interface exports. Here are some limitations:

* Only searches by display name (all I can get from DBus)
* Status message fetching is broken (bug #204230)
* Can't choose protocol to use (I couldn't figure out how to get the protocol for an account, so all i can do is say "talk to <foo>" and Kopete chooses which account to use)

But, it can do the following:

* Set the main identity to online ("connect") or offline ("disconnect")
* Set the status for the main identity (with optional message) ("status <status> [message]")
* Set the status message for the main identity ("message <message>")
* Start chat ("<text matching display name>")
Comment 10 Ben Boeckel 2009-09-02 17:28:40 UTC
From just a glance, Pidgin's DBus interface (<http://developer.pidgin.im/wiki/DbusHowto>) looks closer to what an IM client DBus interface should be. What shouldn't be there, I'm not sure, I'd have to look at it closer.
Comment 11 Dimitrios Glentadakis 2010-03-14 17:14:04 UTC
is there a solution for this ?
Comment 12 Alejandro Nova 2010-06-04 02:23:22 UTC
Wait for KDE-PIM 4.5 (September). Then we'll have this.
Comment 13 Dimitrios Glentadakis 2010-06-05 07:52:03 UTC
Thanks very much :)
Comment 14 Dimitrios Glentadakis 2011-01-02 20:50:09 UTC
Created attachment 55482 [details]
Screenshot of the krunner behavour
Comment 15 Dimitrios Glentadakis 2011-01-02 20:52:30 UTC
It works fine this feature, thanks a lot. 
I have a question:
When i type the contact in the krunner i have two principal choices:
1. Send a message to the contact
2. The name of the contact with the title 'PersonContact' with the icon of the kaddressbook.

When i click on the second option it opens the contact in kwrite. 
I think would be more usefull to open it in kaddressbook
Comment 16 Dimitrios Glentadakis 2011-01-03 07:16:13 UTC
(In reply to comment #15)
> It works fine this feature, thanks a lot. 
Actually i tested the feature to send a message not to see the details

> 
> When i click on the second option it opens the contact in kwrite. 
> I think would be more usefull to open it in kaddressbook

This was supposed to be added
Comment 17 Dimitrios Glentadakis 2011-05-08 13:37:17 UTC
it is planned for kdepim 4.6 ?
Comment 18 Dimitrios Glentadakis 2012-06-01 16:38:54 UTC
Still present in KDE 4.8.3.
When typing the name of the contact in krunner we have available the actions to send mail, phone to the contact but not an action to open it and show its details
Comment 19 Dimitrios Glentadakis 2012-06-02 10:10:57 UTC
I used to search a contact before 5 years with beagle. I typed a part of the name and i have the resaults. I clicked on the contact and i had the card of the contact with all the details. 
This feature was present before.
Comment 20 Myriam Schweingruber 2012-06-02 20:13:51 UTC
Reassigning to Akonadi, that doesn't depend on krunner
Comment 21 Dimitrios Glentadakis 2012-08-12 07:36:10 UTC
Still present in 4.8.5
I would like to type the name of the contact in the runner and have an option to display the details of the contact. I was used to do this action in KDE 3.5 with beagle, and i wait 4 years to be implemented in krunner since the beagle is replaced by nepomuk.
Comment 22 valdikss 2012-10-28 20:22:51 UTC
Still present in 4.9.2.
Comment 23 David Alston 2013-11-25 16:00:21 UTC
Just thought I'd ping this request.. Contacts krunner in KDE 4.11.3 still doesn't show contact information or useful options when searching for a contact..

Currently, searching for a contact shows the contact name, a label of "Contact" with the Nepomuk icon next to it.  Selecting the Contact entry in the krunner drop-down opens Dolphin in what looks like a Nepomuk search showing emails mentioning that contact.  While useful, it only handles one use-case.

Perhaps the Contact krunner could show a business-card like entry when your search matches a contact.. showing the primary name, email, IM, address..
* Clicking on the name would do a Nepomuk search
* Clicking the email address would bring up the default email composer
* Clicking the IM screen name would bring up a chat window
* Clicking their phone number would try to call them

Next to the IM screen name could be a button linking to the IM logs for that contact.
Next to the Email address could be a tiny button linking to the email search for that contact.
Comment 24 Dimitrios Glentadakis 2013-11-27 08:41:23 UTC
Agree with the above comment
-
I'm missing this function in current krunner (4.10.5):

Type the contact in krunner
Have a result to click and show in a window (in kadderessbook) the profile of the contact
Comment 25 Dennis Schridde 2013-12-22 11:33:25 UTC
There seems to be a relation to bug #222675
Comment 26 Dimitrios Glentadakis 2013-12-23 12:50:57 UTC
(In reply to comment #25)
> There seems to be a relation to bug #222675

Yes it is in relation. But i don't have the result in vcard in krunner.
Probably because i don't use Nepomuk (?)
Comment 27 David Alston 2014-10-14 19:34:16 UTC
This would still be a great feature :^)

Maybe with the Plasma5 Milou front-end to krunner this will be easier to implement?
Comment 28 Justin Zobel 2021-03-09 05:47:01 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 29 David Alston 2021-03-09 15:33:39 UTC
Created attachment 136528 [details]
attachment-2598-0.html

plasma 5.12.8 doesn't seem to include the kontact or kaddressbook krunner's
at all anymore.  Krunner integration would still be a great feature to have.
Comment 30 Alexander Lohnau 2021-03-20 13:02:52 UTC
On KDE Neon the package is called libkf5akonadisearch-plugins.

And to me it seems like we would need to display multiline matches in KRunner for this, which is currently not supported.