InfiniTimeOrg / InfiniTime

Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS
GNU General Public License v3.0
2.68k stars 916 forks source link

The current time cannot be seen in apps #1592

Open Riksu9000 opened 1 year ago

Riksu9000 commented 1 year ago

Verification

Introduce the issue

The time is only displayed in quicksettings, applist and the watchface. The time cannot be seen when using an app. We also don't have the screen space to spare for displaying the time in every app.

Preferred solution

Instead of putting the time in apps, the time could be temporarily overlaid on the screen, in a small font at the top edge of the screen for example, every time the watch is woken up, and perhaps with a strong shake as well.

Version

No response

minacode commented 1 year ago

I would like to have a lock-screen that appears first on wake-up before the watch goes to the last open screen. It would make sense that it would be (similar to) the watch face.

All we need to show the time with an "overlay" would be a method to reach the lock-screen from the running system (without the lock of course). I am thinking of a swipe gesture or long touch or something like that.

My phone works like that.

Riksu9000 commented 1 year ago

This would be a problem if you have a timer for example that you keep open so you can quickly check it. It would be the same for stopwatch, if it didn't disable sleep.

minacode commented 1 year ago

That's true. Keeping them running in the background and showing them on the lock screen if needed is the common solution for this, I guess.

JF002 commented 1 year ago

Instead of putting the time in apps, the time could be temporarily overlaid on the screen, in a small font at the top edge of the screen for example

Maybe we can use the top and sys layers from LVGL for this?

https://docs.lvgl.io/7.11/overview/layer.html#top-and-sys-layers

lorhof1 commented 1 year ago

It is already possible to go to notifications by double-pressing the button and then go back to the previous app with a single press or upwards swipe. The easiest solution would probably be to add the time to the notifications screen as it can be opened from apps already.