Bug 381956

Summary: Calculator widget doesn't show zeros after the decimal point unless you type something else than zero
Product: [Unmaintained] kdeplasma-addons Reporter: Patrick Silva <bugseforuns>
Component: calculatorAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: contact, kde, nate
Priority: NOR    
Version First Reported In: 5.24.90   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.27
Sentry Crash Report:

Description Patrick Silva 2017-07-03 14:00:11 UTC
type some number, comma and zero. Zero is not visible.
type one more number but zero. Zero after comma is visible now.
Comment 1 Patrick Silva 2018-04-19 21:28:04 UTC
Still reproducible on Arch Linux, plasma 5.12.4.
Comment 2 Nate Graham 2023-01-11 16:44:25 UTC
*** Bug 464151 has been marked as a duplicate of this bug. ***
Comment 3 Bug Janitor Service 2023-01-11 19:53:22 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/318
Comment 4 Nate Graham 2023-01-13 14:08:47 UTC
Git commit 35b7a34c74773705b4fd3e3bcafef987092015e2 by Nate Graham, on behalf of Martin Frueh.
Committed on 13/01/2023 at 14:08.
Pushed by ngraham into branch 'master'.

applets/calculator: show zeroes after decimal point

Show all decimals including zeroes, and show decimal point for visible user
feedback. This commit only changes how input is displayed; the calculation
is not altered. The case when there are too many decimals to fit in the
textEdit is also not altered.
FIXED-IN: 5.27

M  +13   -3    applets/calculator/package/contents/ui/calculator.qml

https://invent.kde.org/plasma/kdeplasma-addons/commit/35b7a34c74773705b4fd3e3bcafef987092015e2