[dolphin] [Bug 425570] Long folder names create too much padding in breadcrumb
David Faure
bugzilla_noreply at kde.org
Sat Aug 22 12:49:03 BST 2020
https://bugs.kde.org/show_bug.cgi?id=425570
David Faure <faure at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Latest Commit| |https://invent.kde.org/fram
| |eworks/kio/commit/c1e658c72
| |3fc2c5a4b7d9a03f193c07a9098
| |77af
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
Version Fixed In| |5.74
--- Comment #4 from David Faure <faure at kde.org> ---
Git commit c1e658c723fc2c5a4b7d9a03f193c07a909877af by David Faure, on behalf
of Ismael Asensio.
Committed on 22/08/2020 at 11:48.
Pushed by dfaure into branch 'master'.
[filewidgets] Fix KUrlNavigatorButton padding on breadcrumb
Use `QFontMetrics::size(Qt::SingleLine, text).width()` instead of
`QFontMetrics::boundingRect(text).width()`. As suggested by @dfaure, from an
empiric point of view, this seems to be a better replacement for
`QFontMetrics::width()` when applied to strings than the other two
alternatives.
See also https://invent.kde.org/system/dolphin/-/merge_requests/22
FIXED-IN: 5.74
M +2 -2 src/filewidgets/kurlnavigatorbutton.cpp
https://invent.kde.org/frameworks/kio/commit/c1e658c723fc2c5a4b7d9a03f193c07a909877af
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list