Occasionally widget contents are not getting updated… I have to restart my phone to get them updated.
Occasionally widget contents are not getting updated… I have to restart my phone to get them updated.
Observations: when I go to “Customize item” > “More…” lightning menu for the widgets that are not getting updated… the preview shown on top is showing updated content…
Screenshots attached. I am using Minimalistic widget for displaying date.
Any quick way to manually force update widgets (other than remove-add again).
This is true for other widgets as well… (e.g. DU Batter Saver)
]]>
< ![CDATA[
I have noticed, widgets are updated, if their size is changed… I’ll try to create a script.
]]>
< ![CDATA[
This doesn’t look nice, but it works for me…
Run in container, where widgets are.
var c=LL.getEvent().getContainer();
var items=c.getItems();
for(a=0;a
{
var i=items.getAt(a);
if(i.getType()==”Widget”)
{
if(i.getProperties().getBoolean(“i.onGrid”))
{
var cell=i.getCell();
i.setCell(cell.getLeft(),cell.getTop(),cell.getRight()+1,cell.getBottom());
}
else i.setSize(i.getWidth()+1,i.getHeight());
}
}
var back=function(){ for(a=0;a
{
var i=items.getAt(a);
if(i.getType()==”Widget”)
{
if(i.getProperties().getBoolean(“i.onGrid”))
{
var cell=i.getCell();
i.setCell(cell.getLeft(),cell.getTop(),cell.getRight()-1,cell.getBottom());
}
else i.setSize(i.getWidth()-1,i.getHeight());
}
}
}
setTimeout(back,1000);
]]>
< ![CDATA[
Re-sizing widget is not refreshing the widget content 🙁
I have to restart my phone twice a day…
]]>
< ![CDATA[
This has been reported some times in the past. As Pierre said, this is an Android bug. The only thing is to put less widgets :/
Oh, you can use Dynamic text to show the date. You won’t have colors, but it will always be exact and updated.
]]>
< ![CDATA[
I have found a workaround to this “widgets not updating” issue… Today morning I found that the widgets are not getting updated since 2 hrs (the clock widget still displayed old time)… suddenly I thought “let’s kill LL and see if the widgets are refreshed”… and voila…. killing LL (using its own feature of long press LL app icon>App>Kill did the trick… of course LL was still running and somehow all the widget contents were refreshed…. (no delay at all in reload)
Now I have a recurring task in Tasker to kill LL every 2hrs
🙂
]]>