Bindings with Variables in Panels doesn’t work correctly.
I have Taskerprofiles/Tasks which observe and count notifications for some Apps. When Tasker recognizes a new notifications it changes variables for LL. This works excellent.
In a simple example: $ll_mail for mail, $ll_hangout for hangout etc.
On desktop i have a textitem which have the binding for the text-label:
var z=($ll_mail*1) + ($ll_hangout*1) + …;
var za= z.toString();
return za;
Shows the sum of all notifications.
This works perfect.
Now i a have a panel. in this panel are other textitems with bindings for text-label:
var z=($ll_mail*1) ;
var za= z.toString();
return za;
var z=($ll_hangout*1) ;
var za= z.toString();
return za;
…
This works just for a short time, it stops working after a while.
The textitem on Desktop still fine.
With luck it works after restart/reboot.
When i move the Items out of the panel to desktop it works perfect again.
Happens on different devices. LL V12.6
Pierre Hébert
]]>
< ![CDATA[
Hmm, this could have nothing to do with the problem, but I’m interested in the result:
Disable the hardware acceleration of the panel (or enable it if is already disabled)
Does the bug still happens?
]]>
< ![CDATA[
TrianguloY where can i do this?
]]>
< ![CDATA[
Select the panel, as item, edit it and under misc, the last entry
]]>
< ![CDATA[
TrianguloY ok, i will check it, but sounds very very weird.
]]>
< ![CDATA[
It sounds, but there is a reason:
There is a not very old post about a bug with not refreshing panels, Pierre mentioned that maybe the hardware acceleration (or the lack of it, don’t remember now) causes the panel to not update, or even to update too much.
I’m sure you’ll guess why I asked you that 😉
]]>
< ![CDATA[
TrianguloY you might be right. i made a new panel with all my “bindingitems” without hardwar acc. then i dublicated it. as soon as i activate the hardware acc. for this panel the labels are gone.
i will make a test for a longer time (means max 1 hour in this case) to verify.
]]>