Bug 156476

Summary: dolphin should have action/service menus like konqueror has
Product: [Applications] dolphin Reporter: Cyrill Helg <phlogi1>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: faure
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Cyrill Helg 2008-01-23 17:00:50 UTC
Version:           svn (using KDE 4.0.0)
Installed from:    Compiled From Sources

The new default file manager dolphin misses the great service/action menus that konqueror has. I think those action menus are a great thing and we should have that in dolphin too.
Comment 1 Peter Penz 2008-01-24 08:26:37 UTC
Thanks for your input, I agree. Technically Dolphin and Konqueror in KDE 4 provide the service/action menus already, but currently nearly no service menus are shipped per default. I'll check with David Faure whether this is a task for distributions or whether KDE should provide already a proper default set.
Comment 2 Cyrill Helg 2008-01-24 13:25:08 UTC
I'm happy that dolphin provides this nifty thing too. :) Did you know that there is even a service menu editor on kde-apps? [1] 

I'm not sure if kde should ship some service menus already, because this depends a lot on what applications are installed on the system. (I have some cool pdf merge scripts used with service menus here...) 

The best however would be to have an editor + the ability to get new service menus directly from kde-look/apps through knewstuff/dxs.

Last but not least: Does this mean service menus work out of the box on dolphin already?
Comment 3 Cyrill Helg 2008-01-24 13:27:54 UTC
oops forget the link [1]: http://kde-apps.org/content/show.php/?content=55644
Comment 4 Peter Penz 2008-01-24 13:33:32 UTC
> Did you know that there is even a service menu editor on kde-apps? 

No, but thanks for pointing this out.

> The best however would be to have an editor + the ability
> to get new service menus directly from kde-look/apps through knewstuff/dxs. 

I agree, I hope that somewhen (KDE 4.9 ;-)) I'll be able to implement something like this...

> Last but not least: Does this mean service menus work
> out of the box on dolphin already? 

This should be the case but honestly speaking I did not try it yet and fully trusted in David's golden code here ;-) As David has implemented this I'd bet 10:1 that it works already, but I'm not sure whether old service menus still work or whether minor adaptions are needed.
Comment 5 Cyrill Helg 2008-01-24 13:46:56 UTC
http://kde-apps.org/content/show.php/?content=37465 <- some interesting ideas on how to implement a service menu manager in kcontrol
Comment 6 David Faure 2008-01-24 13:48:02 UTC
Dolphin and konqueror (in kde4) support the exact same servicemenus. However the syntax is indeed NOT
the kde3 syntax. Well, the syntax is pretty much the same but the location where to install the desktop files has changed.
kdesdk/scripts/qt4/Porting mentions the changes:

Servicemenus for konqueror and dolphin have moved to services/ServiceMenus/.
To port kde3 servicemenus you need to:
-> change installation rule so that it installs to ${SERVICES_INSTALL_DIR}/ServiceMenus
-> add KonqPopupMenu/Plugin to the ServiceTypes line
Comment 7 Peter Penz 2008-04-24 08:49:40 UTC
I've set this issue to WORKSFORME, as service menus are supported.