Hello Pierre
Hello Pierre,
I have a strange behavior since a few updates (sorry, I did not write down the version, that was a stupid move). On my setup when I click on an item it opens. it is described here https://youtu.be/ojDoUvN4uBw
the strange behavior is illustrated below : the change in position (setPosition is used in the script) of the main panel seems to visually update only when it is interacted with.
in the video I click on the weather line. the “apps” line and “Tasker shortcuts” line should go down smoothly. instead, I have to click on the empty space to update the screen (and it is only a screen problem because it launches the Tasker task as if the button was indeed under my click position).
How could I debug this? what info can I provide?
Cheers
]]>
< ![CDATA[
I got the same problem with normal app shortcuts inside a panel. After cleaning ram and restart of LL it’s good for a while but it returns. Hope for a fix for this too.
]]>
< ![CDATA[
Cleaning ram? or cache ?
]]>
< ![CDATA[
Only RAM to force a restart of LL. Reboot the Phone works too. Only for a while.
]]>
< ![CDATA[
I think it is a different problem because rebooting the phone doesn’t fix it, even temporarily. I tried wiping cache / dalvik cache and didn’t fix it, how do you delete RAM on android ??
]]>
< ![CDATA[
Are you launching a tasker task or a script directly?
If you are launching a tasker task, maybe it is the one with the focus and lightning thinks it is hidden so it doesn’t update the screen.
Don’t know tasker, but maybe you need to change something to kill itself after launch.
If it is a script…which one?
]]>
< ![CDATA[
Clear RAM is only close all apps in the Taskmanager.
]]>
< ![CDATA[
TrianguloY It is a script, available here : https://drive.google.com/file/d/0B_j5Jt11KAJkY0pYejVacTYwbzg/view?usp=sharing
the line suposed to make it go down is
dCont.setPosition(0,-csiz[1]+panSiz[1]);
sorry comments are in french for now
tasker is not involved in the mechanism of my setup, i just showed it in the video to show that i click on a empty space which is not really empty (hence launching a shortcut)
]]>
< ![CDATA[
Hmm, I’m not really sure but maybe (maybe) the problem is that you are moving also other containers in the process, and perhaps it overrides the animation.
What if you place that line (the dCont.setPosition) just before the corresponding ‘return’?
]]>
< ![CDATA[
I just tried, it doesn’t seems to come from this. I also tried removing all “setPosition” commands and it doesn’t work as intended also :/
I’m new to javascript so maybe I’m making mistakes when coding, but I didn’t change the code when it occurred
]]>
< ![CDATA[
Antoine Masson are you using a recent Samsung device running Lollipop ?
]]>
< ![CDATA[
Hello, i did not see you replied… Well since this morning the behaviour is back to what is expected. I did not touch my scripts… Must have been an update from you or maybe another app (yeah I did “update all” so I don’t know).
]]>
< ![CDATA[
Bug fixed in 12.7 😉
]]>
< ![CDATA[
Super awesome 🙂
]]>