Registered Member
|
Having just upgraded to KDE 4.8.3 from 4.6.5 on a Linux platform, I found that the fuzzy clock widget was not recognized. A new download of the widget gave the following error when I tried to add it to the panel:
This particular widget used to be very useful as a desktop item, so is there any way it can be reinstated for the current version of KDE? |
Administrator
|
Did Fuzzy Clock Widget ship with KDE, or was it downloaded from KDE-Apps.org?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
My recollection (a little fuzzy now, after all this time!) is that in KDE 4.6.5 it had to be downloaded from the list provided from instructions which correspond to the current 'Get New Widgets/Download new Plasma widgets' (that's how I accessed the error-prone version under 4.8.3).
|
Administrator
|
Okay, that is a downloaded applet. I can confirm this on KDE Trunk - unfortunately you will need to contact the author of the applet to get this fixed.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I don't want to bash around and say that KDE is buggy, but there definitely something changed in KDE/Qt JavaScript bindings between 4.6 and 4.8.
Take this simple code for example:
(This goes to main.js in plasmoid tree.) It was copy-pasted from KDE documentation: http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/DataEngine#Connecting_Engines_to_plasmoid.dataUpdated http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/CheatSheet#Basics This will produce the same error as yours. Also, layout.setOrientation will complain about empty string, which means that QtVertical is not available anymore. I am afraid there is not much you can do about it. We would definitely use some developer skill here - someone who can dig into source code and understand what is happening under the hood.
Best regards
Mirosław Zalewski |
Administrator
|
@petern:
Which distro do you use? There should be a fuzzy clock widget in kdeplasma-addons, it works fine here (4.8.4). @Minio: The documentation is probably out of date. Not sure what to do about it - maybe send a message to plasma-devel mailing list (@kde.org)?
Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.
10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts |
Registered Member
|
@hans: PCLinuxOS 2012, latest apt upgrade at 26th August 2012, which included the shift to KDE 4.8.3. Everything went well (including the migration of all e-mail folder contents from the old Kmail to Kmail2) apart from the fuzzy clock problem.
|
Administrator
|
I guess you use this one? http://kde-look.org/content/show.php/Fu ... tent=96937
Try to install the official one from your package manager.
Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.
10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts |
Registered Member
|
@hans:
The fuzzy clock plasmoid I downloaded via Panel Options/Add Widgets was stored at the following location: ~/.kde4/share/apps/plasma/plasmoids/script-fuzzy-clock/ This is the one which when dragged to the desktop gave the error message I reported initially. The PCLinuxOS distro doesn't appear to contain the fuzzy clock. The actual line of code giving the problem is: Line 325: var form_factor = plasmoid.formFactor(); which as far as I can see is intended to pick up the plasmoid form factor from the Plasma system (although I may be wrong about this as my javascript skills are fairly primitive). Certainly, the function plasmoid.formFactor() is not defined within the javascript of the fuzzy clock script itself, although there is another instance of identical code to line 325 at line 291 of the script. Can you see any easy fix? |
Administrator
|
Do you have a package that's called "kdeplasma-addons" or something similar?
Unfortunately I'm don't know anything about scripted widgets, the bug is probably due to a change in the API.
Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.
10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts |
Registered Member
|
Brilliant, Hans!!! Now I've got my friendly fuzzy clock back. Grateful thanks.
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]