unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 66068@debbugs.gnu.org, rdiaz02@gmail.com,
	Stephen Berman <stephen.berman@gmx.net>
Subject: bug#66068: 30.0.50; xwidget-webkit-browse-url makes Emacs abort
Date: Sun, 10 Dec 2023 23:28:30 +0800	[thread overview]
Message-ID: <s0dil56yt41.fsf@yahoo.com> (raw)
In-Reply-To: <83v896ummp.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 10 Dec 2023 17:02:06 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

> The backtrace seems to say that there was some X error:
>
>   X protocol error: GLXBadWindow on protocol request 151
>   Serial no: 4286
>   Failing resource ID (if any): 0x3c001c5
>   Minor code: 32
>
> I guess we now need to understand what window triggered the "bad
> window" error and why?

I've commented on precisely the same bug in the past; if someone can
unearth that bug number, this bug ought to be merged with it.

It boils down to how the WebKitGTK developers have elected to cease
supporting 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.  There is another library designed for
such use-cases as that of Emacs, based on the same WebKit library as
WebKitGTK, by the name of WPE.  The solution to this bug, in my
estimation, is rewriting xwidgets for that library... any volunteers?

BTW, please pardon my belated response to this bug.  Time remains scarce
for me.





  reply	other threads:[~2023-12-10 15:28 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-18 10:06 bug#66068: 30.0.50; xwidget-webkit-browse-url makes Emacs abort Stephen Berman
2023-09-18 11:16 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-18 12:16   ` Stephen Berman
2023-09-18 14:11     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-18 15:08       ` Stephen Berman
2023-09-20  3:22         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-24 15:12           ` Stephen Berman
2023-09-25  0:30             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-25  8:47               ` Stephen Berman
2023-09-25  9:25                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-25 10:22                   ` Stephen Berman
2023-09-30 10:03                     ` Stephen Berman
2023-09-30 11:52                       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-30 12:09                         ` Stephen Berman
2023-09-18 11:28 ` Eli Zaretskii
2023-09-18 12:17   ` Stephen Berman
2023-12-07 10:28 ` Ramon Diaz-Uriarte
2023-12-09 15:12   ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-09 20:39     ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-10  5:32       ` Eli Zaretskii
2023-12-10 13:36         ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-10 15:02           ` Eli Zaretskii
2023-12-10 15:28             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-12-10 15:47               ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-11  0:43                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-11  9:55                   ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-11 10:16                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-10 15:49               ` Eli Zaretskii
2023-12-11 21:03           ` Ramon Diaz-Uriarte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s0dil56yt41.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=66068@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=rdiaz02@gmail.com \
    --cc=stephen.berman@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).