[Webkit-unassigned] [Bug 20079] [Qt] Canvas transparency errors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 10 12:15:24 PDT 2008


vbs85 at gmx.de changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1

------- Comment #1 from vbs85 at gmx.de  2008-09-10 12:15 PDT -------
This problem appears after the canvas clean-up.
In HTMLCanvasElement.cpp a QImage was initialised and filled with fill(0). To
make everything a bit more platform-independent, the qt code was droped and
replaced by an image-buffer.
And ImageBuffer creates a QPixmap. This pixmap isn't filled or cleared. Thats
why you see this strange "background". This happens on every canvas-example
where the background isn't set by canvas.fillRect() or something simular.

I tried to fix it by adding px.fill(Qt::transparent); to ImageBuffer::create().
That works for canvas (except of compositing), but brakes many html-pages.

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

More information about the webkit-unassigned mailing list