On 28/12/14 17:11, David Faure wrote:
> On Saturday 27 December 2014 13:13:57 Gregor Mi wrote:
>> ksnapshot.cpp,472: KRun::run(*service, list, this, isTempfile);
>>
>> url.isLocalFile():  true
>> list:
>> (QUrl("file:///home/gregor/dev/src/ksnapshot/build/snapshot_J12635.png") )
> 
> OK.
> 
>> isTempfile: true
> 
> Oh. Ah. This is why kioexec is being used. To delete the temp file once the
> app exits.
> 
>> return value: true
>> (which should probably not be the case because the program did not start
>> properly)
> 
> Hmm, yeah, but if KRun displays error messages on its own, the app has 
> nothing 
> else to do.

(No error messages were displayed to the user. At least I saw none. ...But the 
error
handling is a separate topic I think; or is solved by your fix.)

>> debug: command: "/home/gregor/dev/kf5/usr/lib64/libexec/kf5/kioexec
>> --tempfiles gwenview %U -caption Gwenview --icon gwenview
>> file:///home/gregor/dev/src/ksnapshot/build/snapshot_M18000.png" (so kioexec
>> is involved)
> 
> Right.
> 
> OK, trying to run this command by hand, I see what the problem is:
> 
> $KDEDIR/lib64/libexec/kf5/kioexec --tempfiles 'gwenview %U' -caption Gwenview 
> --icon gwenview /tmp/route.png
> Unknown options: c, a, p, t, i, o, n, icon.
> 
> It's a command-line parsing problem.
> I'll add unittests for KRun::run(service, urls) with and without tempFiles, 
> and then I'll fix it :-)

Great. :-)

>>> And why is kded5 not running? It's not installed?
>>
>> I thought this is maybe normal when developing under KDE4, isn't it?
> 
> Not really, no. It can run in parallel with kded4, and you need that, for a 
> number of things in KF5. So ... is kded5 installed? Not that this is the main 
> issue here.

When I have my KF5 environment variables set I can run kded5 by just typing it 
into the
console. So it is installed the same way as the other KF5 apps. Should it be 
installed
system wide?

For reference this is how it looks like when I start kded5:

