[Python-modules-team] Bug#764761: pyqt4-dev-tools: fontMetrics.elidedText performs poorly on '\t' in QLabel.
Enno
enno.vet at gmx.net
Fri Oct 10 21:30:53 UTC 2014
Package: pyqt4-dev-tools
Version: 4.10.4+dfsg-2
Severity: minor
Dear Maintainer,
Put tabbed text into a QLabel and elide it.
[self is QLabel, txt 'blah\tmooh\twoof']
fm = self.fontMetrics()
self.setText(fm.elidedText(txt, 1, self.width())
text displayed 'blah', even though 'blah mooh w'+u'\u2026' would have had enough space.
I suppose it's an upstream problem.
-- System Information:
Debian Release: 7.1
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.57-mash
Locale: LANG=de_AT at euro, LC_CTYPE=de_AT at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Versions of packages pyqt4-dev-tools depends on:
ii libc6 2.19-11
ii libgcc1 1:4.8.1-2
ii libqt4-xml 4:4.8.6+dfsg-1
ii libqtcore4 4:4.8.6+dfsg-1
ii libstdc++6 4.9.1-15
ii python 2.7.5-5
ii python-qt4 4.10.4+dfsg-2
pyqt4-dev-tools recommends no packages.
pyqt4-dev-tools suggests no packages.
-- no debconf information
More information about the Python-modules-team
mailing list