Page 1 of 1

Bug on clock in notification box

PostPosted: Sat Aug 18, 2018 6:18 am
by enderep12
Hi everyone,

I have a bug on the 3.5" LCDSysinfo's "Notification Box". Sometimes, the clock (I put it to 24h time format without seconds) only shows 3 numbers. Most of the time this involves a 4 somewhere in the clock.

Unfortunately I am not able to reproduce this in any way, however I managed to snap a screenshot:
https://imgur.com/Tc4DN25

This was yesterday at 08:54...

My suspicion is that this might have something to do with the size of the numbers and the available space.. However as mentioned, this does not happen every time - e.g. 08:14 works fine, then it might happen again at 08:24, etc.

Do you have any idea what could be causing this?

Edit:
And it happened again on 08:24, I managed to snap a video of it:
https://gfycat.com/MeagerBlondGibbon

As you can see, the clock jumps to "08:2" and then on 08:25 it jumped back from "08:2" to "08:25"

Re: Bug on clock in notification box

PostPosted: Mon Aug 20, 2018 6:51 am
by enderep12
Sorry for the double post, I did some more testing:
During the bug (right now it's showing "08:4" the full 10 minutes from 08:40 to 08:50), it does not matter if I change:
  • font size
  • font type (bold/regular)
  • weather (enable/disable)
  • 24 vs. am/pm

I basically fiddled with all settings that are available for the notification box and the bug still occurs. I reloaded the display after changing every settings, so it was on a fresh draw.

Re: Bug on clock in notification box

PostPosted: Wed Aug 29, 2018 3:34 pm
by TheLaGmAn
Thanks for the info.

It can either be the number not fitting (which would be weird because it does fit) or an issue drawing the change.
Can you add a second notification box so you can compare if it happens on both at the same time?

Re: Bug on clock in notification box

PostPosted: Fri Aug 31, 2018 12:11 pm
by enderep12
Hi,

thanks for the response.

I added a second bar and will report back as soon as it happens.

What is noticeable immediately is, that the 2nd bar will not show the weather (as well as the weather icon), even though the settings on both bars are exactly the same. Not sure if this is intended. On reload of the screen with the 2nd bar the weather icon pops up VERY quickly and instantly disappears.


Edit: Scratch that, this happened because my TS talker was overlapping the 2nd bar. I have now set up a screen with 2 bars and no overlaps.

It's currently 14:10 where I am, so the bug might reappear in 4 or 14min.

Edit 2:
It happened again, 14:24. With 2 bars and on a completely new template I made just for testing with nothing else except those two bars. Screen:
https://i.imgur.com/gs78ZKP.jpg

Another thing I noticed, might be related, is that my logs are getting flooded with:
31.08.2018 14:25:35:LCDSysinfo2 - Rectangle sizes are invalid considering line size of 0
31.08.2018 14:25:36:LCDSysinfo2 - Rectangle sizes are invalid considering line size of 0
31.08.2018 14:25:36:LCDSysinfo2 - Rectangle sizes are invalid considering line size of 0
31.08.2018 14:25:37:LCDSysinfo2 - Rectangle sizes are invalid considering line size of 0
31.08.2018 14:25:37:LCDSysinfo2 - Rectangle sizes are invalid considering line size of 0

Re: Bug on clock in notification box

PostPosted: Sat Sep 01, 2018 3:33 pm
by TheLaGmAn
Can you try with hour with seconds? see if there is any issue there

Re: Bug on clock in notification box

PostPosted: Mon Sep 03, 2018 6:22 pm
by enderep12
Yes, same issue. For example right now it showed "20:22:1" and 20:22:2" instead of 20:22:14 / 20:22:24... so it definitely has something to do with the 4

I made a video of a full minute, uncut:
https://www.youtube.com/watch?v=P7Z104ZaoLo

Re: Bug on clock in notification box

PostPosted: Fri Sep 21, 2018 3:50 pm
by TheLaGmAn
Try with the BETA 1.6.4.11_cgu , see if it does the same

Re: Bug on clock in notification box

PostPosted: Thu Oct 04, 2018 2:25 pm
by enderep12
Looking good so far. Was not able to reproduce it since installing this beta!

Thanks once again for the support!