FastDraw icon indicating copy to clipboard operation
FastDraw copied to clipboard

[BUG] Widget does not update itself

Open HarriBuh opened this issue 1 year ago • 18 comments
trafficstars

Not sure whether this is intended or not, but the widget (a daily calendar in my case) does not seem to update ever, which is a mess. Please make it update itself.

HarriBuh avatar Feb 07 '24 17:02 HarriBuh

Hi, thanks for the report. No, this is not intended. Does this happen with all widgets (I think the easiest to test would be a clock)? Which Android version are you running?

peterfajdiga avatar Feb 08 '24 18:02 peterfajdiga

My guess is that it happens to all apps. Just recognised another bug: The widget doesn't seem to scale properly, as seen in the screenshot: markup_1000004731.png

I noticed this happening to other apps as well (like not being able to scroll through my task list- this starts randomly after some time, sometimes directly after I set up the widget).

I will look further at the update issue and report back.

HarriBuh avatar Feb 09 '24 09:02 HarriBuh

I tested it with a weather forecast app- no self updating here either. Seems very much lime a permanent issue then.

HarriBuh avatar Feb 09 '24 13:02 HarriBuh

Which version of Android are you running?

peterfajdiga avatar Feb 09 '24 15:02 peterfajdiga

Sorry, I overread that. 14, on a Pixel 7

HarriBuh avatar Feb 09 '24 15:02 HarriBuh

I can't reproduce it on Android 14 with built-in widgets. :( Which app's widgets did you try?

peterfajdiga avatar Feb 10 '24 10:02 peterfajdiga

  1. "WarnWetter" (de.dwd.warnapp) from Play Store
  2. "Fossify Calendar" (org.fossify.calendar) from F-Droid While I think this could be a battery saver issue from Android (I always have the "light" saving mode on), at least the Calendar widget would update itself on other launcher apps.

HarriBuh avatar Feb 10 '24 12:02 HarriBuh

I've tried the widgets of Fossify Calendar and I've tried to turn on the battery saving mode, but I still can't reproduce the issue. Do the widgets get frozen immediately when they're created? Does it happen every time? Or do they only get frozen in specific scenarios?

peterfajdiga avatar Feb 17 '24 16:02 peterfajdiga

It will happen every time. I wouldn't call it "freezing", the widgets just won't update to any changes I've made to the original app. I think I've had this issue with other launcher's widgets in the past, too. Even with other smartphones, on other Android versions

HarriBuh avatar Feb 17 '24 17:02 HarriBuh

@HarriBuh Is this issue still occuring for you? Or did it stop? Did you find a workaround?

peterfajdiga avatar Apr 27 '24 16:04 peterfajdiga

It's still occuring, but it looked like there won't be any solution to it. That's why I chose to close it.

HarriBuh avatar Apr 27 '24 21:04 HarriBuh

Thanks for the update. Unfortunately, you're right, I can't reproduce it, so I can't fix it. But I prefer to keep such issues open in order to keep track of them.

peterfajdiga avatar Apr 28 '24 08:04 peterfajdiga

Just adding context where I can in case this helps. This also happens with the Breezy Weather widget (both standard and freenet versions).

Android 11 (Go edition if that matters). FastDraw 2.1.3 from F-Droid

The weather widget does update in the default launcher (Quickstep) as well as in Simple Launcher.

In FastDraw, the weather widget data is populated when it's first added and then remains static with that data until removed/replaced. The widget has two components: clock and weather. The clock portion updates as expected and always shows the correct time, but the weather data is never updated from the app.

asimons04 avatar Aug 29 '24 11:08 asimons04

@asimons04 Thanks! I'll try this widget to see if I get the same problem.

peterfajdiga avatar Sep 12 '24 21:09 peterfajdiga

@peterfajdiga Thanks!

Extra context I forgot to come back and add: I tried the same setup on an older Android 9 / LineageOS 16 device, and it works perfectly.

Wish I could be more helpful, lol, but I'm not much of an Android dev.

Love the launcher, BTW!

asimons04 avatar Sep 12 '24 21:09 asimons04

Just adding context where I can in case this helps. This also happens with the Breezy Weather widget (both standard and freenet versions).

Android 11 (Go edition if that matters). FastDraw 2.1.3 from F-Droid

The weather widget does update in the default launcher (Quickstep) as well as in Simple Launcher.

In FastDraw, the weather widget data is populated when it's first added and then remains static with that data until removed/replaced. The widget has two components: clock and weather. The clock portion updates as expected and always shows the correct time, but the weather data is never updated from the app.

I repeated my previous test case on a nearly identical device (CAT S22 Flip, Android Go 11), and have different results.

Same FastDraw version (2.1.3) from F-Droid. Same Breezy Weather app/widget (5.2.8 from Github release, not F-Droid). Same Android version (11 Go edition) but this one I rooted (unlocked bootloader + Magisk). I don't think root makes any difference, but on this device, the widget does update the widget data correctly.

So, I really do not know if this is a FastDraw issue at all. I only experienced it with one device configuration (stock/unrooted Android 11 Go Edition), but it works correctly on all Android 9, 11, and 14 (Lineage 16 + Magisk, stock+Magisk, LineageOS 21 + Magisk, respectively).

When I have some time, I'll try two more things:

  1. I rarely run a stock ROM, but I do have one other device that's running stock. I'll install the same test case and see how it goes. I think it's Android 11 or maybe 12.
  2. Since I have two identical devices running near identical firmware (one stock, one stock+Magisk), I'll see if I can pull some logcat logs from both, compare, and hopefully shed some light on this.

asimons04 avatar Oct 02 '24 12:10 asimons04

Is this repo dead? Because I might just close this ticket due to inactivity.

HarriBuh avatar Dec 17 '24 15:12 HarriBuh

It's deadish. But please don't close due to inactivity. It's still useful to have a list of existing issues.

peterfajdiga avatar Dec 17 '24 16:12 peterfajdiga