Bug 507243

Summary: New investment transaction cannot be completed by pressing Enter after entering transaction amount
Product: [Applications] kmymoney Reporter: Ingo Klöcker <kloecker>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.2.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ingo Klöcker 2025-07-19 21:03:58 UTC
A new investment transaction cannot be completed by pressing Enter after entering transaction amount because the transaction amount still seems to think that the value is invalid.

STEPS TO REPRODUCE
1. Enter a new investment transaction, e.g. "Buy shares". The mandatory fields Security, Shares, Account, and Transaction amount are marked with a red frame. OK
2. Enter Security, Shares, Account. Move focus to Transaction amount (with Tab, but I doubt it matters). At this point, only the still empty Transaction amount field should be marked with a red frame. OK
3. Enter "10" as transaction amount.

OBSERVED RESULT
a) The Transaction amount field is still marked with a red frame although a valid value has been entered.
b) Pressing Enter has no effect.
I have to press Tab to move the focus to the next input field. Then the red frame around Transaction amount vanishes and I can press Enter to complete entering the new transaction.

EXPECTED RESULT
Pressing Enter should close the transaction editor and add the transaction to the ledger. And the red frame should probably vanish as soon as a valid number has been entered.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
KDE Frameworks Version: 6.16
Qt Version: 6.9.1