[Pkg-kde-bugs-fwd] [Bug 97087] kdeinit problem launching programs in /usr/games

Waldo Bastian 97087@bugs.kde.org
18 Jan 2005 21:29:14 -0000


------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
You are a voter for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=97087         




------- Additional Comments From bastian kde org  2005-01-18 22:29 -------
Yes, the full path is causing the confusion. Fixed now.

This is what is happening: When KDE starts a application it looks at the "X-DCOP-ServiceType" entry. If it says "Multi" or "Unique" it will wait till the application has registered itself with DCOP to ensure that it is properly and fully started. In particular it will wait for an application to register itself using the name specified in "X-DCOP-ServiceName".
If that entry is missing (it usually is) it will use the first argument of the Exec line. So for "Exec=kpat" that goes ok, because kpat registers itself with DCOP as "kpat", but with "Exec=/usr/games/kpat" things go wrong, because now KDE will wait for kpat to register itself as "/usr/games/kpat", which never happens.

Patch in next comment.