This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Different behavior when mass assigning category

Tags: None
(comma "," separated)
Horus
Registered Member
Posts
296
Karma
0
OS
Hello,

I have noticed that KMM behaves differently when I assign a category to a transaction individualy or for multiple transaction.

1) Ledgers -> Select single transaction -> Edit -> Set Category -> Enter
2) Ledgers -> Select multiple transactins -> Edit -> Set category in field Transfer from -> Enter

Why is category field named differently when multiple transactions are selected?

Now I go the Categories and double-click on the category.

When the category was assigned using 2) the From field is empty, when using 1) it is not.
Also, the Details column displays the From field when 1) was used, or the Memo when 2) was used.

Also, I wonder, why I can't select additional colums to be shown, neither displaying ONLY the Memo field or ONLY the From fields makes much sense.

Thanks,
Florian
Horus
Registered Member
Posts
296
Karma
0
OS
Dare to bump that.
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS
Horus wrote:Hello,

I have noticed that KMM behaves differently when I assign a category to a transaction individualy or for multiple transaction.

1) Ledgers -> Select single transaction -> Edit -> Set Category -> Enter
2) Ledgers -> Select multiple transactins -> Edit -> Set category in field Transfer from -> Enter

Why is category field named differently when multiple transactions are selected?

It seems that the actual label of the field depends on the last selected transaction.

Horus wrote:Now I go the Categories and double-click on the category.

When the category was assigned using 2) the From field is empty, when using 1) it is not.

Yes, because if you edit multiple transactions at once, only the widgets that contain data are used to update transactions (actually splits). Since you did not provide a payee it remains unchanged. The single transaction editor copies the payee name to both splits (one for the account and one for the category) and that is the reason why you see it then.

Horus wrote:Also, the Details column displays the From field when 1) was used, or the Memo when 2) was used.

In case there is no payee assigned, the details column will be filled with the contents of the memo. This works exactly as designed.

Horus wrote:Also, I wonder, why I can't select additional colums to be shown, neither displaying ONLY the Memo field or ONLY the From fields makes much sense.

Did you know, that you have options to control that behavior of the application? There is single line, the ledger lens and full display. Please take a look into the manual or its translated version.

Hope that helps.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
Horus
Registered Member
Posts
296
Karma
0
OS
ipwizard wrote:
Horus wrote:Hello,

I have noticed that KMM behaves differently when I assign a category to a transaction individualy or for multiple transaction.

1) Ledgers -> Select single transaction -> Edit -> Set Category -> Enter
2) Ledgers -> Select multiple transactins -> Edit -> Set category in field Transfer from -> Enter

Why is category field named differently when multiple transactions are selected?

It seems that the actual label of the field depends on the last selected transaction.

Sorry, I do not understand entirely. Both transactions are of the same type, I can't get why selecting two transactions, that share the exact same fields, makes the Category field renamed to Transfer To, when editing both transactions.

Horus wrote:Now I go the Categories and double-click on the category.

When the category was assigned using 2) the From field is empty, when using 1) it is not.

ipwizard wrote:Yes, because if you edit multiple transactions at once, only the widgets that contain data are used to update transactions (actually splits). Since you did not provide a payee it remains unchanged. The single transaction editor copies the payee name to both splits (one for the account and one for the category) and that is the reason why you see it then.

Ok, I think I got the logic. Still, for me that behavior is
a) a highly unexpected behavior to treat items so differently when mass assigning in contract to single assignment
b) very impractical since in the Category view I can't identify the Payee of a transaction, without going back to Ledger and view the transaction there.

Horus wrote:Also, I wonder, why I can't select additional colums to be shown, neither displaying ONLY the Memo field or ONLY the From fields makes much sense.
ipwizard wrote:Did you know, that you have options to control that behavior of the application? There is single line, the ledger lens and full display. Please take a look into the manual or its translated version.

The Ledger lens does not give me another column. Even when activating Show all registers it does either give me the details or the payee. Expected behavior from my perspective is that a click on the column header changes sorting and right click to hide/unhide columns.

Thanks and all the best!

Sorry, the uncorrect quoting, it's a real pain with BB code.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]