qqq3/good-weather

Widget problem

dasmaetthes opened this issue · 10 comments

Hi
I have Problem with using the widget (4*2). After phone wakes up from from standby the widget is dark and doesn't react any more (app doesn't open, no actualisation).

CyanogenMod 11 Motorola Razer I

I'm having the same issue.

Samsung Galaxy S4 Mini (i9195 / serranoltexx)
LineageOS 14.1 (20170602)

Except for me it's not happening after standby, but after the Launcher app ("Trebuchet" on LineageOS, as on Cyanogenmod 11), has been stopped. (settings -> apps -> trebuchet -> stop)

Same here on Oneplus 2 with Cyanogenmod.
Both widgets are affected.

I'm getting the same effect after an orientation change of the launcher. First seen on LineageOS 14.1 with launcher Trebuchet. Reproduced in an emulated Nexus 5X running Android 7.0.

As a workaround I launch Good Weather, open its menu, select "Settings" -> "Widget settings" -> "Widget theme" and change the theme to something else. Then I select "Widget theme" once again, and change it back to my desired theme. This reliably "revives" the widgets, but only until the next rotation of the launcher...

Since that procedure became quite annoying over time, I tried to fix it by changing a few lines of code: See pull request #32. At least for me it does the job. I hope that it also works for the other Android variants.

ghtux commented

Pls pull this fix! Really want to use GW again

ghtux commented

Compiled app using commit for workaround and merged unifiedlp support into. App and widget run fine for several hours. Then gw stopped with an error. Didn't dig further into logs or code itself. But there still seems to be some issues

@mglinux Sorry, I did not really use it with automatic location update. But looking into the source, also my impression was that there were quite some issues that could cause such problems as you described. I considered doing something about it, but that seemed to call for some non-trivial rework.

When I noticed that there was no progress on the present issue despite PR #32, and that Good Weather was dropped from F-Droid's mainline repository, I switched to LineageOS' built-in weather widget.

mirh commented

In my experience, this just seems to apply to the 4x2 widget.
4x1 works fine.

I'm also having this issue, Android 8.1 pixel 2 XL

Has this issue been fixed yet? I still have this problem with the 3x1 transparent widget on LineageOS 15.1, Xiaomi Redmi 4x

I have the same issue with 3x1 widget using Lawnchair launcher on redmi 6.