[dolphin] [Bug 503164] The compact status bar is too small for its content.

Akseli Lahtinen bugzilla_noreply at kde.org
Thu Apr 24 14:11:01 BST 2025


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

Akseli Lahtinen <akselmo at akselmo.dev> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/be36fc1
                   |                            |bc45b63693bd5861efed94c08cd
                   |                            |9ffe2a

--- Comment #9 from Akseli Lahtinen <akselmo at akselmo.dev> ---
Git commit be36fc1bc45b63693bd5861efed94c08cd9ffe2a by Akseli Lahtinen.
Committed on 24/04/2025 at 12:08.
Pushed by akselmo into branch 'master'.

DolphinStatusBar: Fix premature text squeezing

The text would get squeezed and elided prematurely due to some clipping
calculations and paddings created for the clipping.

This slightly modifies the clipping code, that we extend the painted
area and then clip off the excess, instead of moving the area to
specific place and then clipping off the excess.

This also makes sure the text width accounts for one extra character
plus the clippings we do, so that text will always fit the statusbar.

M  +3    -5    src/dolphinviewcontainer.cpp
M  +7    -4    src/statusbar/dolphinstatusbar.cpp

https://invent.kde.org/system/dolphin/-/commit/be36fc1bc45b63693bd5861efed94c08cd9ffe2a

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list