Bug 165005

Summary: krunner can't find virt-manager with string "virt-manage"
Product: [Plasma] krunner Reporter: Pascal d'Hermilly <pascal>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: dominik.tritscher, mail, martinrehn, wilderkde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pascal d'Hermilly 2008-06-26 14:33:01 UTC
Version:            (using KDE 4.0.83)
Installed from:    Ubuntu Packages
OS:                Linux

krunner can't find virt-manager with string "virt-manage" unless you typed it before.
Comment 1 Aaron J. Seigo 2008-06-26 21:39:10 UTC
virt-manager is the name of a binary on disk?
Comment 2 Pascal d'Hermilly 2008-06-27 11:15:44 UTC
Yes. It is a desktop application for managing virtual machines.
http://virt-manager.et.redhat.com/

It works running it from konsole. And I'm able to tab-complete the name in bash.
Comment 3 Dominik Tritscher 2009-01-24 18:32:11 UTC
This issue partly still exists in 4.2RC1 (installed from kubuntu-experimental):
Typing "virt" in Krunner gives you virt-manager and some other apps containing the keyword (like VirtualBox or virtual desktop kcm-modul).
If I type further and enter the hyphen ("virt-"), all hits, including virt-manager, disappear. This is not the case in kickoffs search form. Also "virt-manager" is in PATH and therefore can be launched if I enter the full name "virt-manager" into Krunner.
Comment 4 Jacopo De Simoi 2009-03-19 18:51:13 UTC
The command-line runner does not return partial matches i.e. it will not give a result unless you type in the whole command to obtain a result.
As for the virt/virt- issue, the match for "virt" is probably done by the Services runner, which performs partial matches for the _name_ of the application (not the name of the binary file). The name is stored in the corresponding .desktop file usually in /usr/share/applications and it is probably "virtual manager" or something.
That's why the match disappears when you type "virt-"

This would explain the reported behaviour.
Comment 5 Dominik Tritscher 2009-05-24 11:41:42 UTC
*** Bug 173257 has been marked as a duplicate of this bug. ***
Comment 6 Elias Probst 2009-08-27 00:23:41 UTC
I think this bug can be closed.

The binary name is "virt-manager"
The desktop file entry is "Virtual Machine Manager"

So IMHO no reason to show a match for 'virt-manage'

Please re-open if you think different.
Comment 7 Pascal d'Hermilly 2009-08-27 01:53:37 UTC
I think it's silly not getting the result "virt-manager" when explicitly typing "virt-ma" or something like it. But I'm not the person to decide whether this report should be open or not.
Comment 8 Aaron J. Seigo 2009-08-27 02:15:46 UTC
SVN commit 1016090 by aseigo:

match against the Exec= line; let's see how that goes.
BUG:165005


 M  +1 -1      servicerunner.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1016090
Comment 9 Elias Probst 2009-09-02 00:05:44 UTC
*** Bug 201325 has been marked as a duplicate of this bug. ***