[Python-modules-team] Bug#764761: pyqt4-dev-tools: fontMetrics.elidedText performs poorly on '\t' in QLabel.

2014-10-18 Thread Dmitry Shachnev
On Fri, 17 Oct 2014 21:48:45 +0200, Enno wrote: Segfault? Well maybe I should add the full code: See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764761#15 The width of the tab is 80px according to Qt documentation, but this is not consistent with my experience, in my configuration in

[Python-modules-team] Bug#764761: pyqt4-dev-tools: fontMetrics.elidedText performs poorly on '\t' in QLabel.

2014-10-17 Thread Dmitry Shachnev
On Fri, 17 Oct 2014 11:57:16 +0400, Dmitry Shachnev wrote: Second, I get a segmentation fault trying to reproduce this issue (with both Qt 4 and Qt 5). Reported at [1]. Please ignore that part, upstream pointed that it was my fault (In both Python and C++, one needs to keep a reference to the

[Python-modules-team] Bug#764761: pyqt4-dev-tools: fontMetrics.elidedText performs poorly on '\t' in QLabel.

2014-10-10 Thread Enno
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 'blahmooh