El Tue, 26 Jul 2011 21:12:16 +0200 Łukasz Ślachciak <[email protected]> escribió: > Hello All.
Hi,
> Recently I was investigating how clipboard works in WebKit2 GTK.
> In fact it doesn't work ;-)
>
> Copying text to clipboard works (because
> gtk_clipboard_get_for_display is called) but pasting causes just
> GTk-critical errors (because helper->getCurrentClipboard(frame) is
> called).
>
> The problem is that we are missing in WebKit2
> WebChromeClient::platformPageClient() implementation.
Yes, because there's no view widget in the web process.
> it is called by widgetFromFrame() method.
>
> I'm thinking how to resolve this problem.
> Should we implement something like:
> PlatformPageClient WebChromeClient::platformPageClient() const
> {
> return GTK_WIDGET(webView());
> }
> But this is WebProcess and webView() returns 0 here.
>
> Should we try to return widget at UIProcess site?
> Any ideas?
https://bugs.webkit.org/show_bug.cgi?id=65252
> I see that platformPageClient() is called many times so this is not
> clipboard problem only.
Please, file bug reports for other uses of platformPageclient() in the
web process.
>
> Regards
>
> Lukasz Slachciak
Thanks for reporting,
--
Carlos Garcia Campos
http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3
signature.asc
Description: PGP signature
_______________________________________________ webkit-gtk mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk
