Bug 46458

Summary: [Qt] Transparency in QGraphicsWebView is broken on Maemo6 with the OpenGL paint engine
Product: WebKit Reporter: Jarmo Backlund <jarmo.backlund>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Blocker CC: ademar, hausmann, kenneth, menard
Priority: P1 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Linux   

Description Jarmo Backlund 2010-09-24 05:05:04 PDT
The problem is that when we disable QGraphicsItem::ItemCoordinateCache in
ovirunner we will get a black layer on top of the map.

Maemo6, see more QT-3986.
Comment 1 Tor Arne Vestbø 2010-09-24 06:43:53 PDT
Please provide a reduced testcase
Comment 2 Simon Hausmann 2010-09-30 00:39:25 PDT
Re-opening, QT-3986 contains a test-case that reproduces the issue. From the investigation of Alexis and me it is not unlikely to be a WebKit bug or a bug in Qt that is triggered by WebKit. For the moment we assume it's a WebKit bug and it's tracked here. Maemo bz 190777 has additional information.

I'm also adding this to the 2.1 release blocker, but this bug is a regression in 2.1 that does not happen with 2.0.
Comment 3 Jarmo Backlund 2010-09-30 04:01:02 PDT
--- Comment #51 from Kinnunen Kimmo (Nokia) <kimmo.t.kinnunen@nokia.com> 2010-09-30 13:45:16 EEST --- If you run the app with mtf '-graphicsystem raster -software' flag, you can see it works as expected on device. On host + mtf, raster is broken anyway..

Passing -software to a mtf app disables the usage of glwidget for graphicsview.

-graphicsview raster -software -> ok
-software -> not ok
-graphicsview raster -> not ok


Somehow on GL the paint gets black background. Painting with different webkit bg color + alpha does not work, the black rect glows through the translucent bg.

QPalette palette = webView->page()->palette(); palette.setBrush(QPalette::Base, QColor(255,0,0,125));
webView->setPalette(palette);
Comment 4 Simon Hausmann 2010-09-30 06:52:55 PDT

*** This bug has been marked as a duplicate of bug 45509 ***
Comment 5 Ademar Reis 2010-10-06 06:50:39 PDT
marked as duplicated and therefore should not block the release