plusonelabs / calendar-widget

An calender widget for your Android home screen.
Apache License 2.0
371 stars 126 forks source link

Update v3.0.11 to v3.1.6 is breaking again the widget #353

Closed MaxXor closed 4 years ago

MaxXor commented 4 years ago

After updating Todo Agenda from v3.0.11 to v3.1.6 the widget is broken again. Same procedure as mentioned in the README.md needs to be followed again to get it working. Any reason why it's always breaking the widget in the last two updates?

yvolk commented 4 years ago

The problem with upgrade may be caused by difference between the widget's layout, cached by your Launcher app, and current actual widget layout.

Yes, I made some widget's layout changes...

Unfortunately, as we noticed, at least some launchers don't delete data even about widgets of uninstalled apps (!). This is why reboot is needed even after app uninstall (and maybe more than one reboot...) in order to force that "unaware" Launcher to forget/delete the outdated widget's info...

@MaxXor You may also try to avoid reinstall, but do reboot(s) only ?!

And don't forget that we do have Backup/Restore now!

MaxXor commented 4 years ago

Thanks for the fast reply. First I just rebooted the device which didn't fix the problem, so reboot only didn't work. I'm using the default launcher of LineageOS. Yes, backup & restore worked flawlessly.

yvolk commented 4 years ago

@MaxXor BTW, recently we noticed one incompatibility with F-Droid build of the Widget and LineageOS device with default ("Trebuchet") launcher: https://github.com/plusonelabs/calendar-widget/issues/340 And only with that launcher...

MaxXor commented 4 years ago

Thanks yes, that's the launcher I'm using (and f-droid build too). The widget was still shown in the list of widgets though... anyways it's working now after following the reinstall + reboot instructions.