D7130: KMoreTools: Update and fix desktopfiles

gregormi noreply at phabricator.kde.org
Sat Aug 5 23:52:29 UTC 2017


gregormi added a comment.


  In https://phabricator.kde.org/D7130#132762, @elvisangelaccio wrote:
  
  > In https://phabricator.kde.org/D7130#132742, @gregormi wrote:
  >
  > > In https://phabricator.kde.org/D7130#132640, @elvisangelaccio wrote:
  > >
  > > > It doesn't seem to fix the bug here, it's still saying that filelight and partitionmanager are not installed (but they are).
  > >
  > >
  > > Can you tell me what distro you are using and maybe the full path to the installed desktop files of filelight and partitionmanager
  >
  >
  >
  >
  >   /usr/share/applications/org.kde.filelight.desktop
  >   /usr/share/applications/org.kde.partitionmanager.desktop
  >
  >
  > (on archlinux)
  
  
  Hmm, this looks fine. Actually, KMoreTools uses KService to find out if an application is installed by passing the desktop filename (without extension), i.e. "org.kde.filelight" or "org.kde.partitionmanager" (KService::serviceByDesktopName(desktopEntryName)). I did not fully understand how it works internally. It uses some caching mechanism. Could you run kbuildsycoca5 or relogin and try again? I have no idea how I should reproduce it here on my machine because it works here. When dealing with KService I got the impression that it is hard to find out why a particular service (desktop file) is _not_ found.

REPOSITORY
  R304 KNewStuff

REVISION DETAIL
  https://phabricator.kde.org/D7130

To: gregormi, ltoscano, elvisangelaccio
Cc: ltoscano, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170805/7d3e1105/attachment.html>


More information about the Kde-frameworks-devel mailing list