[Webkit-unassigned] [Bug 64297] [Qt][WK2] Add the Web Inspector to WebKit2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 9 15:20:53 PDT 2011


--- Comment #9 from Genisim <genisim at yahoo.com>  2011-08-09 15:20:52 PST ---

> Source/WebKit2/UIProcess/API/qt/qdesktopwebview.cpp:35
> -    : q(q)
> +    : q(q ? q : new QDesktopWebView(contextRef, pageGroupRef))

This is a really bad idea. You create implicitely a view that nobody own."

It is only way I make WebInspector working (showing). With other solution rendering happened on one view and showing other one (just white blank window)

Please suggest other solution. 

Remember - we need create relation between q (QDesktopWebView*) and inspected page and, I think, it must be just one QGraphicsWidget. 
This is what we have with proposed solution

thanks a lot for fast responses

P.S. I fixed other issues according your comments, except :

 1. described in this comment

 2. private pageRef(). Can't get pageRef from MiniBrowser app

Some apps / developers continue use Qt 4.7 and this is a main reason for 
probably two patches based on Qt 4.7 and Qt 5

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