Bug 501010 - Binary Clock counts correctly to 9, but then jumps to 16.
Summary: Binary Clock counts correctly to 9, but then jumps to 16.
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdeplasma-addons
Classification: Unmaintained
Component: Binary Clock (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-03 15:49 UTC by me
Modified: 2025-03-14 17:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!