0]gregor@host[KF5 set]:~/dev/kf5> kded5
kded5(6941)/default KCrash::setDrKonqiEnabled: Could not find drkonqi at
/home/gregor/dev/kf5/usr/lib64/libexec/drkonqi
kded5(6941)/default QXcbSessionManager::QXcbSessionManager: Qt: Session 
management error:
networkIdsList argument is NULL
kded5(6941)/default KDEInitInterface::ensureKdeinitRunning: klauncher not 
running...
launching kdeinit
kdeinit5: preparing to launch 'libkdeinit5_klauncher'
kdeinit5: Launched KLauncher, pid = 6947, result = 0
klauncher(6947)/default KCrash::setDrKonqiEnabled: Could not find drkonqi at
/home/gregor/dev/kf5/usr/lib64/libexec/drkonqi
klauncher(6947)/default QXcbSessionManager::QXcbSessionManager: Qt: Session 
management
error: networkIdsList argument is NULL
klauncher(6947)/default QDBusConnectionInterface::connectNotify: Connecting to 
deprecated
signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit5: opened connection to :0
klauncher(6947)/kf5.kiconthemes KIconLoaderPrivate::initIconThemes: "Theme 
tree: (Breeze)"
kdeinit5: Got EXT_EXEC '/home/gregor/dev/kf5/usr/bin/kbuildsycoca5' from 
launcher.
kdeinit5: preparing to launch '/home/gregor/dev/kf5/usr/bin/kbuildsycoca5'
kbuildsycoca5(6953)/default KCrash::setDrKonqiEnabled: Could not find drkonqi at
/home/gregor/dev/kf5/usr/lib64/libexec/drkonqi
kbuildsycoca5 running...
kbuildsycoca5(6953)/kf5.kservice.sycoca KSycocaPrivate::openDatabase: Trying to 
open
ksycoca from "/home/gregor/.cache5/ksycoca5"
kbuildsycoca5(6953)/default KBuildSycoca::checkTimestamps: checking file 
timestamps
kbuildsycoca5(6953)/default KBuildSycoca::checkTimestamps: timestamps check ok
kbuildsycoca5(6953)/default main: Emitting notifyDatabaseChanged ()
kdeinit5: PID 6953 terminated.
kded5(6941)/kf5.kservice.sycoca KSycocaPrivate::openDatabase: Trying to open 
ksycoca from
"/home/gregor/.cache5/ksycoca5"
kded5(6941)/kf5.kded Kded::loadModule: Successfully loaded module "kscreen"
kded5(6941)/kmix GlobalConfig::GlobalConfig: "Orientation" "Vertical"
kded5(6941)/kmix KMixD::KMixD: kmixd: Triggering delayed initialization
kded5(6941)/kf5.kded Kded::loadModule: Successfully loaded module "kmixd"
kded5(6941)/kf5.kded Kded::loadModule: Successfully loaded module 
"networkmanagement"
kded5(6941)/kf5.kded Kded::loadModule: Successfully loaded module 
"baloosearchfolderupdater"
kded5(6941)/kf5.kded Kded::loadModule: Successfully loaded module 
"platformstatus"
kded5(6941)/kf5.kded Kded::loadModule: Successfully loaded module 
"networkstatus"
kded5(6941)/kf5.kded Kded::loadModule: Successfully loaded module "printmanager"
klauncher(6947)/kf5.kservice.sycoca KSycocaPrivate::openDatabase: Trying to 
open ksycoca
from "/home/gregor/.cache5/ksycoca5"
kdeinit5: Got EXEC_NEW 
'/home/gregor/dev/kf5/usr/lib64/libexec/kf5/kconf_update' from
launcher.
kdeinit5: preparing to launch 
'/home/gregor/dev/kf5/usr/lib64/libexec/kf5/kconf_update'
2014-12-28T18:55:11 Checking update-file
'/home/gregor/dev/kf5/usr/share/kconf_update/gtkbreeze.upd' for new updates
2014-12-28T18:55:11 Checking update-file
'/home/gregor/dev/kf5/usr/share/kconf_update/kcalcrc.upd' for new updates
2014-12-28T18:55:11 Checking update-file
'/home/gregor/dev/kf5/usr/share/kconf_update/kde4breeze.upd' for new updates
kdeinit5: PID 6954 terminated.
kded5(6941)/kf5.kiconthemes KIconLoaderPrivate::initIconThemes: "Theme tree: 
(Breeze)"
kded5(6941)/pm.kded NewPrinterNotification::registerService: unable to register 
service to
dbus
kded5(6941)/kscreen KScreen::BackendManager::launcherDataAvailable: 
launcherDataAvailable:
"org.kde.KScreen.Backend.XRandR"
kded5(6941)/kscreen.kded KScreenDaemon::configReady: Config 
KScreen::Config(0xeab960) is ready
kded5(6941)/kscreen.kded KScreenDaemon::applyConfig: Applying config
kded5(6941)/kscreen.kded Serializer::configId: Part of the Id:
"25c4fee3c280aa9bb888bf21252b7c52"
kded5(6941)/kscreen.kded Serializer::configId: Part of the Id:
"e884a27ec443f963c20bc41d009bd8e6"
kded5(6941)/kscreen.kded Serializer::configId: Part of the Id:
"25c4fee3c280aa9bb888bf21252b7c52"
kded5(6941)/kscreen.kded Serializer::configId: Part of the Id:
"e884a27ec443f963c20bc41d009bd8e6"
kded5(6941)/kscreen.kded KScreenDaemon::applyKnownConfig: Applying known config
"dbdfc95f14579b3cb170363823868d48"
kded5(6941)/kscreen.kded Serializer::findOutput: Finding a mode with:
kded5(6941)/kscreen.kded Serializer::findOutput: QSize(0, 0)
kded5(6941)/kscreen.kded Serializer::findOutput: ""
kded5(6941)/kscreen.kded Serializer::findOutput: Finding a mode with:
kded5(6941)/kscreen.kded Serializer::findOutput: QSize(1680, 1050)
kded5(6941)/kscreen.kded Serializer::findOutput: "59.9542503356934"
kded5(6941)/kscreen.kded KScreenDaemon::doApplyConfig: doApplyConfig()
kded5(6941)/kscreen.kded KScreenDaemon::doApplyConfig: Config applied
kded5(6941)/kscreen.kded KScreenDaemon::setMonitorForChanges: Monitor for 
changes:  true
kded5(6941)/kscreen KScreen::ConfigMonitor::Private::backendConfigChanged: 
Requesting
missing EDID for outputs QSet(98, 100)
kded5(6941)/kscreen KScreen::ConfigMonitor::Private::edidReady: Received valid 
EDID for
output 98
kded5(6941)/kscreen KScreen::ConfigMonitor::Private::edidReady: Received valid 
EDID for
output 100
kded5(6941)/kmix KMixD::delayedInitialization: kmixd: Delayed initialization 
running now
[...]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to