Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, April 2008
WebKit Problem with Scrollbars


Message 1 in thread

Hi,

I am a new member of this list. I have played around with the new webkit 
features in the last week and wanted to join my experiences. So far I  
have written a program which uses custom widgets (subclasses of 
QPushButton and QSlider) to interact with some C++ classes. This is 
working fine except a few smaller things which I have noticed:

When a WebView class is displaying Qt widgets like my QPushButton and 
QSlider subclasses, the painting mechanism seems to have 2 bugs  
concerning the Scrollbars on the side of the webview. Both happen when 
the widget is only shown partly and the rest of it isn't visible, 
beceause the size of the webview isn't big enought (and thus the webview 
ist showing the vertical and horizontal scrollbars).

First Bug:
Parts of the Widget are drawn on top of the scrollbar.

Second Bug:
When I am scrolling up and more of a widget gets visible, it is not 
correctly redrawn. Instead parts of it are moved up and copied.

I have attached 2 fotos to make it clearer.

Thomas Bretgeld

PNG image

PNG image

PNG image


Message 2 in thread

On Tuesday 15 April 2008 15:32:03 Thomas Bretgeld wrote:

> First Bug:
> Parts of the Widget are drawn on top of the scrollbar.

Yes, I saw that. Qt 4.4.0 will have that bug, we don't have a fix yet but 
understand the problem.

>
> Second Bug:
> When I am scrolling up and more of a widget gets visible, it is not
> correctly redrawn. Instead parts of it are moved up and copied.

Yes, please try a recent Qt 4.4 snapshot it should be fixed there.


z.

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx