----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/129019/#review99523 -----------------------------------------------------------
+1 Tested with Dolphin and Konqueror and works as expected. src/widgets/kfileitemactions.cpp (line 492) <https://git.reviewboard.kde.org/r/129019/#comment66941> There should be a `addedPlugins.append(jsonMetadata.pluginId());` after this line. For example I have ark installed both from distro package and in my own install prefix, so I get the ark actions twice. - Elvis Angelaccio On Sept. 26, 2016, 8:10 a.m., David Faure wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/129019/ > ----------------------------------------------------------- > > (Updated Sept. 26, 2016, 8:10 a.m.) > > > Review request for KDE Frameworks. > > > Repository: kio > > > Description > ------- > > This was missing in KFileItemActions so apps had to implement > this by themselves (this particular implementation is inspired by Dolphin's, > while KonqPopupMenu only had support for .desktop files and not JSON > metadata). > > This API will also be useful in folderview (which I'm porting away > from KonqPopupMenu) and kfind (same strategy). > > > Diffs > ----- > > src/widgets/kfileitemactions.h 9b025549efdceef7f32dc461f3d5bfa2ee10d938 > src/widgets/kfileitemactions.cpp b31da0a38bfef634b0be207be9a87c9ba6864230 > src/widgets/kfileitemactions_p.h 3f669feb3cf54b61dcb7ad0a22bc005210e18899 > > Diff: https://git.reviewboard.kde.org/r/129019/diff/ > > > Testing > ------- > > Porting dolphin, folderview and kfind to this. > > Still debugging why some service menu entries appear duplicated though - > might or might not be related to this. > > > Thanks, > > David Faure > >