Bug 419280 - Ledgers account dropdown does not show categories or hidden equity accounts
Summary: Ledgers account dropdown does not show categories or hidden equity accounts
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.0.8
Platform: Debian stable Linux
: NOR minor
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-27 03:21 UTC by lifeoftheory
Modified: 2020-03-27 03:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lifeoftheory 2020-03-27 03:21:26 UTC
In Ledgers, the account dropdown fails to reflect the actual account/category in two conditions:

* When Configure -> General -> Filter -> "Show equity accounts" is disabled, viewing an equity account in Ledgers does not show the equity account in the accounts dropdown. (e.g. by double-clicking a transaction belonging to an equity account in Payees). Also, no "Account" column appears like in the following scenario.
* Viewing a category in Ledgers does not update the accounts dropdown, irrespective of the "Show categories in the accounts list view" checkbox setting. An "Account" column appears instead, which is confusing for several reasons:
    1. The column represents a category, not an account (unless you're going by the accounting definition, which confusingly overloads the word "account")
    2. It is not consistent with the view for regular accounts.
    3. The column only shows the leaf node of the account hierarchy, which conflates two different leaf nodes of the same name.
    4. The "Account" column is unnecessarily redundant; in this view, only one category's transactions are shown.

To resolve both scenarios, I think it's better to remove the "Account" column and add temporary entries to the accounts dropdown. These temporary entries would behave as follows:

1. When a category/hidden account is opened in Ledgers, a partial hieararchy is added to the accounts dropdown that consists of the category/hidden account and all its parents.
2. When a regular account or another category/hidden account is opened, the temporary entries should be updated as necessary for that account.
3. These entries should be stylized in italics (or something to distinguish them from regular entries)

SOFTWARE/OS VERSIONS
KDE Plasma Version: 4:4.14.38-3
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3