Using OSX Dashboard widgets

Sebastian Kuegler sebas at kde.org
Mon Mar 17 13:59:26 CET 2008


So I've read lots of commits about Dashboard widget support in Plasma, and of 
course wanted to try it myself. The problem is, the widgets don't seem to be 
shown on Plasma:

- I've updated qt-copy and hacked Zack's contentsSize() in
- rebuilt all of KDE (libs, base and so on)
- Downloaded the Chuck Norris widget

Dashboard Widgets do show up in the Add Widgets dialogue, but they don't show 
up on the canvas after clicking finished from the file chooser. Meanwhile, 
plasma's console outout:

Dir =  "ChuckNorrisFacts.wdgt"
Unrecognized val  "true"  for key  "AllowInternetPlugins"
Unrecognized val  "true"  for key  "AllowNetworkAccess"
Unrecognized val  "true"  for key  "BackwardsCompatibleClassLookup"
plasma(19991) Bundle::parsePlist: "CFBundleDevelopmentRegion" "English"
Unrecognized key =  "CFBundleDevelopmentRegion"
plasma(19991) Bundle::parsePlist: "CFBundleDisplayName" "ChuckNorrisFacts"
plasma(19991) 
Bundle::parsePlist: "CFBundleIdentifier" "com.Mike.widget.ChuckNorrisFacts"
plasma(19991) Bundle::parsePlist: "CFBundleName" "ChuckNorrisFacts"
plasma(19991) Bundle::parsePlist: "CFBundleShortVersionString" "1.0"
Unrecognized key =  "CFBundleShortVersionString"
plasma(19991) Bundle::parsePlist: "CFBundleVersion" "1.0"
plasma(19991) Bundle::parsePlist: "CloseBoxInsetX" "13"
plasma(19991) Bundle::parsePlist: "CloseBoxInsetY" "13"
plasma(19991) Bundle::parsePlist: "Height" "354"
plasma(19991) Bundle::parsePlist: "MainHTML" "ChuckNorris.html"
plasma(19991) Bundle::parsePlist: "Width" "344"
plasma(19991)/kio (KIOJob) KIO::stat: stat  
KUrl("file:///home/sebas/.kde4/share/apps/plasma/plasmoids/dashboard_com.Mike.widget.ChuckNorrisFacts")
plasma(19991)/kio (Slave) KIO::Slave::createSlave: createSlave ' "file" ' 
for  "file:///home/sebas/.kde4/share/apps/plasma/plasmoids/dashboard_com.Mike.widget.ChuckNorrisFacts"
plasma(19991)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: 
Listening on"local:/tmp/ksocket-sebas/plasmal19991.slave-socket"
plasma(19991)/libplasma Plasma::Widget::font: layout, return taskbarFont()
plasma(19991)/kio (KIOJob) KIO::CopyJobPrivate::startRenameJob: This seems to 
be a suitable case for trying to rename before stat+[list+]copy+del
plasma(19991)/kio (KIOJob) KIO::SlaveInterface::dispatch: error  
108   "rename"
plasma(19991)/kio (KIOJob) KIO::CopyJobPrivate::slotResultRenaming: Couldn't 
rename  KUrl("file:///tmp/kde-sebas/plasma1ePSXD/")  to  
KUrl("file:///home/sebas/.kde4/share/apps/plasma/plasmoids/dashboard_com.Mike.widget.ChuckNorrisFacts/plasma1ePSXD") , 
reverting to normal way, starting with stat
plasma(19991)/kio (KIOJob) KIO::stat: stat  
KUrl("file:///tmp/kde-sebas/plasma1ePSXD/")
plasma(19991)/kio (Slave) KIO::Slave::createSlave: createSlave ' "file" ' 
for  "file:///tmp/kde-sebas/plasma1ePSXD/Images"
plasma(19991)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: 
Listening on"local:/tmp/ksocket-sebas/plasmaK19991.slave-socket"
plasma(19991)/kio (Slave) KIO::Slave::createSlave: createSlave ' "file" ' 
for  "file:///tmp/kde-sebas/plasma1ePSXD/AppleClasses"
plasma(19991)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: 
Listening on"local:/tmp/ksocket-sebas/plasmaE19991.slave-socket"
plasma(19991)/kio (KIOJob) KIO::CopyJobPrivate::copyNextFile: 
copying  "/home/sebas/.kde4/share/apps/plasma/plasmoids/dashboard_com.Mike.widget.ChuckNorrisFacts/plasma1ePSXD/Default.png"
plasma(19991)/kio (KDirListerCache) 
KDirListerCache::slotFilesAdded: "file:///home/sebas/.kde4/share/apps/plasma/plasmoids/dashboard_com.Mike.widget.ChuckNorrisFacts"
plasma(19991)/kio (KDirListerCache) KDirListerCache::updateDirectory: 
KUrl("file:///home/sebas/.kde4/share/apps/plasma/plasmoids/dashboard_com.Mike.widget.ChuckNorrisFacts")
plasma(19991)/kio (KDirListerCache) 
KDirListerCache::slotFilesAdded: "file:///home/sebas/.kde4/share/apps/plasma/plasmoids/dashboard_com.Mike.widget.ChuckNorrisFacts/plasma1ePSXD"
plasma(19991)/kio (KDirListerCache) KDirListerCache::updateDirectory: 
KUrl("file:///home/sebas/.kde4/share/apps/plasma/plasmoids/dashboard_com.Mike.widget.ChuckNorrisFacts/plasma1ePSXD")
plasma(19991)/kio (KDirListerCache) 
KDirListerCache::slotFilesAdded: "file:///home/sebas/.kde4/share/apps/plasma/plasmoids/dashboard_com.Mike.widget.ChuckNorrisFacts/plasma1ePSXD"
plasma(19991)/kio (KDirListerCache) KDirListerCache::updateDirectory: 
KUrl("file:///home/sebas/.kde4/share/apps/plasma/plasmoids/dashboard_com.Mike.widget.ChuckNorrisFacts/plasma1ePSXD")
plasma(19991)/kio (KDirListerCache) 
KDirListerCache::slotFilesAdded: "file:///home/sebas/.kde4/share/apps/plasma/plasmoids/dashboard_com.Mike.widget.ChuckNorrisFacts/plasma1ePSXD"
plasma(19991)/kio (KDirListerCache) KDirListerCache::updateDirectory: 
KUrl("file:///home/sebas/.kde4/share/apps/plasma/plasmoids/dashboard_com.Mike.widget.ChuckNorrisFacts/plasma1ePSXD")
plasma(19991)/kio (KDirListerCache) 
KDirListerCache::slotFilesAdded: "file:///home/sebas/.kde4/share/apps/plasma/plasmoids/dashboard_com.Mike.widget.ChuckNorrisFacts/plasma1ePSXD"
plasma(19991)/kio (KDirListerCache) KDirListerCache::updateDirectory: 
KUrl("file:///home/sebas/.kde4/share/apps/plasma/plasmoids/dashboard_com.Mike.widget.ChuckNorrisFacts/plasma1ePSXD")
plasma(19991)/kio (KDirListerCache) 
KDirListerCache::slotFilesAdded: "file:///home/sebas/.kde4/share/apps/plasma/plasmoids/dashboard_com.Mike.widget.ChuckNorrisFacts/plasma1ePSXD/AppleClasses"
plasma(19991)/kio (KDirListerCache) KDirListerCache::updateDirectory: 
KUrl("file:///home/sebas/.kde4/share/apps/plasma/plasmoids/dashboard_com.Mike.widget.ChuckNorrisFacts/plasma1ePSXD/AppleClasses")
plasma(19991)/kio (KIOJob) KIO::SlaveInterface::dispatch: error  
108   "rename"
plasma(19991)/kio (KIOJob) KIO::CopyJobPrivate::copyNextFile: 
copying  "/home/sebas/.kde4/share/apps/plasma/plasmoids/dashboard_com.Mike.widget.ChuckNorrisFacts/plasma1ePSXD/ChuckNorris.js"


This last Dispatch Error gets repeated a lot (for all files in the bundle?), 
and I can't find Chuck on my desktop. Does anyone know what's going on here?
-- 
sebas

 http://www.kde.org | http://vizZzion.org |  GPG Key ID: 9119 0EF9 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080317/9d84c4ee/attachment.pgp 


More information about the Panel-devel mailing list