Bug 165109 - Mac OS X Dashboard widgets not working
Summary: Mac OS X Dashboard widgets not working
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-27 14:51 UTC by Arend van Beelen jr.
Modified: 2008-06-30 16:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arend van Beelen jr. 2008-06-27 14:51:53 UTC
Version:            (using KDE 4.0.83)
Installed from:    Ubuntu Packages

When adding a Mac OS X Dashboard widget to the Plasma desktop I currently get to see nothing but an empty, square black box instead of a widget.

I have downloaded a few Mac OS X widgets from http://www.apple.com/downloads/dashboard/, but none of them work. The widgets I tried are "Analog Clock", "Bar Code Clock" and "Gmail". All of them give the same empty black box.

I'm using Kubuntu 8.04 Hardy Heron, and am using the packages of KDE 4.1 beta 2 from http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu. I have installed the kdeplasmoids and kdebase-plasma-kde4 packages (among others, of course).
Comment 1 Aaron J. Seigo 2008-06-29 02:26:28 UTC
dashboard widgets work here. can you please do the following:

grep Plasma-API `kde4-config --localprefix`/share/kde4/services/plasma-applet*

and paste the output here; then if you get results, do:

grep PluginInfo-Name= `kde4-config --localprefix`/share/kde4/services/plasma-applet*

paste that output here too, if any.

next, with an entry like this:

X-KDE-PluginInfo-Name=dashboard_com.apple.widget.helloworld

do this from a terminal window:

plasmoidviewer dashboard_com.apple.widget.helloworld

paste the output displayed to the console here.
Comment 2 Arend van Beelen jr. 2008-06-30 12:09:12 UTC
Ok, here is the output you asked for:

> grep Plasma-API `kde4-config --localprefix`/share/kde4/services/plasma-applet*
/home/arendjr/.kde4//share/kde4/services/plasma-applet-dashboard_com.google.widgets.gmail.GmailWidget.desktop:X-Plasma-API=dashboard
/home/arendjr/.kde4//share/kde4/services/plasma-applet-dashboard_com.hostinspace.widget.barcodeclock.desktop:X-Plasma-API=dashboard
/home/arendjr/.kde4//share/kde4/services/plasma-applet-dashboard_com.pancratz.analog clock.desktop:X-Plasma-API=dashboard

> grep PluginInfo-Name= `kde4-config --localprefix`/share/kde4/services/plasma-applet*
/home/arendjr/.kde4//share/kde4/services/plasma-applet-dashboard_com.google.widgets.gmail.GmailWidget.desktop:X-KDE-PluginInfo-Name=dashboard_com.google.widgets.gmail.GmailWidget
/home/arendjr/.kde4//share/kde4/services/plasma-applet-dashboard_com.hostinspace.widget.barcodeclock.desktop:X-KDE-PluginInfo-Name=dashboard_com.hostinspace.widget.barcodeclock
/home/arendjr/.kde4//share/kde4/services/plasma-applet-dashboard_com.pancratz.analog clock.desktop:X-KDE-PluginInfo-Name=dashboard_com.pancratz.analog clock

And finally:
> plasmoidviewer dashboard_com.pancratz.analog clock
findServiceByDesktopPath:  not found
findServiceByDesktopPath:  not found

And I get to see a window containing an empty black plasmoid, just like described originally :)
Comment 3 Arend van Beelen jr. 2008-06-30 12:24:24 UTC
Oops, that last command was probably not very helpful, with the name of the argument given as 2 arguments. This one is better:

> plasmoidviewer dashboard_com.google.widgets.gmail.GmailWidget
findServiceByDesktopPath:  not found
Unrecognized val  "true"  for key  "AllowMultipleInstances"
Unrecognized val  "true"  for key  "AllowNetworkAccess"
Unrecognized key =  "CFBundleDevelopmentRegion"
Unrecognized key =  "CFBundleGetInfoString"
Unrecognized key =  "CFBundleInfoDictionaryVersion"
Unrecognized key =  "CFBundleShortVersionString"
Unrecognized key =  "Plugin"
Unrecognized val  "true"  for key  "AllowMultipleInstances"
Unrecognized val  "true"  for key  "AllowNetworkAccess"
Unrecognized key =  "CFBundleDevelopmentRegion"
Unrecognized key =  "CFBundleGetInfoString"
Unrecognized key =  "CFBundleInfoDictionaryVersion"
Unrecognized key =  "CFBundleShortVersionString"
Unrecognized key =  "Plugin"
Object::connect: No such signal QWebFrame::loadDone(bool)
Object::connect: No such signal QWebFrame::loadDone(bool)
JS CONSOLE MESSAGE: line  29 :  "Can't find variable: AppleInfoButton"

The window I get to see is the same though.
Comment 4 Aaron J. Seigo 2008-06-30 16:50:17 UTC
Object::connect: No such signal QWebFrame::loadDone(bool)

there's the problem. this was fixed just recently in svn. when you update to the next set of packages, it should magically start working for you. =)

thanks for the detailed response; really well done. i wish all bug reports/reporters were like this =)