[PyQt] strange scrolling behavior everywhere
david at boddie.org.uk
Wed Feb 17 01:32:24 GMT 2010
On Wednesday 17 February 2010, Peter Schmidtke wrote:
> Thanks for answering already :) I know I did not provide lots of
> information, but more because I thought that this behaviour was somehow
> Find attached to this mail my ui file. It behaves the same way when I do
> the preview in the qt designer.
With an old version of Qt Designer from Qt 4.3.2, I also see the same
problem. Trying to drag on the vertical scrollbar in the queryEdit simply
causes it to scroll down to the end and stay there.
> some info about the system and versions.
> openSuse 11.1 64 bit
> Qt Open Source Edition version 4.4.3
> same qt designer
> pyqt4-4.4.3-1.41 from the official repo oss from opensuse
> python 2.6 (GCC 4.3.2 [gcc-4_3-branch revision 141291])
Hmm. The problem is quite old, then. :-/
In any case, I think it is to do with style sheets. If I remove the style
sheet by clearing it, the scrollbar is shown in the platform style and
If it still exists in current versions, I would say that it is a long-
standing style sheet bug. If it's fixed in current versions then the only
realistic options are to upgrade or to work around it - this may mean that
you cannot use style sheets for scrolling widgets.
> I do not know if this is linked, but I also can not use "normally again"
> the dock widgets. I can not pull them around, even when they should float,
> they are indeed detached from the main window...but I can not drag them
> around like I normally should be able to do. I tried pretty much everything
> in the qt designer and finally gave it up (so there aren't in the current
> ui file).
Maybe this is also a style sheet issue.
More information about the PyQt