[Webkit-unassigned] [Bug 29593] New: [Qt] QWebFrame::render clipping issue

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 21 08:58:47 PDT 2009


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

           Summary: [Qt] QWebFrame::render clipping issue
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: Qt
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vestbo at webkit.org


This bug report originated from Nokia internal issue QT-1968


--- Comments ---

Function: Canvas

Version: 4.5.1

Platform: Linux
Fedora 10

Compiler: GCC
gcc version Red Hat 4.3.2-7

Short description: QWebFrame::render clipping issue

Did:
Rendered a QWebFrame into a QGraphicsWidget, using the GraphicsWidget's
bounding rect as the clip argument to QWebFrame::render(painter, clip).

The web page loaded was www.mezzacotta.com, and that webpage contains a SVG
comic in the middle (which may or may not be positioned inside the bounding
rect of the QGraphicsWidget depending on where you are scrolled to).

Expected to see:
Nothing drawn outside of the QGraphicsWidget's bounding rect (the clip region
passed to the render function).

Got instead:
The heads of the characters in the comic strip are often drawn no matter where
the comic strip is positioned relative to the graphics widget i.e. even when it
is outside the bounding rect.

More details:
The attached archive contains a simple demonstration of this bug. When you
scroll the graphics view (presumably causing a redraw of the exposed area) the
heads are often drawn outside of the square graphics widget.

Another place this bug is evident is in visiting mezzacotta from the KDE 4.2
webbrowser plasmoid. This demonstrates the aberrant behavior more clearly, but
is not as simple an example in terms of code.

-- 
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