In price entry for a dividend I always have to put three digits after the comma, otherwise the price is changed: e.g.: I put -> changed to 12 -> 12 12,0 -> 120,00 12,00 -> 1,20 12,000 -> 12,00
Please add detailed instructions on how you encountered the problem. You can start with this example file https://invent.kde.org/office/kmymoney/-/raw/master/kmymoney/plugins/views/reports/core/tests/data/test-investment.xml?ref_type=heads&inline=false
Created attachment 182866 [details] Screenshot Testcase
I added an attachment showing the issue in your testcase + my locale settings
Created attachment 182867 [details] locale settings in KDE
There is a difference in your locale settings for numbers (1,000.01) and currencies (1.000,01). KMyMoney is using the currency setting. Does adjusting the currency settings makes a difference and solves the problem?
I am hitting exactly the same issue. Thomas, in what way we should update the currency format?
Git commit 6ac6d13034d19ba574c3c49193c53495e5119a3c by Thomas Baumgart. Committed on 06/07/2025 at 15:16. Pushed by tbaumgart into branch 'master'. Fix a problem with keypad decimal on Qt6 M +1 -1 kmymoney/widgets/amountedit.cpp https://invent.kde.org/office/kmymoney/-/commit/6ac6d13034d19ba574c3c49193c53495e5119a3c
(In reply to Thomas Baumgart from comment #5) > There is a difference in your locale settings for numbers (1,000.01) and > currencies (1.000,01). KMyMoney is using the currency setting. Does > adjusting the currency settings makes a difference and solves the problem? I did not see any difference after setting currency to American (default) alike the numbers setting.
Did you restart the desktop session (i.e. logout and login)? Apparently that is necessary from what I noticed.
(In reply to Thomas Baumgart from comment #9) > Did you restart the desktop session (i.e. logout and login)? Apparently that > is necessary from what I noticed. not yet, will test later
(In reply to Robby Engelmann from comment #10) > (In reply to Thomas Baumgart from comment #9) > > Did you restart the desktop session (i.e. logout and login)? Apparently that > > is necessary from what I noticed. > > not yet, will test later tested --> changing the currency locale setting to American (default) did not change the described behavior even after restar (but did not yet test with the patches included, because kmymoney currently fails building in openSUSE unstable extra repo)
Git commit ff91fdc79a04ba552f5522bce2e0431c70d3b4d4 by Thomas Baumgart. Committed on 07/07/2025 at 19:23. Pushed by tbaumgart into branch '5.2'. Fix a problem with keypad decimal on Qt6 (cherry picked from commit 6ac6d13034d19ba574c3c49193c53495e5119a3c) M +1 -1 kmymoney/widgets/amountedit.cpp https://invent.kde.org/office/kmymoney/-/commit/ff91fdc79a04ba552f5522bce2e0431c70d3b4d4
Update status
it appears to be fine now, thanks