[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KService / KRun / kioexec
From: Gregor Mi <codestruct () posteo ! org>
Date: 2014-12-19 10:34:25
Message-ID: 5493FF31.5010604 () posteo ! org
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi,
I narrowed the problem down to that `kioexec` cannot be started.
I can reproduce that by starting the latest KF5 ksnapshot and invoke any entry in the
SendTo menu.
This call in ksnapshot.cpp fails: (1) `KRun::run(*service, list, this, isTempfile);` It
shows the KToolInvocation but no application appears.
When I change the call to (2) `KRun::run(*service, QList<QUrl>(), this, isTempfile);`
(pass no arguments) the call succeeds.
In case (2) the service executable is started directly. In case (1) kioexec is used which
fails to start.
On the console it says
```
Couldn't start kded5 from org.kde.kded5.service:
QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kded5 was not
provided by any .service files") , falling back to running kbuildsycoca5
```
Might this be the reason that kioexec does not work? I am glad for any hint.
Gregor
On 30/11/14 21:19, Gregor Mi wrote:
> Hello,
>
> what is the current state of the KService in frameworks branch?
>
> I ask because ksnapshot's SendTo menu invokes a KService method to start the chosen
> application. When I click a menu item the launch indicator appears next to the mouse for a
> short time. But no program gets started.
>
> I use kdesrcbuild to build everything and work on KDE 4 with KF5 environment variables
> set. The behaviour can be reproduced on at least one other independently setuped computer.
>
> Gregor
>
>
[Attachment #5 (text/html)]
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Liberation Sans">Hi,<br>
<br>
I narrowed the problem down to that `kioexec` cannot be started.<br>
<br>
I can reproduce that by starting the latest KF5 ksnapshot and
invoke any entry in the SendTo menu.<br>
<br>
This call in ksnapshot.cpp fails: (1) `KRun::run(*service, list,
this, isTempfile);` It shows the KToolInvocation but no
application appears.<br>
<br>
When I change the call to (2) `KRun::run(*service,
QList<QUrl>(), this, isTempfile);` (pass no arguments) the
call succeeds.<br>
<br>
In case (2) the service executable is started directly. In case
(1) kioexec is used which fails to start.<br>
<br>
On the console it says<br>
```<br>
Couldn't start kded5 from org.kde.kded5.service:
QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name
org.kde.kded5 was not provided by any .service files") , falling
back to running kbuildsycoca5<br>
```<br>
<br>
Might this be the reason that kioexec does not work? I am glad for
any hint.<br>
<br>
Gregor<br>
<br>
</font>
<div class="moz-cite-prefix">On 30/11/14 21:19, Gregor Mi wrote:<br>
</div>
<blockquote cite="mid:547B7BC8.7080107@posteo.org" type="cite">
<pre wrap="">Hello,
what is the current state of the KService in frameworks branch?
I ask because ksnapshot's SendTo menu invokes a KService method to start the chosen
application. When I click a menu item the launch indicator appears next to the mouse for a
short time. But no program gets started.
I use kdesrcbuild to build everything and work on KDE 4 with KF5 environment variables
set. The behaviour can be reproduced on at least one other independently setuped computer.
Gregor
</pre>
<br>
</blockquote>
<br>
</body>
</html>
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic