[Webkit-unassigned] [Bug 30366] New: if the QWebPage is rendered by a QGraphicsWidget child of another widget with ItemClipsChildrenToShape the scrollbar is not clipped

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 14 13:24:41 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=30366

           Summary: if the QWebPage is rendered by a QGraphicsWidget child
                    of another widget with ItemClipsChildrenToShape the
                    scrollbar is not clipped
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: notmart at gmail.com


at line 150 of ScrollbarThemeQt.cpp there is the followin instruction: 
p.painter->setClipRect(opt->rect.intersected(damageRect));

this causes the following problem: 
a QGraphicsWidget renders a QWebPage 
is the children of another qgw wit the flag ItemClipsChildrenToShape set. 
the scrollbars will be painted not clipped to the parent shape because of the
cliprect reset.

this patch intersect the rect, with the previous one, making the scrollbar to
be correctly clipped

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list