Lockscreen shows wrong time after phonecall, seems to use outdated saved image of the screen
When an incoming phonecall lasts for more than a minute, the lockscreen after the call keeps showing the old time, the clock shows the time that was when the call came in.
Here is an example of what it looks like after a call, in this case the call started at 21:09 and lasted for a few minutes. The lockscreen then shows the time "21:09" after the call, even though the actual time is 21:13. The correct time is shown again at 21:14, so the clock shows 21:09 for a while and then jumps directly to 21:14:
Steps to reproduce this:
- Start with the lockscreen shown
- Make a call from another phone, answer it on the Librem 5
- Let the call be active for a few minutes
- Hang up from the Librem 5
- Now the lockscreen is shown again, but it shows the wrong time, until the next minute mark when it starts showing correct time again
Note that the time difference can be large, for example if the duration of the call was 40 minutes then the time shown will be 40 minutes off. The wrong time is shown for up to one minute, it seems like the screen is not refreshed until the next minute tick of the clock. So if you look at your phone after a call, you can really get the wrong idea about what time it is. This happened to me. :-)
Assuming that this has to do with some kind of saved image of the screen being displayed after the call, then maybe a possible fix would be to save a timestamp for that image and check the timestamp to see if the image needs to be refreshed before the saved image is used.
Phosh version:
purism@pureos:~$ apt list phosh
Listing... Done
phosh/byzantium,now 0.25.2-1pureos2 arm64 [installed,automatic]