Bug 440618 - Account dropdown in Ledger show categories
Summary: Account dropdown in Ledger show categories
Status: RESOLVED INTENTIONAL
Alias: None
Product: kmymoney
Classification: Applications
Component: ux-ui (show other bugs)
Version: 5.1.2
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-05 02:14 UTC by Eleazar
Modified: 2022-08-25 06:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Dropdown screenshoot (118.06 KB, image/png)
2021-08-05 02:14 UTC, Eleazar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eleazar 2021-08-05 02:14:34 UTC
Created attachment 140529 [details]
Dropdown screenshoot

SUMMARY
When you click on the dropdown to switch between accounts in the ledger view it shows accounts and categories grouped by type instead of just accounts as before.



STEPS TO REPRODUCE
1. Create file with multiple accounts
2. Go to ledger view for one account
3. Click on dropdown to switch to other account

OBSERVED RESULT
It shows all accounts and categories grouped by hierarchy. (See screenshot)

EXPECTED RESULT
Only show accounts


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 18.04
KDE Plasma Version:  5.12.9
KDE Frameworks Version: 5.44.0
Qt Version: 5.9.5

ADDITIONAL INFORMATION
App image Build 930 (KMyMoney-5.1.2-a66d285-x86_64.AppImage [https://binary-factory.kde.org/job/KMyMoney_Stable_Appimage_Build/lastSuccessfulBuild/artifact/KMyMoney-5.1.2-a66d285-x86_64.AppImage])
Comment 1 Eleazar 2021-08-05 02:43:30 UTC
I went as far back as I could in the App Images and noticed this all the way back to Build 928.

Don't when after Build 876 this first started appearing as I was not able to get any App Image to run from build 877 to 920 due to python issue and did not download any of the builds 921 - 927 to check
Comment 2 Thomas Baumgart 2021-08-06 07:56:14 UTC
It probably appeared when fixing bug 403196 with https://invent.kde.org/office/kmymoney/commit/97ff800786c22022478d4a25759511f2e105acc8
Comment 3 Dawid Wróbel 2021-08-10 17:30:47 UTC
Elezar,

"EXPECTED RESULT
Only show accounts"

As Thomas noted, this is intentional so that when you double click on a category in Categories view and it gets opened in the Ledger view, the category is properly displayed on the dropdown list. It keeps things coherent: since we use same Ledger for both Accounts and Categories, it should behave the same.

Why do you expect to see accounts only? Is there any particular reason?
Comment 4 Jack 2022-08-24 22:43:03 UTC
Should we close this as INTENTIONAL, or is there something else that might be done?