[dolphin] [Bug 432530] Files with long filename not behaving properly (name overflow)
bug-control at kde.org
bug-control at kde.org
Tue Jun 24 09:23:04 BST 2025
https://bugs.kde.org/show_bug.cgi?id=432530
Bojidar Marinov [:bojidar-bg] <bojidar.marinov.bg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
Latest Commit| |https://invent.kde.org/syst
| |em/dolphin/-/commit/aba0de7
| |301b060c40d543adbaa8d53cf69
| |a9d7ee
--- Comment #38 from Bojidar Marinov [:bojidar-bg] <bojidar.marinov.bg at gmail.com> ---
Git commit aba0de7301b060c40d543adbaa8d53cf69a9d7ee by Bojidar Marinov.
Committed on 23/06/2025 at 12:26.
Pushed by meven into branch 'master'.
Fix file names overflowing after text eliding
When QFontMetrics::boundingRect().width was replaced with
QFontMetrics::horizontalAdvance() in 76a46fd9094b17eb99e8a42cca8562fdc0b3814c,
an extra line (formerly introduced by a203c271161ce953354b9e0722492605a4d17415)
was changed as well.
Unfortunately, boundingRect().width is the correct function to use for
calculating the size of the last line, while horizontalAdvance would be correct
if we were laying it next to the previous line instead of below the previous
line.
M +1 -1 src/kitemviews/kstandarditemlistwidget.cpp
https://invent.kde.org/system/dolphin/-/commit/aba0de7301b060c40d543adbaa8d53cf69a9d7ee
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list