Bug 430245 - summaries display truncated after searching in Operations grouped by Category
Summary: summaries display truncated after searching in Operations grouped by Category
Status: REOPENED
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 03:11 UTC by skierpage
Modified: 2022-05-12 00:20 UTC (History)
1 user (show)

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


Attachments
truncated summaries when grouping Skrooge operations by category (43.07 KB, image/png)
2020-12-11 03:11 UTC, skierpage
Details

Note You need to log in before you can comment on or make changes to this bug.
Description skierpage 2020-12-11 03:11:30 UTC
Created attachment 133988 [details]
truncated summaries when grouping Skrooge operations by category

SUMMARY
To see where my money's at, I view Operations and Group by > Category. This works fine, but after searching the summary lines for categories are truncated to the first column's width

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. Now enter something in the search field to limit results, continuing to type until nothing matches. For example, enter debitzzzzzz
4. Now clear the search field.

OBSERVED RESULT
At first the bold grouped category summary headings appear are fully visible, despite spanning multiple columns, e.g.
  > Category: Utilities > Water (3) Sum=$-165.25 [$-64.25, $-55.08, $-49.88]]
When I limit results by searching, the categories with matches continue to display. (All good so far.)
When I clear the search field, the other categories reappear, but now they appear truncated to the width of the first column in the view, e.g.
  > Cat...90]
see attachment.

EXPECTED RESULT
Skrooge should not switch to truncating grouping summaries to the width of the first column.

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
You can resize the first column to reveal more of the bold summaries. A better workaround is to click the "Show:..." on the left and change the filtering, after which summaries are no longer truncated.
Comment 1 Stephane MANKOWSKI 2022-01-10 21:48:24 UTC
Git commit 075d99693ee2f7d915c714331e8eafc7b94e6570 by Stephane MANKOWSKI.
Committed on 10/01/2022 at 21:48.
Pushed by smankowski into branch 'master'.

summaries display truncated after searching in Operations grouped by Category

M  +4    -0    skgbasegui/skgtreeview.cpp

https://invent.kde.org/office/skrooge/commit/075d99693ee2f7d915c714331e8eafc7b94e6570
Comment 2 skierpage 2022-05-12 00:20:31 UTC
I noticed the same thing happens with Go > Open sub operations..., so I started to file a bug for that. But then I found that this bug has reappeared with Operations grouped by (anything), in both stable and master flatpaks. I thought it was fixed, and the change to skgbasegui/skgtreeview.cpp in comment #1 is still present, so I'm not sure what's up.