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

            Bug ID: 498233
           Summary: MR works incorrectly in hexadecimal mode
    Classification: Applications
           Product: kcalc
           Version: 24.12.0
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

SUMMARY

When storing a hexadecimal number and reloading it the value is incorrect.

STEPS TO REPRODUCE

1. Enter hexadecimal mode

2. Follow these steps

=========== =================
Entry       Display
=========== =================
<AC>        0
1010101     1010101
<MS>        M =0x1010101
ffffffff    FFFFFFFF
-           FFFFFFFF-
<MR>        FFFFFFFF-16843009
=           E97BCFF6
=========== =================

OBSERVED RESULT

The decimal representation of the saved number is used as string entry for a
hexadecimal calculation.

EXPECTED RESULT

In hexadecimal mode the saved value is correctly loaded as hexadecimal number.

SOFTWARE/OS VERSIONS

KCalc: 24.12.0
KDE Frameworks: 6.9.0
Qt: Using 6.8.1 and built against 6.8.1
Ubuntu Plucky Puffin (development branch) (Xcb)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.11.0-9-generic

ADDITIONAL INFORMATION

Kcalc 21.12.3 worked just fine.

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

Reply via email to