Bug 511890

Summary: Category Hierarchy Column - Default width is too narrow
Product: [Applications] kmymoney Reporter: Brendan <KDE>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: ostroffjh
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.2.2
Sentry Crash Report:
Attachments: Category Hierarchy Column Width

Description Brendan 2025-11-10 00:51:24 UTC
Created attachment 186661 [details]
Category Hierarchy Column Width

I'm running Fedora 43 with a freshly compiled version from the master branch. This has beena problem for a while, maybe since I switched to 5.2 about a year ago.

When either editing an existing category or creating a new one, the default Hierarchy column width is so narrow I can't read anything in it. This is especially annoying since it's the only column and 80% of the width is wasted.
Comment 1 Jack 2025-11-10 01:35:45 UTC
This is true in several views, including Accounts and Institutions.  The first column seems to default to a very minimal value.  I have been thinking about filing a bug, but just didn't get around to it.  I'm also not sure when it started.  In my case, also a compiled version from git master branch.
Comment 2 Brendan 2025-11-10 05:24:48 UTC
Jack,

I think I was waiting for you to report it while you were waiting for me to report:-) I never took the time to file a bug report when it bugged me and finally sat down and poked around until I found an exam}le of the problem. I feel like is does happen in other places but did not track any other examples down.
Comment 3 Thomas Baumgart 2025-12-16 17:00:19 UTC
Git commit 059be308c51401fbe69c0fc4e89ad8c2c841ebf2 by Thomas Baumgart.
Committed on 16/12/2025 at 17:00.
Pushed by tbaumgart into branch 'master'.

Use full view size if account view has only one column
FIXED-IN: 5.2.2

M  +27   -0    kmymoney/widgets/kmymoneyaccounttreeview.cpp
M  +4    -0    kmymoney/widgets/kmymoneyaccounttreeview.h

https://invent.kde.org/office/kmymoney/-/commit/059be308c51401fbe69c0fc4e89ad8c2c841ebf2
Comment 4 Thomas Baumgart 2025-12-17 07:24:49 UTC
Git commit db083e7dd169686c3bfb1705867eb9191deee50a by Thomas Baumgart.
Committed on 17/12/2025 at 07:24.
Pushed by tbaumgart into branch '5.2'.

Use full view size if account view has only one column
FIXED-IN: 5.2.2
(cherry picked from commit 059be308c51401fbe69c0fc4e89ad8c2c841ebf2)

M  +27   -0    kmymoney/widgets/kmymoneyaccounttreeview.cpp
M  +4    -0    kmymoney/widgets/kmymoneyaccounttreeview.h

https://invent.kde.org/office/kmymoney/-/commit/db083e7dd169686c3bfb1705867eb9191deee50a