[Differential] [Request, 89 lines] D1728: Fix non-resizable infopanel when symlinks have a long target
elvisangelaccio (Elvis Angelaccio)
noreply at phabricator.kde.org
Tue May 31 15:26:20 UTC 2016
elvisangelaccio created this revision.
elvisangelaccio added a reviewer: rthomsen.
Restricted Application added a subscriber: kde-utils-devel.
Restricted Application added a project: Ark.
REVISION SUMMARY
When a symbolic link points to an entry with a long filename, the infopanel
takes almost all available horizontal space and, even worse, cannot be resized.
This is because there is a single QLabel with a multi-line text, one of which
is the symlink's target. This patch replaces this label with a vertical
layout containing different labels. The targetLabel is now a KSqueezedTextLabel so
that a long target name won't mess up anymore the infopanel size.
BUG: 363719
FIXED-IN: 16.08.0
TEST PLAN
Open the archive attached in bug #363719.
REPOSITORY
rARK Ark
BRANCH
split-metadata-labels
REVISION DETAIL
https://phabricator.kde.org/D1728
AFFECTED FILES
part/infopanel.cpp
part/infopanel.h
part/infopanel.ui
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: elvisangelaccio, rthomsen
Cc: kde-utils-devel, tctara
More information about the Kde-utils-devel
mailing list