Bug 407009

Summary: Wrong binary number value pasted from clipboard if number begins with 0
Product: [Applications] kcalc Reporter: Syam <get.sonic>
Component: generalAssignee: Evan Teran <evan.teran>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 18.12   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Syam 2019-04-28 10:15:58 UTC
STEPS TO REPRODUCE
1. Copy some binary number string that starts with 0, such as "011" (without the quotes) to clipboard
2. Open KCalc
3. Select Numeral System Mode
4. Press Ctrl+C to paste
5. Find that the pasted value is not as expected (eg. 1001 instead of 011)

The pasted value will be correct if the original number starts with 1 instead.
Comment 1 Christoph Feck 2019-04-28 10:36:22 UTC

*** This bug has been marked as a duplicate of bug 398849 ***
Comment 2 Christoph Feck 2019-04-28 10:40:54 UTC

*** This bug has been marked as a duplicate of bug 375681 ***