Hi Rogier, thanks for the report and the patch. I applied it and it works. I'll upload ASAP.
Cheers, Bastian Am 04.08.2010 16:17, schrieb Rogier: > Package: reportbug-ng > Version: 1.22 > Severity: minor > Tags: patch > > > Hi, > > When entering a filter expression (which reduces the number of rows), > and then modifying it (e.g. using 'backspace') so that rows are added > again, the rows will have the default row size, which in my case is > twice the regular row size :-(. > > I have done some experimentation, and the (a?) solution seems to be to > add a 'self.tableView.resizeRowsToContents()' at the end of > lineedit_text_changed in rnggui.py. See attached patch. > > Regards, > > Rogier. > > P.S. The change in rnggui.py reported below, is exactly my proposed patch. > > > -- System Information: > Debian Release: squeeze/sid > APT prefers testing > APT policy: (500, 'testing') > Architecture: i386 (x86_64) > > Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages reportbug-ng depends on: > ii python 2.6.5-5 An interactive high-level > object-o > ii python-apt 0.7.95 Python interface to libapt-pkg > ii python-debianbts 1.4 Python interface to Debian's Bug > T > ii python-qt4 4.7.3-1+b1 Python bindings for Qt4 > ii python-support 1.0.8 automated rebuilding support for > P > ii xdg-utils 1.0.2+cvs20100307-1 desktop integration utilities > from > ii xterm 259-1 X terminal emulator > > reportbug-ng recommends no packages. > > reportbug-ng suggests no packages. > > -- no debconf information > > -- debsums errors found: > debsums: changed file /usr/share/reportbug-ng/rnggui.py (from reportbug-ng > package) > > *** reportbug.patch > diff -aur reportbug-ng-1.22/src/rnggui.py reportbug-ng-1.22a/src/rnggui.py > --- reportbug-ng-1.22/src/rnggui.py 2010-06-19 14:59:49.000000000 +0200 > +++ reportbug-ng-1.22a/src/rnggui.py 2010-08-04 21:13:39.000000000 +0200 > @@ -175,6 +175,7 @@ > QtCore.Qt.CaseInsensitive, > QtCore.QRegExp.FixedString) > ) > + self.tableView.resizeRowsToContents() > > def lineedit_return_pressed(self): > # > > > > > -- Bastian Venthur http://venthur.de Debian Developer venthur at debian org -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

