Bug 431285

Summary: krunner calculator does not convert hexa numbers with "0x" prefix, only with "0X"
Product: [Plasma] krunner Reporter: Peter Ped Helcmanovsky <ped>
Component: calculatorAssignee: Alexander Lohnau <alexander.lohnau>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, plasma-bugs, prayagjain2
Priority: NOR    
Version: 5.20.5   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description Peter Ped Helcmanovsky 2021-01-07 23:51:11 UTC
When I enter "=0x12" into krunner, the result is 0
Expected result is 18 (also what krunner shows when I enter "=0X12" with upper-case X in the prefix).

(this did work in 5.19, only started to not work in 5.20)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  KDE neon 5.20
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
Comment 1 Prayag Jain 2021-01-13 17:04:13 UTC
I can confirm this bug.
Comment 2 Nate Graham 2021-01-13 17:14:44 UTC

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