Package: kcalc
Version: 4:22.12.3-1
Severity: important

Dear Maintainer,

Pressing e.g. + or * repeatedly to add or multiply the same number leads to 
wrong results.

STEPS TO REPRODUCE
1. Activate scientific mode. Turn history on.
2. Type "1, +, Enter". Result is 2, History will show: "1 + 1 = 2" which is 
correct.
3. Type "1, +, +, Enter". Result is 2, should be 3, History will show: "1 + 1 + 
1  = 2" which is wrong.
4. Type "1, +, +, 2, Enter." Result is 3, should be 4, History will show: "1 + 
1 + 2 = 3" which is wrong.

The same happens with * .

If you retype the operand (e.g. "1, +, 1, Enter"), the result is correct.

OBSERVED RESULT
Using an operator twice skips one operation. History shows the operation and 
operands, but wrong results.

EXPECTED RESULT
Using an operator twice should repeat the operation on the operand visible in 
the entry field as it does on any other calculator. History should show correct 
results for displayed calculations.


I consider this important, not just normal, as math is core functionality of a 
calculator.


-- System Information:
Debian Release: 12.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kcalc depends on:
ii  libc6                 2.36-9+deb12u9
ii  libgmp10              2:6.2.1+dfsg1-1.1
ii  libkf5configcore5     5.103.0-2
ii  libkf5configgui5      5.103.0-2
ii  libkf5configwidgets5  5.103.0-1
ii  libkf5coreaddons5     5.103.0-1
ii  libkf5crash5          5.103.0-1
ii  libkf5guiaddons5      5.103.0-1
ii  libkf5i18n5           5.103.0-1
ii  libkf5notifications5  5.103.0-1
ii  libkf5widgetsaddons5  5.103.0-1
ii  libkf5xmlgui5         5.103.0-1
ii  libmpfr6              4.2.0-1
ii  libqt5core5a          5.15.8+dfsg-11+deb12u2
ii  libqt5gui5            5.15.8+dfsg-11+deb12u2
ii  libqt5widgets5        5.15.8+dfsg-11+deb12u2
ii  libqt5xml5            5.15.8+dfsg-11+deb12u2
ii  libstdc++6            12.2.0-14

kcalc recommends no packages.

kcalc suggests no packages.

-- no debconf information

Reply via email to