https://bugs.kde.org/show_bug.cgi?id=464996
--- Comment #7 from ratijas <m...@ratijas.tk> --- > file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:61:17: > Unable to assign [undefined] to int Here is the line itself: > property int percent: root.isConstrained ? > pmSource.data["Battery"]["Percent"] : model["Percent"] > And for the context, the model is > model: root.isConstrained ? 1 : root.batteries > where `isConstrained` is basically "is it on a panel?" as opposed to "nope, it is on a desktop". Assuming from your screenshot that it is on a panel, the code should take this path: `pmSource.data["Battery"]["Percent"]`. So it must the Plasma DataEngine not providing required objects/properties either for .data or for .data["Battery"] expression. What does not make sense to me, is why it gets emitted periodically. Because once a binding is failed to evaluate, the engine would not keep track of the properties which it failed to get. However, it *probably* still was able to bind on `data` change signal, which is enough to trigger attempts to re-evaluate data["something"]["blahblah"]. So there must be a bug either in "powermanagement" data engine, or the way we handle it in applet's code. -- You are receiving this mail because: You are watching all bug changes.