Bug 440618

Summary: Account dropdown in Ledger show categories
Product: [Applications] kmymoney Reporter: Eleazar <eaglexboy>
Component: ux-uiAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: me, ostroffjh
Priority: NOR    
Version: 5.1.2   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Dropdown screenshoot

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?