Bug 60003 - [Qt] White screen displays when using MiniBrowser with DrawingAreaImpl
Summary: [Qt] White screen displays when using MiniBrowser with DrawingAreaImpl
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 18:55 PDT by Yael
Modified: 2011-05-02 22:02 PDT (History)
2 users (show)

See Also:


Attachments
Patch. (1.30 KB, patch)
2011-05-02 18:59 PDT, Yael
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yael 2011-05-02 18:55:53 PDT
When enabling DrawingAreaImpl in Qt, a white screen is displayed instead of the web page.
That is because the page client is not returning its size correctly.
A patch is coming.
Comment 1 Yael 2011-05-02 18:59:19 PDT
Created attachment 92036 [details]
Patch.
Comment 2 Yael 2011-05-02 19:46:26 PDT
Not sure how else to prove that we are drawing the web page, so I am attaching a couple of callstacks.

UI process callstack when painting:
0	QPainter::drawPixmap	qpainter.h	837	0xb6253648	
1	WebKit::BackingStore::paint	BackingStoreQt.cpp	43	0xb62dc6e5	
2	WebKit::DrawingAreaProxyImpl::paint	DrawingAreaProxyImpl.cpp	98	0xb61c0e1c	
3	QWKPagePrivate::paint	qwkpage.cpp	284	0xb619b91b	
4	QGraphicsWKView::paint	qgraphicswkview.cpp	104	0xb6196883	
5	_q_paintItem	qgraphicsscene.cpp	4314	0xb4889f35	
6	QGraphicsScenePrivate::drawItemHelper	qgraphicsscene.cpp	4427	0xb488a651	
7	QGraphicsScenePrivate::draw	qgraphicsscene.cpp	4962	0xb488d647	
8	QGraphicsScenePrivate::drawSubtreeRecursive	qgraphicsscene.cpp	4853	0xb488cf71	
9	QGraphicsScenePrivate::drawItems	qgraphicsscene.cpp	4735	0xb488c50b	
10	QGraphicsView::paintEvent	qgraphicsview.cpp	3469	0xb48b97c1	


Web process callstack:
0	WebKit::createQImage	ShareableBitmapQt.cpp	39	0xb62daf56	
1	WebKit::ShareableBitmap::createGraphicsContext	ShareableBitmapQt.cpp	44	0xb62db005	
2	WebKit::DrawingAreaImpl::display	DrawingAreaImpl.cpp	591	0xb633cacb	
3	WebKit::DrawingAreaImpl::display	DrawingAreaImpl.cpp	512	0xb633c427	
4	WebKit::DrawingAreaImpl::displayTimerFired	DrawingAreaImpl.cpp	488	0xb633c248	
5	Timer<WebKit::DrawingAreaImpl>::fired	RunLoop.h	124	0xb633dc34
Comment 3 WebKit Commit Bot 2011-05-02 22:02:51 PDT
Comment on attachment 92036 [details]
Patch.

Clearing flags on attachment: 92036

Committed r85584: <http://trac.webkit.org/changeset/85584>
Comment 4 WebKit Commit Bot 2011-05-02 22:02:55 PDT
All reviewed patches have been landed.  Closing bug.