https://bugs.kde.org/show_bug.cgi?id=516653

Henrique Marks <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/ktexteditor/-/commit
                   |                            |/319bde40df03f32510fb4f855e
                   |                            |2cd25ac9774eda

--- Comment #5 from Henrique Marks <[email protected]> ---
Git commit 319bde40df03f32510fb4f855e2cd25ac9774eda by Henrique Marks.
Committed on 11/03/2026 at 21:02.
Pushed by hmarks into branch 'master'.

Update MiniMap Area

The scrollbar is not adjusting its column width correctly after hiding the
minimap, using the context menu, as reported in

By default, Kate uses a QGridLayout, with a dummy element, which acts as a
spacer between the horizontal and vertical scroll bars.

Make the dummy widget use sizeHint()->width(), instead of only width for its
SetFixedSize.

Add a method to update DummyWidth when KateScrollBar, updating its geometry
when the minimap property is toggled.

There is an automated test to verify the expected behavior.

M  +17   -0    autotests/src/kateview_test.cpp
M  +1    -0    autotests/src/kateview_test.h
M  +7    -1    src/view/kateviewhelpers.cpp
M  +3    -2    src/view/kateviewhelpers.h
M  +3    -3    src/view/kateviewinternal.cpp

https://invent.kde.org/frameworks/ktexteditor/-/commit/319bde40df03f32510fb4f855e2cd25ac9774eda

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to