Bug 430242 - changing filter criteria while grouping Operations by Category expands a different set of categories
Summary: changing filter criteria while grouping Operations by Category expands a diff...
Status: RESOLVED FIXED
Alias: None
Product: skrooge
Classification: Applications
Component: general (show other bugs)
Version: Trunk from git
Platform: Flatpak Linux
: NOR minor
Target Milestone: 25.1.0
Assignee: Stephane MANKOWSKI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-11 02:17 UTC by skierpage
Modified: 2021-01-30 22:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description skierpage 2020-12-11 02:17:30 UTC
SUMMARY
To see where my money's at, I view Operations and Group by > Category, then expand the categories I'm investigating. This works fine, but if I change the filter criteria, a different set of categories opens.

STEPS TO REPRODUCE
1. Open Accounts, double-click on an account to open its Operations in a tab.
2. Click the settings icon to the right and choose Group by > Category
3. Click some of the bold category lines to expand to show operations in that category.
4. Now click the "Show: ..." text and change the filtering, e.g. click All (accounts)

OBSERVED RESULT
When you change the filtering, a different set of categories is expanded. Perhaps it's count-based, so the 2nd category in the view is expanded even if the 2nd category shown is now a different one.

EXPECTED RESULT
Skrooge should remember which categories were expanded and expand the same ones after changing the filtering.
If that's too hard, then maybe it should close (un-expand) all categories.

SOFTWARE/OS VERSIONS
Skrooge 2.25.0BETA from kdeapps
Linux/KDE Plasma: 
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.73.0
Qt Version: 5.14.2 on xcb

ADDITIONAL INFORMATION
When I change the filter criteria, the Skrooge flatpak prints several
  ##WARNING: QFont::fromString: Invalid description '(empty)'
in the console whence I started it.
Comment 1 Stephane MANKOWSKI 2021-01-30 22:27:04 UTC
Git commit 4493c7555008647222724d7f5b0d16cdcc830f52 by Stephane MANKOWSKI.
Committed on 30/01/2021 at 22:26.
Pushed by smankowski into branch 'master'.

changing filter criteria while grouping Operations by Category expands a different set of categories

M  +1    -0    CHANGELOG
M  +14   -1    skgbasegui/skgtreeview.cpp

https://invent.kde.org/office/skrooge/commit/4493c7555008647222724d7f5b0d16cdcc830f52