Bug 339492

Summary: QML updater applet fails to show up in the system tray
Product: [Applications] apper Reporter: Shmerl <shtetldik>
Component: generalAssignee: Daniel Nicoletti <dantti12>
Status: RESOLVED FIXED    
Severity: normal CC: matthias, rdieter
Priority: NOR    
Version: 0.9.0   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Shmerl 2014-09-28 22:23:03 UTC
After a recent update in Debian testing x86_64 (KDE 4.14.1) apper monitor stopped showing an icon for updates in the system tray.

System Tray Settings > Extra Items > Software Updater is enabled. apper version is 0.9.1.

When running plasma-desktop from the terminal and enabling software updater in the system tray this message shows up:

file:///usr/lib/kde4/imports/org/kde/plasma/components/Button.qml:194:5: QML Row: Possible anchor loop detected on fill.
file:///usr/lib/kde4/imports/org/kde/plasma/components/Button.qml:194:5: QML Row: Possible anchor loop detected on fill.
file:///usr/share/kde4/apps/plasma/plasmoids/org.packagekit.updater/contents/ui/main.qml:201: Error: Unable to determine callable overload.  Candidates are:
    status(PackageKit::Transaction::Status)
    status(PackageKit::Transaction::Status,uint)
    status(PackageKit::Transaction::Status,uint,qulonglong)
file:///usr/share/kde4/apps/plasma/plasmoids/org.packagekit.updater/contents/ui/main.qml:200: Error: Unknown method parameter type: PackageKit::Transaction::Role
file:///usr/share/kde4/apps/plasma/plasmoids/org.packagekit.updater/contents/ui/Transaction.qml:67: Error: Unable to determine callable overload.  Candidates are:
    status(PackageKit::Transaction::Status)
    status(PackageKit::Transaction::Status,uint)
    status(PackageKit::Transaction::Status,uint,qulonglong)

Also such message appear often:

QScriptEngine: Unable to handle unregistered datatype 'PackageKit::Transaction::Info' when invoking handler of signal PkTransaction::package(PackageKit::Transaction::Info,QString,QString)
plasma-desktop(1830) DeclarativeAppletScript::signalHandlerException: Exception caught:  QVariant(QVariantMap, QMap(("message", QVariant(QString, "Unknown method parameter type: PackageKit::Transaction::Info") ) )  ) 

Reproducible: Always

Steps to Reproduce:
1. kill plasma-desktop process
2. run plasma-desktop from the terminal.
3. If System Tray Settings > Extra Items > Software Updater is enabled, disable it.
4. Enable System Tray Settings > Extra Items > Software Updater

Actual Results:  
Error messages appear in the terminal and no updater icon showing up in the system tray even though there are updates pending.

Expected Results:  
Updater icon should show up in the system tray when there are updates.
Comment 2 Matthias K. 2014-10-23 18:04:57 UTC
I can confirm that this is fixed. New package with the patch is in Debian Unstable now.
I can't close this bug, so Daniel, if you have the time... ;-)