Bug 501010

Summary: Binary Clock counts correctly to 9, but then jumps to 16.
Product: [Unmaintained] kdeplasma-addons Reporter: me
Component: Binary ClockAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: bharadwaj.raju777, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description me 2025-03-03 15:49:38 UTC
STEPS TO REPRODUCE
1. Add widget to Desktop 

OBSERVED RESULT
Clock counts to 9 perfectly fine, but then jumps to 16.
0000 1001 becomes 0001 0000

EXPECTED RESULT
After nine there should be ten and not 16.

SOFTWARE/OS VERSIONS 
Linux/KDE Plasma: Fedora Linux 41
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Comment 1 Bharadwaj Raju 2025-03-14 16:29:40 UTC
It's not jumping to 16, it's binary-coded decimal (https://en.wikipedia.org/wiki/Binary-coded_decimal).

It's how most binary clocks operate. Each of hours, minutes, seconds consists of two columns, representing the tens and ones places.

That means, for example,

(8)   0  0
(4)   0  1
(2)   0  0
(1)   1  0
        T O

Is to be read as (1 * 10) + 4 = 14
Comment 2 me 2025-03-14 17:57:43 UTC
In that case I am very sorry for flagging this as a bug. I thought it worked differently when i had used it previously, but i probably misremembered. 

Thank you very much for your kind response and have a nice day!