Bug 507894

Summary: In ledger, tag not displayed on old transactions
Product: [Applications] kmymoney Reporter: Josean López <jall61>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal CC: johnrice5, lagunacreek
Priority: NOR    
Version First Reported In: 5.2.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: tag not displayed

Description Josean López 2025-08-05 11:04:41 UTC
Created attachment 183800 [details]
tag not displayed

SUMMARY
In ledger.
When upgrading from 5.1.3 to 5.1.2, transactions with assigned tags are no longer retained. That is, the assigned tag(s) are not displayed. This is also true if I edit the transaction.

OBSERVED RESULT
I attach a file

EXPECTED RESULT
That the assigned label appears, in this case Josean

SOFTWARE/OS VERSIONS
Windows:  Windows 10
Comment 1 Jack 2025-08-05 13:54:54 UTC
*** Bug 507900 has been marked as a duplicate of this bug. ***
Comment 2 lagunacreek 2025-08-05 14:02:37 UTC
Please also note tags are not displayed in reports.
Comment 3 Jack 2025-09-29 20:43:06 UTC
*** Bug 510050 has been marked as a duplicate of this bug. ***
Comment 4 Jack 2025-09-29 20:50:30 UTC
This was mentioned in the Discuss thread https://discuss.kde.org/t/kmymoney-5-2-0-any-setting-to-show-tags-keywords-in-ledger-kontenbuch/36309.  In 5.1.3, tags were applied to the transaction itself, but later versions apply tags to splits.  My understanding is that when a newer version opens a data file from an earlier version, it moves the tag to the split for the account.  This means the tag is not present in the split for the Category, which is why it is not showing up.  I believe you can confirm that the tag is actually present by doing Transaction/Show transaction details.
I had thought this had been addressed, but I can't find anything to confirm that.  It may require further work to decide how to resolve it.