https://bugs.kde.org/show_bug.cgi?id=510377
Thomas Baumgart <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|REPORTED |RESOLVED Latest Commit| |https://invent.kde.org/offi | |ce/kmymoney/-/commit/3d4134 | |d4dc55c085bb3e5cc3efbeaf06c | |81340b5 Version| |5.2.3 Fixed/Implemented| | In| | --- Comment #10 from Thomas Baumgart <[email protected]> --- Git commit 3d4134d4dc55c085bb3e5cc3efbeaf06c81340b5 by Thomas Baumgart, on behalf of Simone Iori. Committed on 27/07/2026 at 19:15. Pushed by tbaumgart into branch 'master'. Absorb manual column resizes on the side of the dragged separator LedgerView::adjustDetailColumn() keeps the columns filling the viewport exactly by handing the whole difference to the detail column, and it runs after every section resize — including the ones caused by the user dragging a separator. Two consequences: * the detail column cannot be widened with its right separator, since the correction takes the added width off it again; * dragging a separator to the right of the detail column moves the detail column's edge instead of the separator, because the correction lands on the other side of the drag. Separators to the left of the detail column behave correctly already, which is what makes the current behavior feel inconsistent. With this change, while the user drags a separator the columns to its right absorb the difference, cascading to the next one when a column reaches its minimum width; the detail column remains the absorber in every other case, such as the view being resized. The separator now stays where it was dropped, and the columns keep filling the viewport exactly as before, so no horizontal scrollbar appears. Two notes for review: * When several columns have to give way, the width is taken from the nearest one first until it reaches its minimum, rather than distributed proportionally over all of them. Both are defensible; this one felt the most natural in use. See the discussion on the bug report. * SplitView carries a copy of the same logic with the memo column as its absorber and has the same problem. I left it out of this change on purpose so the approach can be settled on one focused diff first; extending it afterwards is straightforward. FIXED-IN: 5.2.3 M +59 -4 kmymoney/views/ledgerview.cpp https://invent.kde.org/office/kmymoney/-/commit/3d4134d4dc55c085bb3e5cc3efbeaf06c81340b5 -- You are receiving this mail because: You are watching all bug changes.
