Transaction report with tag filter: incorrect behaviour

I am using KMyMoney master build 3656 on Ubuntu 24.04 LTS.

I have entered a transfer transaction from account “A” to account “B” and assigned the tag "MyTag"to the transaction. When I create a transaction report with two filters: account=“A” and tag=“MyTag”, the transaction is not displayed for account “A”. However, when I add account “B” to the filter then the transaction is displayed twice (once for each account).

I would like the transaction to be displayed only for account “A” and consider the current behaviour to be a bug.

When you enter a transaction in the ledger of account A that transfers funds from one account (A) to another one (B) where B also could be an expense category, two so called splits are created: one for account A and one for B. If you attach a tag in this scenario it will be attached to the split for account B by design.

This is mostly useful when dealing when tagging expenses. To achieve your use case, simply switch to the ledger entry of the transaction in account B and tag it there.

When I switch to the ledger entry of the transaction in account B, it is already there, as shown in the screenshot below.

You’re right, that is (was) somewhat broken. Try a build > 3665.

It’s behaving now. Thanks very much. You’re all doing a great job!