[Webkit-unassigned] [Bug 86823] [GTK] Allow to attach/detach the inspector in WebKit2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 18 06:01:55 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=86823





--- Comment #4 from Carlos Garcia Campos <cgarcia at igalia.com>  2012-05-18 06:01:00 PST ---
(In reply to comment #3)
> (From update of attachment 142667 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=142667&action=review
> 
> > Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:438
> > -    return FALSE;
> > +    return TRUE;
> 
> These look like a somewhat unrelated fix. In the interest of better bisectability, can you land these three in a separate commit? rs=me on doing that

It's actually related, before this patch, it doesn't really matter whether we return TRUE or FALSE, because the even has been handled by the view. Now, if you click on the inspector view, and the inspector propagates the event, it gets to the inspected web view. This is specially noticeable when scrolling in the inspector and the inspected view is scrolled too at the same time. In any case, I can split this if you want.

> > Source/WebKit2/UIProcess/gtk/WebInspectorProxyGtk.cpp:156
> > +    // This method is called to decide whether to attach the inspector or not depending on whether
> > +    // the inspector view fits into the window. Attach is implemented by the client, so return 0
> > +    // when the client doesn't implement attach, to make sure the inspector is never attached.
> 
> I don't understand this comment, who would return 0 here?

oops, that comment doesn't make any sense, I forgot to remove it, it's part of another patch that I discarded.

-- 
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