Bug 30511
Summary: | Rotating the QGraphicsWebView on google.com shows black areas around the images | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kenneth Rohde Christiansen <kenneth> |
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | diegohcg, kling, tonikitoo, zecke |
Priority: | P2 | Keywords: | Qt, QtTriaged |
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Linux |
Kenneth Rohde Christiansen
This is only using the X11 backend, so it seems a Qt graphicsssystem X11 backend issue.
Outcommenting
155 if (!image->hasAlpha() && painter->compositionMode() == QPainter::CompositionMode_SourceOver)
156 painter->setCompositionMode(QPainter::CompositionMode_Source);
in ImageQt.cpp / BitmapImage::draw
Will make it work for X11, but that way we loose the optimization of using Source (write) instead of SourceOver (read + write)
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Holger Freyther
I think fixing it in Qt can not be that bad. It clearly must happen in a case where the X11 engine passes things on to raster and then back. The question is more who is introducing the black rect.
Antonio Gomes
(In reply to comment #1)
> The question is more who is introducing the black rect.
it might not be related to this bug specifically, bug <select> when 'size' attr is > 1 also draws back bg
Andreas Kling
Reproduced with r56001.
Diego Gonzalez
Cannot reproduce this bug in r79560
Jocelyn Turcotte
=== Bulk closing of Qt bugs ===
If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it.
If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.