SUMMARY When entering a new transaction the field "Pay to" gets the value from previous transaction even if it is manually deleted (empty). STEPS TO REPRODUCE 1. Enter a new transaction with any Payee in "Pay to" field, but not empty 2. Enter a new transaction with "Pay to" field cleared 3. Press Enter to save the transaction OBSERVED RESULT The second transaction gets the same Payee even if it was set to no payee. EXPECTED RESULT The second transaction should have empty payee assigned. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Frameworks 5.52.0 (available in About System) KDE Plasma Version: 5.14.3 KDE Frameworks Version: 5.52.0 Qt Version: Qt 5.11.1 (built against 5.11.1) ADDITIONAL INFORMATION I think the problem exists in all 5.* versions.
I'm pretty sure this is a duplicate, but I'll have to check later. However, the issue is that if there is nothing entered in the payee field when you either click or tab to another field, or save the transaction, KMM retains what was already in that field. The temporary workaround is to enter a single space for the payee and then either go to another field or save. The program will ask if you want to create a payee with the name " " and if you say "no" it will leave the field blank.
(In reply to Jack from comment #1) > I'm pretty sure this is a duplicate, but I'll have to check later. However, > the issue is that if there is nothing entered in the payee field when you > either click or tab to another field, or save the transaction, KMM retains > what was already in that field. The temporary workaround is to enter a > single space for the payee and then either go to another field or save. The > program will ask if you want to create a payee with the name " " and if you > say "no" it will leave the field blank. It may be reported earlier, because it's quite annoying, but I couldn't find any earlier bug reports. Workaround would be not to type single space (because there may be many payees with a space in the name) but two spaces, and - when asked by the program to add a new payee - click No. This is only a workaround but it's quite tedious to think about this bug when entering each transaction. The other workaround would be to force some payee, for example "Unknown" or similar.
Git commit a9c6fffc9cccd8718f93239b98faa6628f2835f5 by Thomas Baumgart. Committed on 15/12/2018 at 11:03. Pushed by tbaumgart into branch '5.0'. Unselect item in case text field is empty during focus out In case the combo box contained a previously selected item, this was not reset when the combo box text field was empty and the focus was removed from the field. This caused the previously selected item still to be reported as current item during e.g. the storage operation of a transaction. FIXED-IN: 5.0.3 M +4 -0 kmymoney/dialogs/stdtransactioneditor.cpp M +1 -0 kmymoney/widgets/kmymoneymvccombo.cpp https://commits.kde.org/kmymoney/a9c6fffc9cccd8718f93239b98faa6628f2835f5
*** Bug 392684 has been marked as a duplicate of this bug. ***