[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#445068: marked as done (libqt4-gui: QAbstractItemView::setVerticalScrollBar bug)



Your message dated Fri, 19 Sep 2008 13:53:44 +0200
with message-id <200809191353.45022.fabo@debian.org>
and subject line libqt4-gui: QAbstractItemView::setVerticalScrollBar bug
has caused the Debian Bug report #445068,
regarding libqt4-gui: QAbstractItemView::setVerticalScrollBar bug
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
445068: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=445068
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libqt4-gui
Version: 4.3.1-2
Severity: normal

When loading a custom scrollbar to a QAbstractItemView via
setVerticalScrollBar or setHorizontalScrollBar, the scrollbar will no
longer be displayed correctly, as soon as a new model is loaded through
setModel.

The attached file demomstrates this for setVerticalScrollBar

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (800, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libqt4-gui depends on:
ii  fontconfig              2.4.1-2          generic font configuration library
ii  libaudio2               1.8-4            The Network Audio System (NAS). (s
ii  libc6                   2.6.1-1+b1       GNU C Library: Shared libraries
ii  libfontconfig1          2.4.2-1.2        generic font configuration library
ii  libfreetype6            2.3.5-1+b1       FreeType 2 font engine, shared lib
ii  libgcc1                 1:4.2.1-4        GCC support library
ii  libgl1-mesa-glx [libgl1 7.0.1-2          A free implementation of the OpenG
ii  libglib2.0-0            2.14.0-2         The GLib library of C routines
ii  libglu1-mesa [libglu1]  6.5.2-7          The OpenGL utility library (GLU)
ii  libice6                 1:1.0.0-3        X11 Inter-Client Exchange library
ii  libjpeg62               6b-13            The Independent JPEG Group's JPEG 
ii  libmng1                 1.0.9-1          Multiple-image Network Graphics li
ii  libpng12-0              1.2.15~beta5-1   PNG library - runtime
ii  libqt4-core             4.3.1-2          Qt 4 core non-GUI functionality ru
ii  libsm6                  1:1.0.0-4        X11 Session Management library
ii  libstdc++6              4.2.1-4          The GNU Standard C++ Library v3
ii  libx11-6                2:1.0.0-7        X11 client-side library
ii  libxcursor1             1.1.5.2-5        X cursor management library
ii  libxext6                1:1.0.0-4        X11 miscellaneous extension librar
ii  libxfixes3              1:4.0.1-4        X11 miscellaneous 'fixes' extensio
ii  libxi6                  1:1.0.0-5        X11 Input extension library
ii  libxinerama1            1:1.0.1-4        X11 Xinerama extension library
ii  libxrandr2              2:1.2.2-1        X11 RandR extension library
ii  libxrender1             1:0.9.0.2-4      X Rendering Extension client libra
ii  libxt6                  1:1.0.0-5        X11 toolkit intrinsics library
ii  zlib1g                  1:1.2.3.3.dfsg-5 compression library - runtime

Versions of packages libqt4-gui recommends:
pn  qt4-qtconfig                  <none>     (no description available)

-- no debconf information
#include <QApplication>
#include <QListView>
#include <QStringListModel>
#include <QScrollBar>



int main(int argc, char **argv) {

	QApplication app(argc, argv);
	QListView *lv = new QListView();
	QStringListModel *model= new QStringListModel();
	lv->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
	lv->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOn);

// relevan start
	lv->setVerticalScrollBar(new QScrollBar());
	lv->setModel(model);
// relevant end

	lv->show();
	app.exec();

}

--- End Message ---
--- Begin Message ---
Version: 4.4.0-1


--- End Message ---

Reply to: