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

On Sun, 10 Dec 2023 23:28:30 +0800 Po Lu <luangruo@yahoo.com> wrote:

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

Nothing to merge, it was this very bug:
https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-09/msg02680.html

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

But again, xwidget-webkit-browse-url does work with -q -xrm
"emacs.synchronous: true" but only when running emacs under gdb.  So if
someone can figure out why and how, I'd think it must be possible to get
it to work when running emacs by itself.

Steve Berman





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

Thread overview: 39+ 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
2023-12-10 15:47               ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
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
2024-09-04 11:23 ` Peter Oliver
2024-09-05  8:14   ` Eli Zaretskii
2024-09-07  9:32   ` Eli Zaretskii
2024-09-14  7:45     ` Eli Zaretskii
2024-09-14 12:11       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-14 14:21         ` Stefan Kangas
2024-09-21  9:01         ` Eli Zaretskii
2024-09-21 21:45 ` bug#66068: removing the WebKit when webkit2gtk3-2.42.5-1.el9.x86_64 will not alllow RL9 to configure Doug Maxey
2024-09-22  5:05   ` Eli Zaretskii
     [not found]     ` <db88e0b43b02580ee78171c3b0d55bcda6b2a458.camel@maxeygroup.tech>
2024-09-23 11:14       ` Eli Zaretskii

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=87jzpmxdnn.fsf@gmx.net \
    --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).