From: Eli Zaretskii Date: Mon, 1 Apr 2024 12:24:47 +0000 (+0300) Subject: ; * etc/PROBLEMS: Add an entry about WebKitGTK (bug#66068). X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e5b29a428b0c92d155b0678298bc183f82075881;p=emacs.git ; * etc/PROBLEMS: Add an entry about WebKitGTK (bug#66068). (cherry picked from commit f107dc26e37c7cc24b158b5dfd21b4fd8eb145f2) --- diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 19456640299..c725f7aeaa4 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -178,6 +178,32 @@ The relevant bug report is here: A workaround is to set XLIB_SKIP_ARGB_VISUALS=1 in the environment before starting Emacs, or run Emacs as root. +** Emacs built with xwidgets aborts when displaying WebKit xwidgets + +This happens, for example, when 'M-x xwidget-webkit-browse-url' +prompts for a URL and you type the URL at the prompt. + +The error message might look like this: + + X protocol error: GLXBadWindow on protocol request 151 + Serial no: 4286 + Failing resource ID (if any): 0x3c001c5 + Minor code: 32 + +This happens because starting from version 2.42.1, the WebKitGTK +developers discontinued support for off-screen windows, by presuming +that every window holding a WebView widget is an X server window +eligible for an OpenGL context. Emacs requires placing these widgets +within offscreen windows managed by GTK, for each xwidget might be +displayed in multiple distinct windows, and its contents must be +captured and reproduced within all of them if that be the case. + +To put this another way, WebKitGTK doesn't support displaying a single +widget more than once anymore. + +A possible workaround is to make sure xwidgets are not shown in more +than one window. + ** Emacs crashes with SIGTRAP when trying to start a WebKit xwidget. This could happen if the version of WebKitGTK installed on your system