Bug 100682 - Out of process plugin doesn't receive X11 events
Summary: Out of process plugin doesn't receive X11 events
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Major
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2012-10-29 09:25 PDT by Zoltán Böszörményi
Modified: 2022-06-28 03:42 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Zoltán Böszörményi 2012-10-29 09:25:33 PDT
I maintain a PDF rendering plugin that has this architecture:

browser side of the plugin (npshell.c) -> external helper application

The external helper application uses GTK 2.x and Poppler to do the job and embeds itself into the browser window using XEMBED and the window ID supplied to  via GtkPlug. The problem is that although the initial contents of the window appear, i.e. the first Expose event arrives, subsequent events are not received by the helper application: mouse clicks / motion detection don't work and Expose events (apart from the first one) don't arrive either, so resizing the browser window messes up the plugin area. E.g. the plugin is able to rearrange its widgets according to the window width and uses the Expose event to detect the new window size. But it doesn't even happen.

The plugin exhibits the above described problem in WebKitGtk-base browsers, like Epiphany and a custom little application using the WebKitWebView widget. Both Epiphany and the custom browser app were tested under Fedora 17 (webkitgtk-1.8.3) and Fedora 18 pre-beta (webkitgtk-1.10.0)

The plugin works flawlessly under Firefox and Chrome.
Comment 1 Martin Robinson 2022-06-28 03:41:23 PDT
Support for plugins was removed in https://trac.webkit.org/changeset/265753/webkit.
Comment 2 Radar WebKit Bug Importer 2022-06-28 03:42:14 PDT