Summary: | Dolphin unnecessarily truncates names of soft links in compact mode | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | bob53181 |
Component: | view-engine: compact mode | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | emmanuelpescosta099, frank78ac |
Priority: | NOR | Keywords: | investigated |
Version: | 4.11.5 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
URL: | https://bugs.kde.org/attachment.cgi?id=82911 | ||
Latest Commit: | http://commits.kde.org/kde-baseapps/b892058730544d53e0c08e32dc297f2f1256f9ae | Version Fixed In: | 4.13.0 |
Sentry Crash Report: | |||
Attachments: | My Font Settings |
Description
bob53181
2013-10-18 15:11:40 UTC
Created attachment 82928 [details] My Font Settings This is a screenshot of my font settings - maybe that makes it reproducible more easily (as suggested by Frank Reininghaus). The screenshot of the actual bug is here: http://bugsfiles.kde.org/attachment.cgi?id=82911 Thanks for the report! I could reproduce the problem now. The problem is in the function KStandardItemListWidgetInformant::itemSizeHint(int index, const KItemListView* view), which calculates the width that an item in Compact View requires. It calculates how many pixels the file name would require if it was not italic, but the width for the italic version may be slightly higher. When the view tries to render the text on the screen, it finds that the pre-calculated width is insufficient, and elides the name. Review-Request: https://git.reviewboard.kde.org/r/116121/ Git commit b892058730544d53e0c08e32dc297f2f1256f9ae by Emmanuel Pescosta. Committed on 05/03/2014 at 09:48. Pushed by emmanuelp into branch 'KDE/4.13'. Fix Bug 326210 - Dolphin unnecessarily truncates names of soft links in compact mode FIXED-IN: 4.13.0 Related: bug 310592 REVIEW: 116121 M +18 -0 dolphin/src/kitemviews/kfileitemlistwidget.cpp M +2 -0 dolphin/src/kitemviews/kfileitemlistwidget.h M +31 -5 dolphin/src/kitemviews/kstandarditemlistwidget.cpp M +12 -0 dolphin/src/kitemviews/kstandarditemlistwidget.h http://commits.kde.org/kde-baseapps/b892058730544d53e0c08e32dc297f2f1256f9ae |