https://bugs.kde.org/show_bug.cgi?id=410346

            Bug ID: 410346
           Summary: Can't paste HEX strings starting with 0
           Product: kcalc
           Version: 18.12
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: ete...@alum.rit.edu
          Reporter: trufano...@gmail.com
  Target Milestone: ---

SUMMARY

I wonder, why I'm getting nan result while pasting "00AA" or "01AA" string to
KCalc, while pasting "10AA" works fine?

STEPS TO REPRODUCE
1. Run KCalc and switch to Numerical System Mode
2. Copy string "01AA" to clipboard
3. Paste it to KCalc via Ctrl+V

OBSERVED RESULT

"nan" is displayed.
EXPECTED RESULT

"1AA" should be displayed

SOFTWARE/OS VERSIONS

Operating System: Kubuntu 19.04
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
Kernel Version: 5.0.0-21-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-3520M CPU @ 2.90GHz
Memory: 7,7 GiB of RAM


ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to