Blueforcer / awtrix3

Custom firmware for the Ulanzi Smart Pixel clock or self made awtrix. Getting started is easy as 1-2-3
https://blueforcer.github.io/awtrix3/
Other
1.41k stars 112 forks source link

[BUG] app does not get marked as staled if no other app is active #434

Closed matthias-bb closed 10 months ago

matthias-bb commented 10 months ago

Bug report

Describe the bug

When I start a custom app using "lifetimeMode=1" (app gets marked as staled after defined lifetime) it only gets marked as staled if an app switch occurs (more than one app is active and auto transition is enabled or app switch is forced by pressing left or right key).

Additional information

To Reproduce

Disable the native apps and start a custom app with lifetime=10 and lifetimeMode=1.

Expected behavior

After the given lifetime of 10 seconds I expect the app to get marked as staled.

Additional context

I am currently using the clock to monitor that my Raspberry Pi is up & running. Therefore I use a cron job which periodically updates a "pi alive" custom app via http. If this is the only app being displayed it never turns to staled even if my Raspberry is not alive anymore.

Blueforcer commented 10 months ago

Thats not a bug, Lifetime is only checked during app switches. Awtrix was not designed to display only one screen, so it was made this way so that i don't have to check the lifetime every second and possibly lead to jerking while an app is active

Clem- commented 6 months ago

That would have been nice to be able to delete a single app in this manner. I upvote for this feature request.