Bug 381956 - Calculator widget doesn't show zeros after the decimal point unless you type something else than zero
Summary: Calculator widget doesn't show zeros after the decimal point unless you type ...
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: calculator (show other bugs)
Version: 5.24.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 464151 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-07-03 14:00 UTC by Patrick Silva
Modified: 2023-01-13 14:08 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.27


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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