Bug 335602 - DBus Service name differs in .desktop file and application
Summary: DBus Service name differs in .desktop file and application
Status: RESOLVED NOT A BUG
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: Git
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks: 335069
  Show dependency treegraph
 
Reported: 2014-05-30 16:59 UTC by David Edmundson
Modified: 2014-05-30 17:10 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Edmundson 2014-05-30 16:59:53 UTC
The desktop files expects the service name org.kate-editor.kwrite we register the dbus name org.kde.kwrite

(the .desktop)
X-DBUS-StartupType=Multi
X-DBUS-ServiceName=org.kate-editor.kwrite

the registered name is based on 

setOrganizationDomain
setApplicationName

Personally I'd go for org.kde.write, but maybe this was a concious decision to try and rename it? Either way, right now launching from the .desktop file breaks as kinit waits the dbus path to register.
Comment 1 David Edmundson 2014-05-30 17:10:55 UTC
Sorry for the noise.
It seems that .desktop file is no longer installed. 

org.kde.kwrite.desktop is also installed and that works ok.