SUMMARY Until 24.05.0, pressing any number key or the . after pressing Enter/= started a new expression - the current value was replaced by the value you entered. Since 24.05.0, the same action results in the entered value being appended to the current value, so to start a new expression, you need to press Esc/C/CA. It would be nice to bring back the previous behavior. STEPS TO REPRODUCE 1. Enter 55*2 - input field contains 55*2, display field contains 110 2. Press Enter - input field contains 110, display field is empty 3. Enter 33 - display field is empty, but input field contains 11033 instead of 33 SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20240618 KDE Plasma Version: 6.0.5 KDE Frameworks Version: 6.3.0 KDE Gear Version: 24.05.1 Qt Version: 6.7.1
Can reproduce on master.
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kcalc/-/merge_requests/110
Git commit e8152271ad76535caafe07f693550e8219238fb3 by Gabriel Barrantes. Committed on 04/07/2024 at 21:09. Pushed by gabrielbarrantes into branch 'master'. Start new input on numeric entries after "equal" Clear input display after a result has been moved to the input display when entering a digit or decimal point. M +13 -3 kcalc.cpp M +1 -0 kcalc.h M +28 -11 kcalc_input_display.cpp M +4 -3 kcalc_input_display.h https://invent.kde.org/utilities/kcalc/-/commit/e8152271ad76535caafe07f693550e8219238fb3
*** Bug 490722 has been marked as a duplicate of this bug. ***